#### #### ## ## ## ## ##
## ## ## ## #### ### ## ####
### ## ## ## ## ## ## ### ## ##
## ## ## ## ###### ## ## ######
#### #### ###### ## ## ## ## ## ##
##
Public, no invite. Run SQL over finalized Solana mainnet blocks. Each result ships with a SHA-256 receipt you can re-check.
[1] Write a query. A useful subset: SELECT, WHERE, GROUP BY, ORDER BY, LIMIT, and aggregates.
[2] sqlana fetches the latest N finalized slots and runs the query in your browser.
[3] Verify re-fetches those same slots from two other RPCs and recomputes the hash. Hash only, not a zk proof.
receipts
your receipts
Stored only in this browser. A receipt is small: the query, the slots, the blockhashes and two hashes. Anyone can verify one from a link.
verify
check a receipt
Paste a receipt (JSON) or a verify link. sqlana re-fetches every block from two RPCs other than the one that produced it, recomputes the result locally and compares hashes.
Tamper test changes one value in a copy of the receipt, then verifies it, so you can see a mismatch is reported.
method
what a receipt proves, and what it does not
how a query runs
sqlana asks one RPC for the latest finalized slot, then fetches the last N finalized blocks. Each block is reduced to a fixed view: signature, fee, success, compute units, program ids, fee payer and decoded System Program and SPL Token transfers (top-level and inner). Your SQL runs in your browser over that view.
what is in a receipt
- The exact query text and its normalized form.
- The slot range and the blockhash of every block scanned (skipped slots are recorded as skipped).
- A data hash: SHA-256 over the canonical block view.
- A result hash: SHA-256 over the normalized query and the canonical result rows.
what verify does
It re-fetches the same slots from two RPCs different from the one that produced the receipt, compares each blockhash, rebuilds the block view, recomputes the data hash, re-runs the query locally and recomputes the result hash. Each step reports match or mismatch.
it proves
- The returned rows are exactly what this query produces over the blocks that were fetched and hashed.
- Independent RPCs returned the same blockhash for each slot, and the same block view.
- The receipt has not been edited since it was made.
it does not prove
- It is not a zero-knowledge proof of the chain or of the query.
- It does not verify validator votes or consensus. If every RPC you reach lied the same way, Verify would not notice.
- RPC agreement is a cross-check, not a proof. Blockhashes are cross-checked, not derived from signatures.
- Blocks are reduced to a view by sqlana's server before hashing; the decoding is deterministic but you are trusting it.
the quantum note
The receipt is a SHA-256 hash, not an elliptic-curve signature, so nothing in it depends on a key that a quantum computer could break. That is all. sqlana does not make Solana quantum-proof, and Solana's own transaction signatures are unchanged.
practical limits
- Scans cover the most recent 4 to 32 finalized slots, roughly 2 to 13 seconds of chain time. This is a live window, not an indexed history and not an epoch. Results are capped at 500 rows.
- Only finalized data is used, so a receipt can be re-verified later as long as the RPCs still serve those slots.
- Decoding covers System Program transfers and SPL Token / Token-2022 transfers (transfer and transferChecked). Other programs are identified by program id and name only; their instruction data is not decoded.
- Not affiliated with sqlana.xyz. Independent project.