◇ Data flow · the custody boundary
How it's wired.
A message enters at Telegram and only ever reaches the signer through an auth gate. The key sits on the far side of a boundary the chat layer cannot cross.
The pieces.
Telegram layer
Receives commands, routes them, suggests the closest command on a typo. Holds no keys and makes no signing decisions on its own.
The gate
Allowlist, Argon2 credentials, session state, and single-use OTP replay tracking. Every fund-moving path passes through here first.
Watcher & Jupiter
The token watcher spots incoming SPL across child accounts; the swap module routes to SOL through Jupiter with slippage and price-impact gates.
Splitter
Parses /send input, resolves aliases against a fixed contacts file or a literal address, validates, and builds one atomic multi-recipient transaction.
Signer boundary
One interface, swappable backend: local AES-256-GCM keystore, KMS, or custody. The rest of the app asks it to sign — it never sees the raw key.
Ledger
Append-only, hash-chained log of every attempt. verifyAuditChain() re-walks the chain to prove nothing was edited.
One command's path.
/send parsed into amounts + destinations. LLM parsing (optional) can only map to a known alias or literal address.src/split/parser