Hidden1

One run, taken apart

What does the chain see when a holder runs Jupiter, Kamino Lend or Jito from a private balance?

  1. 01

    Proof

    Before anything is sent, a proof binds the run: the authority identity, the calls (a hash of each hook record and of its call data, up to two hooks, in order), the amount in, the minimum out, the output owner, the earliest time and the expiry. The program recomputes every one of these on chain. A proof made for any other value is refused with 6010 and nothing moves.

    Public after this step Nothing yet

  2. 02

    Spend

    The program checks that the signer is a registered relayer (6022 otherwise) and that the clock is inside the window (6011, 6012). Then the shielded pool withdraws exactly the amount in from the holder's notes to the stage, signed by the program's authority PDA. The stage must hold exactly that much more afterwards.

    Public after this step The asset and amount in

  3. 03

    Call

    Each hook's instruction is called exactly as its record describes: the recorded program, the recorded first bytes of data, the recorded accounts, with the stage PDA signing. The hook is handed the stage and the stage's output account for this one run, and none of Hidden1's own accounts.

    Public after this step The hook and its program

  4. 04

    Check

    The program measures how much the stage's output account grew. The stage must still be a plain system account, its token accounts the stage's alone, and any route's middle account back where it started; otherwise the whole transaction fails and the notes stay unspent.

    Public after this step The asset and amount out

  5. 05

    Deposit

    The program checks what the holder receives against the minimum in the proof, then deposits it, with anything left over from the input, into a new note for the output owner. Below the minimum, the whole run fails (6017) and nothing moves. The stage ends at its base.

    Public after this step A new note, not its owner

The accounts in a run transaction

From program/src/instructions/run.rs. One key signs: the relayer. The holder's wallet is not an account in the transaction, and there is no field for it.

#AccountFlagsWhat it is
0relayersigner, writablea registered relayer key, pays the network cost
1configread only
2relayer_recordread onlythat key's registration
3stagewritablePDA ["stage"]: receives the withdrawal, signs the calls
4out_accountwritablethe last hook's output account
5relayer's accountwritablethe signing relayer's own account
6out_mintread onlythe output mint (system program for SOL)
7token_programread only(system program for SOL)
8out_spl_interfacewritablethe pool's vault for the output mint
9sol_interfacewritablethe pool's SOL vault
10system_programread only
11–14program vault accountswritableprogram vault accounts and their token accounts for the output mint
..one hook record per call, in call order
..the shielded pool's transact accounts, one withdrawal group last
..per call: the hook's accounts in record order (a record with per-run accounts: then that run's remaining accounts of the call, at most 64 in all), then its target program
–holder walletabsent

On mainnet

The latest House run on mainnet, run with house money and listed in the House run file: 4Ufku4Ta…rQSFNUAh, 2026-11-28 16:05 UTC. Checked here: a Hidden1 run signed by its relayer alone, 31 accounts. Open it on Solscan to see the same.

The same run in the docsRuns on chain