Spring
WhitepaperGitHubLaunch app

Docs / How it works

Accounts, pools and transfers

Spring runs one shielded pool per asset, keeps every note recoverable from a single account key, and lets value move between people without leaving a pool.

One account, nothing to save

A Spring account is one 32-byte seed. With a wallet, the seed comes from signing a fixed message; an ed25519 signature is the same every time, so the same wallet gets the same account on any device. On the paper desk the seed lives in the browser.

Every note's keys come from that seed: deposit keys from the pool's scope and a counter, change keys from the note they replace, and receive keys from a second counter. To find its notes, the app reads public pool data only:

  1. Deposits and transfer outputs whose precommitment matches a derived one.
  2. For each of those, the spend with its nullifier hash, if any, and the change note that spend left.
  3. Repeat until a note is unspent or fully gone.

Notes can still be exported as text, and a pasted note works anywhere a picked one does.

Pools

PoolAssetAddress
SOLSolanaPDA ["pool"]
USDCUSD Coin, SPL TokenPDA ["pool", mint]
jitoSOLJito staked SOLPDA ["pool", mint]

Each pool has its own state tree, its own scope and its own crowd. A proof built for one pool fails in every other, and the association set provider publishes one set that covers labels from all of them.

Private transfers

A transfer spends your note like a withdrawal, but the pool writes a new note for the recipient instead of paying anything out. Only the relayer fee leaves. On chain it looks like any other spend from the pool.

The recipient gives you a receive code: the pool, an owner key, and a precommitment whose preimage only they know. The proof binds all three, so nobody in between can redirect the payment. The recipient's note gets a label built from their own key, so they can ragequit it themselves.

A receive code takes one payment. Two payments to the same code would give two notes with the same keys, and only the first could ever be spent, so the app and the relayer both refuse a code the pool has already paid, and the recipient's account shows a fresh code once a payment lands.

Only notes inside the approved set can be sent. Money that the set leaves out cannot be passed along inside the pool; its only exit is ragequit, in the open.

Yield

jitoSOL is Jito's liquid-staking token: each epoch it is worth a little more SOL. A note in the jitoSOL pool holds jitoSOL, so its SOL value grows while it waits, with no lending or extra contract involved. The desk shows Jito's published APY and the current SOL value per jitoSOL, both read live.