Technology
Four layers. Each with one job.
Apps sign, the mesh carries, vouchers prove and Solana settles. Messaging and signing work offline. Settlement waits for a connection.
Architecture
From phone to chain. And where each part stands.
LAYER 01
Mobile apps
PlannedWallet, payment flows, voucher signing and offline checks, local payment ledger, relay queue.
Swift (iOS), Kotlin (Android). A fork of BitChat.
LAYER 02
Mesh transport
PlannedPeer discovery, multi-hop relay, end-to-end encryption, store and forward.
Bluetooth Low Energy and the Noise Protocol, inherited from BitChat.
LAYER 03
Payment vouchers
Devnet227-byte signed payment instructions, plus shared test vectors for every implementation.
Borsh encoding with ed25519 signatures. TypeScript library today; Swift and Kotlin planned.
LAYER 04
Settlement program
DevnetOffline vaults, voucher redemption, replay protection, bonds, time-locked withdrawals.
Rust and Anchor 0.31 on Solana, with signatures checked by Solana's native ed25519 program.
Online only: the website, documentation and waitlist run on Next.js and Vercel.
Design decisions
Choices that shape what's possible offline.
Signed messages, not transactions. Offline phones can't fetch a recent blockhash, and durable nonces allow one pending transaction per account. Vouchers are messages, so a payer can have many outstanding and they settle in any order.
Vaults derived from the signing key. A vault's address is derived from the voucher signer and the token, so a merchant can check offline that a voucher's vault belongs to the key that signed it.
A replay window that allows any order. Each vault remembers its last 128 sequence numbers and their digests. That catches replays and double-spends while allowing vouchers to arrive out of order.
Domain-separated signatures. Every signed voucher starts with a prefix that can never begin a Solana transaction, so a voucher signature can't be reused as a transaction signature.
For developers
Build against it. Test it locally.
The voucher library and settlement program are tested end to end in LiteSVM, with shared test vectors checked by both TypeScript and Rust.
# build and test everything locally
npm install
npm run test:voucher
npm run build:program && npm run test:program
# program id (Solana devnet)
Fd2jLRwZreujtCDvaB4ryn4Ca6HBopia2kQf9axw8poo