-
Notifications
You must be signed in to change notification settings - Fork 0
PROTOCOL
krewdev edited this page Jul 17, 2026
·
1 revision
Mesh-native ledger for hold + spend over Meshtastic (or any low-bandwidth transport).
Source of truth for MESH balances is the mesh chain — internet is not required to spend.
- MESH base unit integer, 6 decimals
-
1_000_000base units =1.0 MESH
- Identities: ed25519 32-byte public keys
- Short id: first 8 bytes of
SHA-256(pubkey) - Tx/block signatures: ed25519
- Hashes: SHA-256 (air headers may use 16-byte truncations)
| Type | Signer | Effect |
|---|---|---|
Transfer |
Sender | Debit from, credit to, bump sender nonce |
Register |
New user | Bind short id ↔ pubkey |
Mint |
Authorized minter | Credit to, increase supply (bridge on-ramp) |
Burn |
Holder | Debit from, decrease supply (bridge off-ramp) |
-
nonce,fromshort id,toshort id,amount - Signer pubkey must hash to
from
-
nonce(minter account),to,amount,external_ref[16] - optional
to_pubkey— if recipient unknown, creates the account (must hash toto) -
external_ref= truncated hash of Solana deposit tx (or vault event); unique on-chain - Only keys in genesis
minters∪ validators
-
nonce,from,amount,redeem_hint[32] -
redeem_hintcarries destination info for the bridge (e.g. Solana pubkey hash) - Mesh does not verify Solana; bridge watches final burns
- At most 16 txs per block (
MAX_TXS_PER_BLOCK) -
tx_root= SHA-256-trunc16 of concatenated 32-byte txids (empty → zeros) - Header: height, prev_hash, slot_time, producer_index, producer, tx_count, tx_root
- Producer signs header
- Round-robin leader:
height % N_validators -
Finality: ≥
ceil(2N/3)signed validator BlockAcks - Producer header signature counts as that validator’s ACK
- Catch-up: finalized blocks archived and served via
BlocksRequest/BlocksResponse - Genesis field
protocol_version(currently1) advertised in gossip Hello
- Each block with
height > 0mintsblock_rewardto producer (inflation)
- TCP gossip — multi-tx blocks, catch-up, public seed finality
-
Meshtastic air —
MCframes: Tx (1), Tip (7), BlockHint (8), ≤1-tx Block (2); see MESHTASTIC.md - Max air payload 200B; FRAG for PQ / large envelopes
- Sim transport = in-process memory (lab)