Charybdisv1

Shielded funding through Relay

llms.txt

The pool

CharybdisPool is a fork of 0xbow's Privacy Pools on Elysium. You deposit USDC and receive a note: commitment = Poseidon(value, label, Poseidon(nullifier, secret)). Notes live in a Poseidon Merkle tree of depth 20. Spending a note proves in zero knowledge (Groth16, proved in your browser) that it is in the tree and that its label is in the current association set, without saying which note it is.

shielded poolRelayHyperCore
Pool on Elysium, Relay in the middle, one deposit per HyperCore account.

Why Relay

The native Elysium to HyperEVM bridge takes about 24 hours. Relay routes Elysium USDC straight to HyperCore USDC and back. Quotes measured on 1 December 2026:

SentReceivedFee
$5$4.97$0.03
$50$49.90$0.10
$1,000$998.48$1.52

The quoted time was about one second.

ShieldToRelay

Each account is funded by its own shielded withdrawal. The withdrawal's data commits to a Relay deposit (target and calldata hash), so the relayer that submits it cannot redirect the money. ShieldToRelay receives the USDC from the pool, approves exactly that amount to the Relay target, executes the quote's calldata and keeps nothing. Amounts and times are jittered per account.

The way home

When a ticket is closed, the browser signs a Relay transfer from each account back to Elysium. The return lands at a one-time address, which deposits it into the pool as a new note; the relayer pays the gas. Whether Relay's destination call can create the note directly is being tested; the one-time address path works either way.