Docs
Hidden1 lets you use Solana programs you already use, Jupiter, Kamino Lend and Jito, from a private balance on Solana Privacy Rings. One run is one Solana transaction, signed by a relayer, and your wallet is not in it.
MainnetProgram E1PsJeFsCmHhnU3pj39eKfZGeGwk5RFEkiTabn5f6kDg, read from chain at 16:58 UTC.
01Concepts
Notes and the private balance
A note is a private record of an amount you own in the Rings shielded pool. Hidden1's notes are co-owned: the program's authority PDA is their signing identity and your key is their nullifier key, so spending one needs the program and a secret only you hold. Runs spend notes and create new ones. You find your notes again on any device by signing one message with your wallet; every key is derived from that signature.
The stage
The stage is an account the Hidden1 program owns. During a run it receives the amount you spend, calls the protocol as the signer, and is measured afterwards. Between runs it holds only its rent-exempt base.
Hooks
A hook is a public on-chain record of one instruction of an existing program: which program, the first bytes of its instruction data, its accounts with the stage in place of yours, and the account where the output lands. A registered hook cannot be edited; a new version is a new hook id.
Relayers
A relayer signs and submits runs and leaves, so your wallet is not in the transaction. Only keys registered with the program can land a run. Any registered relayer can land any proof, so a run is not stuck behind one relayer. Today the admin keeps the list; listing by locking $HIDD is Next.
Seats
Some positions outlive a transaction: a Kamino loan is one. Holding such positions for a holder without tying them to a wallet is Next; the planned seat hooks are listed with the catalog below.
02A run, step by step
| Stop | What happens | Where | Public |
|---|---|---|---|
| 01 Enter | Your wallet signs once to move SOL or a token into a co-owned note. First the wallet is checked against the OFAC SDN list of Solana addresses (the daily list 0xB10C publishes on GitHub, ofac-sanctioned-digital-currency-addresses); a listed wallet is refused, and so is every enter from a wallet while the list cannot be loaded. | On chain | The entering wallet and amount |
| 02 Find notes | You sign one message. The app derives your keys from the signature and finds your notes. | Your browser | Nothing |
| 03 Prove | A proof fixes your notes, the calls, the amount in, the minimum out, the output owner and a time window. The Rings prover makes the pool's part. | Browser and Rings prover | Nothing on chain yet |
| 04 Relay | A registered relayer signs and submits the transaction. | Relayer | The relayer |
| 05 Stage | The program verifies the proof and the window, withdraws the amount from your notes to the stage, and calls the hook's instruction as the stage. | On chain | Hook, asset and amount in |
| 06 Check | The program measures what came back and checks the stage and its accounts are back where they started; if not, the whole transaction fails and the notes stay unspent. | On chain | Asset and amount out |
| 07 New note | The program checks what the holder receives against the minimum in the proof, then deposits it into a new note. Below the minimum, the whole transaction fails. | On chain | A new note, not its owner |
| 08 Leave | A leave proof sends a bound amount to an address you choose, through a relayer. | On chain | The receiving address and amount |
The How a run works page takes one run apart with the accounts it carries.
03What the chain shows
| For a run, the chain shows | It does not show |
|---|---|
| The hook record or records called | Who ran it |
| The asset and amount in | What they hold |
| The asset and amount out | Which wallet entered the notes it spent |
| The relayer that signed it | A holder field: there is none |
Entering and leaving are public: the wallet that enters is visible at entry, and the address that receives is visible at leave. Amounts are public too. That is why the trail check exists.
What the program enforces
| Rule | Enforced by |
|---|---|
| A run moves nothing unless its proof verifies for exactly these inputs | The program (error 6010 otherwise) |
| A run lands only inside its earliest time and expiry | The program (6011, 6012) |
| A new note below the minimum the proof fixed fails the whole transaction | The program (6017) |
| Only a registered relayer key can land a run or a leave | The program (6022) |
| A hook cannot target Hidden1, the shielded pool, the system program or a token program | The program (6005) |
| A hook record cannot be edited: no instruction changes one | The program |
| Your wallet signs only to enter | The transaction layout |
| The trail check | Not enforced: it runs in the app, in your browser, and only advises |
04Hooks
Each record is a program account at the PDA ["hook", hook_id], 959 bytes. It is written once by register_hook, which anyone can send: the author's wallet signs and pays, and its key is stored in the record. Protocol teams can draft one from their IDL on For protocols.
Hook record format
| Offset | Size | Field | Meaning |
|---|---|---|---|
| 0 | 1 | discriminator | 2 for a hook record |
| 1 | 1 | bump | the record PDA's bump |
| 2 | 2 | hook_id | u16, little endian; the PDA seed |
| 4 | 32 | target_program | the program the hook calls |
| 36 | 32 | out_mint | the output mint; all zero for SOL |
| 68 | 32 | out_account | the stage's account the run measures |
| 100 | 32 | author | the hook author's key; all zero for none |
| 132 | 1 | prefix_len | bytes of data_prefix in use, at most 8 |
| 133 | 8 | data_prefix | the call data must start with these bytes (the instruction's discriminator) |
| 141 | 1 | account_count | accounts in use, at most 24 |
| 142 | 24 x 34 | accounts | per account: role (0 fixed address, 1 the stage, 2 the stage's output account), writable, address (zero for stage roles) |
| 958 | 1 | flags | program steps around the call: 1 wrap the stage's SOL before it, 2 unwrap the stage's wrapped SOL after the calls |
The run proof binds the SHA-256 of the whole record, so a proof never runs against a record it did not see.
The catalog
| Hook | Kind | Instruction | Status |
|---|---|---|---|
| jito/stake | flow | DepositSol | Registered, #1 |
| jito/unstake | flow | WithdrawSol | Registered, #2 |
| kamino/supply | flow | deposit_reserve_liquidity | Registered, #3 |
| kamino/withdraw | flow | redeem_reserve_collateral | Registered, #4 |
| kamino/supply | flow | deposit_reserve_liquidity | Registered, #5 |
| kamino/withdraw | flow | redeem_reserve_collateral | Registered, #6 |
| jupiter/swap | flow | route | Registered, #7 |
| kamino/collateral-deposit | seat | deposit_reserve_liquidity_and_obligation_collateral_v2 | Next |
| kamino/borrow | seat | borrow_obligation_liquidity_v2 | Next |
| kamino/repay | seat | repay_obligation_liquidity_v2 | Next |
| kamino/collateral-withdraw | seat | withdraw_obligation_collateral_and_redeem_reserve_collateral_v2 | Next |
| jupiter/swap+jito/stake | route | route then DepositSol | Next |
| jupiter-lend/supply | flow | unverified (no on-chain IDL) | Next |
| jupiter-lend/withdraw | flow | unverified (no on-chain IDL) | Next |
| marinade/stake | flow | deposit | Next |
| marinade/unstake | flow | liquid_unstake | Next |
Read from the registry on chain at 16:58 UTC. Every launch hook is run once with house money and labeled House on Runs.
05Reference
Program instructions and accounts
The first byte of instruction data is the tag; arguments follow in wincode encoding (little-endian integers, a u64 length before each vector). Accounts are listed in order, from the program source.
0 init_config signed by the program's upgrade authority, once
Creates the config with the upgrade authority as admin and funds the stage to the base every run returns it to.
| # | Account | Flags | What it is |
|---|---|---|---|
| 0 | admin | signer, writable | must be the upgrade authority named in ProgramData |
| 1 | config | writable | PDA ["config"], created here |
| 2 | stage | writable | PDA ["stage"], funded to its rent-exempt base |
| 3 | system_program | ||
| 4 | program_data | this program's loader ProgramData | |
| 5 | program vault account | writable | a program vault account, funded to its rent-exempt base |
Data: none
1 register_hook signed by the 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.
| # | Account | Flags | What it is |
|---|---|---|---|
| 0 | author | signer, writable | pays rent; must equal the author in the arguments (error 6026 otherwise) |
| 1 | config | ||
| 2 | hook | writable | PDA ["hook", id as u16 LE], created here |
| 3 | out_account | the stage's output account the run measures | |
| 4 | system_program | ||
| 5 | program vault account | writable | this hook's program vault account, funded to its rent-exempt base |
| 6 | dynamic_record | only for a record with per-run accounts: the target's allowlist entry, PDA ["dynamic", target] |
Data: hook_id u16, target_program, out_mint, out_account, author, data_prefix (up to 8 bytes), accounts (up to 24 of role, writable, address), flags u8 (1 wrap SOL before the call, 2 unwrap after, 4 per-run accounts)
2 enter signed by the holder's wallet
A proofless deposit of SOL into a note co-owned by the authority PDA and the holder's nullifier key.
| # | Account | Flags | What it is |
|---|---|---|---|
| 0 | depositor | signer, writable | the holder's wallet: public at entry |
| 1 | config | ||
| 2 | tree | writable | the shielded pool's state tree |
| 3 | spp_program | Solana Privacy Rings | |
| 4 | system_program | ||
| 5 | sol_interface | writable | the pool's SOL vault |
Data: amount u64 (lamports), nullifier_pubkey [32]
10 enter_spl signed by the holder's wallet
The same proofless deposit as enter, for a token the pool has a vault for (USDC and others).
| # | Account | Flags | What it is |
|---|---|---|---|
| 0 | depositor | signer, writable | the holder's wallet: public at entry |
| 1 | config | ||
| 2 | tree | writable | the shielded pool's state tree |
| 3 | spp_program | Solana Privacy Rings | |
| 4 | token_program | ||
| 5 | mint | the token entered | |
| 6 | depositor_token | writable | the wallet's token account of the mint |
| 7 | spl_interface | writable | the pool's vault for the mint |
Data: amount u64 (base units), nullifier_pubkey [32], spl_interface_bump u8
3 run signed by a registered relayer key; the holder's wallet is not an account
Verifies 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.
| # | Account | Flags | What it is |
|---|---|---|---|
| 0 | relayer | signer, writable | a registered relayer key, pays the network cost |
| 1 | config | ||
| 2 | relayer_record | that key's registration | |
| 3 | stage | writable | PDA ["stage"]: receives the withdrawal, signs the calls |
| 4 | out_account | writable | the last hook's output account |
| 5 | relayer's account | writable | the signing relayer's own account |
| 6 | out_mint | the output mint (system program for SOL) | |
| 7 | token_program | (system program for SOL) | |
| 8 | out_spl_interface | writable | the pool's vault for the output mint |
| 9 | sol_interface | writable | the pool's SOL vault |
| 10 | system_program | ||
| 11–14 | program vault accounts | writable | program 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 | ||
Data: proof (128 bytes), amount_in, min_out, output_owner [32], a relayer value (u64), earliest, expiry, out_spl_interface_bump, spp_accounts, calls (call data per hook), then the pool's transact data
4 leave signed by a registered relayer key
Verifies the leave proof and sends the bound amount from co-owned notes to the bound recipient.
| # | Account | Flags | What it is |
|---|---|---|---|
| 0 | relayer | signer, writable | a registered relayer key |
| 1 | config | ||
| 2 | relayer_record | that key's registration | |
| 3 | stage | writable | |
| 4 | recipient | writable | public: a SOL account or a token account of the notes' mint |
| 5 | relayer's account | writable | the signing relayer's own account |
| 6 | mint | (system program for SOL) | |
| 7 | token_program | (system program for SOL) | |
| 8 | system_program | ||
| .. | the shielded pool's transact accounts, one withdrawal group last | ||
Data: proof (128 bytes), amount, a relayer value (u64), earliest, expiry, to_rings u8 (0 a public account, 1 the holder's own Rings balance), rings_owner [32], rings_view_tag [32], then the pool's transact data
5 add_relayer signed by the admin
Adds a key to the allowlist of keys that may land runs and leaves.
| # | Account | Flags | What it is |
|---|---|---|---|
| 0 | admin | signer, writable | |
| 1 | config | ||
| 2 | relayer_record | writable | PDA ["relayer", key], created here |
| 3 | system_program |
Data: the relayer key [32]
6 remove_relayer signed by the admin
Removes a key from the allowlist.
| # | Account | Flags | What it is |
|---|---|---|---|
| 0 | admin | signer, writable | receives the record's rent |
| 1 | config | ||
| 2 | relayer_record | writable | closed here |
Data: the relayer key [32]
11 allow_dynamic_target signed by the admin
Lets hooks for this program be registered with per-run accounts (Jupiter v6 in v1). Checked at registration only.
| # | Account | Flags | What it is |
|---|---|---|---|
| 0 | admin | signer, writable | pays rent |
| 1 | config | ||
| 2 | dynamic_record | writable | PDA ["dynamic", program], created here |
| 3 | system_program |
Data: the target program [32]
12 remove_dynamic_target signed by the admin
Closes the allowlist entry; new hooks with per-run accounts for that program are refused from then on. Records already registered keep working.
| # | Account | Flags | What it is |
|---|---|---|---|
| 0 | admin | signer, writable | receives the entry's rent |
| 1 | config | ||
| 2 | dynamic_record | writable | closed here |
Data: the target program [32]
7, 8, 9 vault instructions signed by the admin, a hook's author key, or the key the config names
Three 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.
API
The same numbers this site shows, as JSON. Every response carries its read times; nothing is sample data.
| Endpoint | Returns |
|---|---|
| GET /api/health | RPC slot and latency, program deployed (read from chain), token launched (read from chain), indexer slot, prover, Photon and relayer reachability, last House run. |
| GET /api/hooks | Hook records read from the registry on chain, matched to the catalog, and the planned hooks not registered yet. |
| GET /api/hooks/:id | One hook by catalog id (for example jito/stake) or on-chain id, with its record and runs. |
| GET /api/runs | Runs as the chain shows them: hook, asset and amount in and out, time, relayer, signature. No holder field exists. |
| GET /api/crowd | Distinct wallets that entered in 7 and 30 days, runs in 24 hours, House left out. |
| GET /api/relayers?address= | Registered relayers with runs landed and attempted; with an address, whether it is registered. |
| GET /api/program | Program id, deployed state, upgrade authority, config, PDAs, verifying key hashes. |
| GET /api/market | The Rings network's hourly transaction counts and other public reads, each with source and read time. |
| GET /api/token | The token read from its mint address: chain facts, curve and lock schedule, market, holders. Not launched when no mint is set. |
| GET /api/idl/:program | A program's Anchor IDL read from chain: its instructions. |
| GET /api/idl/:program/:instruction | A hook draft for one instruction: arguments with sizes and roles, accounts with roles, lints. |
Addresses
| What | Address |
|---|---|
| Hidden1 program | E1PsJeFsCmHhnU3pj39eKfZGeGwk5RFEkiTabn5f6kDg |
Config PDA ["config"] | Dvn5VeYyP7MMNeSbhk1W5AUYystDpqc4CDExnWoVdhz1 |
Authority PDA ["authority"] | D7FTfq4fpiZuESZiSTk5iSqxA9Tu7bQkKC8c5KfPePFW |
Stage PDA ["stage"] | 86yhWQNr5fsXwUPMj5ZDQgGpzbEpCbMCC2mMAWVY1mCp |
| Solana Privacy Rings | ring1GaLCuJnkUMVkX2JeZLTTX17wKsV4fZmPVzXANW |
06Recount the crowd
The numbers on Crowd come from public RPC calls anyone can make. Notes are not counted: change, padding outputs and House notes would inflate them. What is counted:
- Wallets that entered: distinct first accounts of successful
enterinstructions (tag 2) in the last 7 and 30 days, minus the House wallets listed on Program. - Runs in 24 hours: successful
runinstructions (tag 3), minus the signatures marked House on Runs.
1. List the program's transactions, newest first. Repeat with "before": "<last signature>" to page back.
curl -s https://api.mainnet-beta.solana.com -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"getSignaturesForAddress","params":["E1PsJeFsCmHhnU3pj39eKfZGeGwk5RFEkiTabn5f6kDg",{"limit":1000}]}'2. Read each one. Hidden1 transactions are version 1 messages, so ask for version 1.
curl -s https://api.mainnet-beta.solana.com -H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"getTransaction","params":["<SIGNATURE>",{"encoding":"jsonParsed","maxSupportedTransactionVersion":1}]}'3. In each, take the instructions whose programId is the Hidden1 program. Their data is base58; the first byte is the tag. For tag 2 the first account is the wallet that entered. The script below does all three steps.
// recount.mjs: node recount.mjs (Node 18 or later, no packages)
const RPC = "https://api.mainnet-beta.solana.com";
const PROGRAM = "E1PsJeFsCmHhnU3pj39eKfZGeGwk5RFEkiTabn5f6kDg";
const HOUSE = new Set(["A5JmYevS9uQx6C2zq6v1ntDTktDSffbjtVF1XMT2Vi67","3TzY7Q9FMNrwkCZCfsab6BEidBdpyAaiZbXjuHALrrYC"]); // House wallets, listed on /program
const A = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
const firstByte = (b58) => { let n = 0n; for (const c of b58) n = n * 58n + BigInt(A.indexOf(c));
let hex = n.toString(16); if (hex.length % 2) hex = "0" + hex; const lead = b58.match(/^1*/)[0].length;
return lead ? 0 : parseInt(hex.slice(0, 2), 16); };
const rpc = async (method, params) => (await (await fetch(RPC, { method: "POST",
headers: { "content-type": "application/json" }, body: JSON.stringify({ jsonrpc: "2.0", id: 1, method, params }) })).json()).result;
const now = Date.now() / 1000, wallets7 = new Set(), wallets30 = new Set(); let runs24 = 0, before;
for (;;) {
const page = await rpc("getSignaturesForAddress", [PROGRAM, { limit: 1000, ...(before && { before }) }]);
for (const s of page) {
if (s.err || !s.blockTime || now - s.blockTime > 30 * 86400) continue;
const tx = await rpc("getTransaction", [s.signature, { encoding: "jsonParsed", maxSupportedTransactionVersion: 1 }]);
for (const ix of tx.transaction.message.instructions) {
if (ix.programId !== PROGRAM) continue;
const tag = firstByte(ix.data);
if (tag === 2 && !HOUSE.has(ix.accounts[0])) { wallets30.add(ix.accounts[0]); if (now - s.blockTime <= 7 * 86400) wallets7.add(ix.accounts[0]); }
if (tag === 3 && now - s.blockTime <= 86400) runs24++; // subtract the House runs listed on /runs
}
await new Promise((r) => setTimeout(r, 250)); // the public RPC rate-limits
}
if (page.length < 1000 || now - page[page.length - 1].blockTime > 30 * 86400) break;
before = page[page.length - 1].signature;
}
console.log({ wallets7d: wallets7.size, wallets30d: wallets30.size, runs24h: runs24 });07The trail check
Amounts are public. If you enter 7.3 SOL and run 7.3 SOL a minute later, anyone can link the two. The trail check is part of the app (its rules are below). It compares a planned run or leave with your own entries, runs and leaves, in your browser, and suggests changes: split, round, wait, or route through another asset. Nothing it compares is sent to a server.
| Check | Flags a run when |
|---|---|
| same amount | The amount is within 0.5% of one of your entries or outputs in the last 30 days. |
| amounts that add up | The amount is within 0.5% of two or more of your amounts added together. |
| close timing | It lands within 10 minutes (very close) or 2 hours (close) of the matching event, weighed by how many other runs land in a window that size. |
| small crowd | Fewer than 20 distinct wallets entered in the last 7 days. |
| rare hook | Fewer than 5 runs of the same hook in the last 24 hours. |
What it cannot stop
- Off-chain data: an exchange that knows your withdrawal, a payment processor, an accountant's records.
- Exchange records of the wallet you enter from or the address you leave to.
- Timing you reveal elsewhere: a post, a message, a screenshot with a time on it.
- Amounts you name in public, and patterns across several of your wallets.
- Network metadata: the RPC and the relayer you use see your IP address unless you hide it.
A clear result means none of these checks fired. It does not mean a run is unlinkable.
08What the prover sees
A run carries two proofs: the app's proof, which binds the run, and the shielded pool's proof, which spends notes. There is no browser prover for the pool's proof at this release, so it is made by the Rings prover service. Measured on a local validator, every pool-proof request carries the amounts, the assets, the owner hashes, the nullifier secret and which notes are spent together.
What it cannot do: spend. Runs and leaves also require a holder-only owner secret proven inside the app's circuit, which the prover never receives. With only what the prover receives, a changed output owner and an outright spend were both refused in tests.
What it can do: learn amounts and see when your notes are spent. That is a privacy exposure to the prover's operator, not a theft risk. The Rings SDK states its mainnet prover runs in an enclave; Hidden1 has not verified that claim. A native local prover removes that party.
09Token
Running Hidden1 never requires holding $HIDD, so holding it never ties a wallet to its runs.
No mint address is set, so there is no token to read. Supply, mint authority, freeze authority and any lock schedule appear here from chain once it is.
10SDK
No SDK package is published. What exists today is the public API in the reference above, which serves the same reads this site renders.