Hidden1

Program

Which keys can do what, the most each can lose, and the keys a proof is checked against.

Read from chain 16:58 UTC

Program idE1PsJe…5f6kDg
Deployedyes, executable
Networkmainnet
Verifying keysphase 2, 1 contributor

Addresses by key role

RoleAddressThe most it can lose
ProgramE1PsJe…5f6kDgThe code that enforces every rule on this site. Native Solana program (no Anchor IDL); the instruction list below is from its source.
Upgrade authority3KEhUW…rK88s1Can replace the program's code. A replaced program could sign for the authority PDA without any of the run checks, so it could stop every run and leave, and spend co-owned notes for anyone who also holds those notes' nullifier secrets (each holder has their own; the Rings prover sees them per request). This is the key with the most power; who holds it, and whether it becomes a multisig or is removed, is the owner's decision.
Admin (config)3KEhUW…rK88s1Adds or removes relayers and changes program settings within limits fixed in the program; cannot register, edit or delete a hook record and cannot move notes. Worst case: by removing every relayer it stops all runs and relayed leaves until a relayer is added again.
Hook authors86yhWQ…VY1mCpAnyone can register a hook: the author's wallet signs and pays, and its key is stored in the record (error 6026 if the signer is not that key). A record cannot be edited or deleted. Worst case: a hook runs only for holders who choose it, the program still refuses forbidden targets and protected accounts (6005), and every run still has to leave the holder the minimum in the proof.
Vault key3KEhUW…rK88s1
and each hook's author
Can withdraw the program vault account; cannot move notes. Each hook's author key can withdraw that hook's vault account the same way. Worst case: the balance of that vault account; neither can touch notes, the stage or a run in progress.
Relayer keys2 registered, listSign and submit runs and leaves. Cannot change any value a proof binds (refused with 6010). Worst case: refuse to submit (any other registered relayer can land the same proof) and learn the timing of what they relay.
Authority PDAD7FTfq…fPePFWThe signing identity of every co-owned note. A program address with no private key; only the program can sign for it, and only after a run or leave proof verifies.
Stage PDA86yhWQ…VY1mCpReceives a run's input and signs the hook's call. A program address with no private key; holds only its rent-exempt base between runs.

House wallets and relayers

House runs use house money so the first rows on the site are real. These wallets are left out of every crowd count.

Registered relayers, read from chain:

Instructions

TagInstructionSigned byWhat it does
0init_configthe program's upgrade authority, onceCreates the config with the upgrade authority as admin and funds the stage to the base every run returns it to.
1register_hookthe hook's author (anyone; registration is permissionless)Writes one immutable hook record. There is no instruction that edits or closes a record; a changed hook is a new id. A record with per-run accounts pins the target, the instruction and the first accounts; each run supplies the rest, and the proof binds their addresses. Only targets the admin allows may have one.
2enterthe holder's walletA proofless deposit of SOL into a note co-owned by the authority PDA and the holder's nullifier key.
10enter_splthe holder's walletThe same proofless deposit as enter, for a token the pool has a vault for (USDC and others).
3runa registered relayer key; the holder's wallet is not an accountVerifies the proof, checks the time window, withdraws amount_in to the stage through the pool, calls each hook as the stage, measures the output and deposits it to a new note. If the new note would get less than min_out, the whole run fails.
4leavea registered relayer keyVerifies the leave proof and sends the bound amount from co-owned notes to the bound recipient.
5add_relayerthe adminAdds a key to the allowlist of keys that may land runs and leaves.
6remove_relayerthe adminRemoves a key from the allowlist.
11allow_dynamic_targetthe adminLets hooks for this program be registered with per-run accounts (Jupiter v6 in v1). Checked at registration only.
12remove_dynamic_targetthe adminCloses the allowlist entry; new hooks with per-run accounts for that program are refused from then on. Records already registered keep working.
7, 8, 9vault instructionsthe admin, a hook's author key, or the key the config namesThree instructions that change program settings within limits fixed in the program and withdraw the program vault accounts. They cannot touch a holder's notes or the stage.

Accounts and argument layouts for each are in the docs reference.

Circuit verifying keys and their setup

CircuitInputsKey SHA-256File SHA-256Setup
leave1d57633e361193c0a8bd9b260ba77b16112d3322b8370975c846fe06b5dffbe4fa0be5f308e5533cbf8507b0970d5670319a0aa39c41433d93fc11613eccb9507phase 2, 1 contributor
run1af089d65ae5c8269249df3c3f02eb961be52c997ebae26e716dd06941d2680871398e4e9d8418e59577ef5322d3eb2484abf277f23eb1504dfa81ccc30e9efd4phase 2, 1 contributor

Key SHA-256 is over every key byte in deploy/mainnet-zk/<circuit>.vk.rs, in file order (alpha, beta, gamma, delta, then IC). These keys come from a phase-2 setup with a single contribution, made by the Hidden1 developer from operating-system randomness that was not stored, on top of the public Perpetual Powers of Tau transcript (ppot_0080_14, 80 contributions). They are sound as long as that one contribution's randomness is gone, so you are trusting the developer for it. This is not a multi-party ceremony. The contribution record, the transcript's hash and the commands to check them (xark ceremony verify) are kept with the deployment; more contributors can be added later, and the program upgraded to their keys.

Refused test transactions

None yet.

Deliberately refused transactions (a forbidden account, an amount below the minimum, an expired run, another holder's proof) are listed here, one each, once the program is on mainnet.