A full walkthrough for developers new to Soroban: storage keys and why instance differs from persistent, typed events, capping reads, extending TTLs so instance storage is not archived, cross-contract calls, testing with mocked auth, deploying, and a React frontend that reads by simulation and writes through a wallet.
Verifying a Groth16 proof inside Soroban for ~26M CPU
On-chain ZK verification used to be a paper idea on Stellar. With Protocol 25/26 BN254 host functions and CAP-0075 Poseidon, a full Groth16 check — multi-pairing plus a public-input MSM — now fits in about a quarter of the per-transaction CPU budget. Here's how the verifier is structured and where the cost goes.
Deep-dive·
Why state-bound proofs beat naive policy checks
A proof that a payment is "under the limit" is worthless if the agent can lie about prior spend. Binding every proof to the on-chain Authority State turns the daily-limit check into something an agent cannot forge — the difference between an over-spend being blocked and a treasury being drained.
Release·
On-chain Poseidon receipts (CAP-0075)
Every settled action now carries an action_id computed on-chain with the host Poseidon, over the verified amount, recipient, nullifier, and new spend. The receipt id is a fact the chain attests to, not a claim the agent makes.