Give it any Solana wallet address, get a bank-grade statement back.
ChainStatement is a local-first, read-only desktop app for Solana. Point it at a wallet address and it turns the on-chain history into a proper bank statement: plain-English ledger entries, running balances derived from the ledger itself, monthly statement periods with open and close balances, and export to CSV, JSON, or printable HTML. Every row links its on-chain receipt, so any entry can be verified independently against the chain.
Built with Tauri v2: Rust backend, React frontend.
Wallets don't have bank statements. Block explorers show raw transactions one at a time, with signatures, relative timestamps, no running balance, no periods, and nothing you would hand to an accountant. ChainStatement is the missing statement.
The same wallet, both views. A raw explorer dump versus a statement:
| Raw explorer (Solscan) | ChainStatement |
|---|---|
![]() |
![]() |
Explorer rows are one-at-a-time transaction records: signatures, relative timestamps, no running balance, no periods. The statement derives open and close balances from the ledger itself, groups rows into monthly periods, and keeps every row receipt-linked. The explorer answers "what happened". The statement answers "where did it leave me".
- Derived balances, not snapshots. Open balance, per-row running balances, and close balances are all computed from the decoded transfers in each transaction, the way a bank core computes a statement from its books. The only point-in-time read is the current balance shown in the header, because a partial window cannot derive it, and the UI labels it as such.
- Monthly statement periods, with period tabs, transaction counts, and open/close balances per period.
- Receipts over vibes. Every row carries its signature, slot, and the decoded fields it rests on. Anything the decoder cannot classify renders as an honest Unclassified line. Nothing is silently dropped, and there are no black-box scores.
- One-click export of any period to CSV, JSON, or a standalone
printable HTML document, written to
Documents/ChainStatement/. - Demo modes with zero setup. Two embedded statement snapshots, a synthetic devnet fixture and a live-captured mainnet sample, render instantly with no API key and no network calls. Demo data is always visibly labeled with a badge, a provenance line, and a snapshot date.
A bank doesn't snapshot your balance; it computes your statement from its books. ChainStatement works the same way. The statement is a computation over receipts, meaning the decoded transfers in each transaction, never a series of point-in-time balance calls. Given the rows, anyone can replay the running balances end to end.
One honest consequence: on a windowed fetch, for example the last 90 days,
the true balance before the window is unobserved. The first period's
running balances therefore start from zero and can read negative until the
ledger catches up. Full history is available as an explicit opt-in, and
the statement schema carries an open_balance_partial flag that surfaces
the caveat.
- The Rust backend owns all chain I/O, through Helius: Enhanced
Transactions for batch decode,
getTransactionsForAddressfor paginated history, and DAS for token metadata. Theprovidermodule is the only RPC boundary, and the frontend never talks to an endpoint directly. - Strictly non-custodial and read-only. The input surface is exactly
one public wallet address plus optional period filters. Only whitelisted
read-only methods are used. There is no
sendTransaction, no signing path, no generic JSON-RPC passthrough, and no key material anywhere in the app. - Metered-endpoint discipline. Decode is billed per transaction, so decoded transactions and token metadata are cached on disk, keyed by signature and mint. Chain data is immutable, so a cache entry never goes stale. The default fetch window is the last 90 days; full history is an explicit opt-in.
- Honest rows. Unknown on-chain activity renders as an unclassified line rather than being dropped.
- Deterministic demos. The demo snapshots are generated artifacts,
committed to the repo under
src-tauri/demo-fixtures/(regenerate withcargo test --test demo_fixtures -- --include-ignored) and embedded in the binary. A demo never touches the network.
More detail in docs/architecture.md and
docs/helius.md.
cp .env.example .env # 1. add your Helius API key to .env
npm install # 2. install frontend deps
npm run tauri dev # 3. run the desktop appGet a free Helius API key at helius.dev, or skip the key entirely and click either demo button on the first screen.
npm run build # frontend type-check + bundle
cargo check # backend diagnostics (run inside src-tauri/)
cargo test # unit + fixture-driven integration tests
# (live mainnet tests are #[ignore] — see below)Live integration tests hit the real API and are opt-in:
cargo test -- --include-ignored # needs HELIUS_API_KEY in .envsrc-tauri/src/
provider/ the ONLY Helius boundary (history, decode, DAS, cache)
ledger/ normalization + derived running balances
statement/ monthly periods + csv/json/html export
demo.rs embedded demo snapshots (load_demo)
commands/ Tauri IPC endpoints (read-oriented)
src-tauri/demo-fixtures/ generated demo bundles (see NOTICE.md there)
test-fixtures/ captured live API payloads + the normalization
shape corpus that drives the ledger test suite
docs/ curated docs + screenshots
v0.1.0. Statement generation, the bank-portal UI, export, demo modes, statement diff between periods, a watchlist with local-first alerts, and Privacy Rings viewing-key support are all in, covered by a fixture-driven test suite and verified against mainnet.
Early software. Verify important rows against the chain before relying on them.


