Shared schema
A schema describes which fields a record contains. Telegraph uses it to generate readers for Rust and C, so different programs follow the same definition.
Telegraph is Tondi’s canonical serialisation format, inspired by Molecule and designed for compact transactions and efficient RISC-V contract access.
TondiKey on Chrome and Android supports end-to-end encrypted handoff of signing requests and results. Websites can request native on-chain actions, including DAO governance, for users to review and approve in the wallet.
Explore the exampleA small encoding example, rather than a real balance or transaction.
The first 4 bytes identify this as a basic Note, without extra app data.
A schema describes which fields a record contains. Telegraph uses it to generate readers for Rust and C, so different programs follow the same definition.
The reader checks sizes, field order and record types. It rejects incomplete, ambiguous or extra data instead of guessing what the sender meant.
Asset amounts must not be rounded by accident. When data is shown as JSON, large amounts are written as exact decimal text.
Define the contents of asset records, app requests, proposed changes and scheduled-task data. This definition is called a schema.
Encode each record into a single agreed byte format. Saved examples let developers check that their readers agree.
The network, contract programs and app integration tools use matching readers, even when written in different programming languages.
Telegraph validates data structure. Tondi VM and ledger rules verify permissions, asset accounting and the changes that may be committed.
Explore Tondi VM