This page talks to the actual deployed program. Every button below builds a
transaction, signs it, and sends it to a validator. The share numbers you see come from
decoding the vault account's bytes, not from anything this page made up.
This is the only page on the site that touches a chain.
Everywhere else — Start a vault, Trade,
a vault page — is the simulated prototype: the wallet is fake, the pools are
fake, and a vault you create there lives in your browser's storage only. The header on those pages shows
an amber demo chip for that reason. There is no wallet chip on this page because
it signs with burner keys generated below.
This is a throwaway test validator and the SOL is fake.
The vault trades through testamm — a minimal constant-product AMM written for
this, because a local validator has no Raydium or PumpSwap on it. The venue is ours; the vault's
side of it is real: the leader authorises, the vault PDA signs the swap, and the program asserts
the balances afterwards. Pointing it at a production AMM is a change to the CPI call and the
allowlist, not to any of the custody logic.
The spec it implements →
Does it work here?
checking…
Every line has to tick. If one does not, that line is the
problem — tell me which and I can fix it.
Chain
checking…
Your vault
these go on chain
20%
At creation this is the entire vault. You are the only holder, you own 100% of it,
and the share price is 1.0000 by definition.
Later, a depositor joins
a separate transaction
Nobody else is in the vault when it is created. This is what
Alice does afterwards, in her own transaction, signed by her own key.
Optional, written to her own position by her own signature, and she can change or
clear it whenever she likes. It proves nothing — nothing
checks that the handle is hers, and no instruction reads it. It is a label for a leader who already
knows their depositors, not an identity.
Run it
Would rather drive it yourself? The
trading desk is the same program with a
front end instead of a script: pick your own size, watch the quote and the price impact
move, and buy and sell against the pool by hand. It picks up the wallet and vault from
this page.