A withdrawal spends private notes and pays tokens to a public address. It is a JoinSplit proof with a negative public amount: the circuit requires the token to be public (public_asset), and the ExtData names the recipient and amount — both bound to the proof, so the relayer cannot redirect them.
Fresh addresses
By default the wallet withdraws to a fresh one-time address derived from your seed:
key_i = keccak256("sotto/withdraw/v1" ‖ spendingKey ‖ i) mod n, i = random 31-bit index
The index is random (not a counter) and kept in your encrypted wallet store, so you can always find and use these addresses from your recovery phrase.
A fresh address has no HYPE to pay gas for its next transaction. Funding it from one of your other wallets would link the two, so the wallet asks the relayer for a gas drop: right after the withdrawal succeeds, the relayer sends the address a fixed amount of native HYPE (about 0.002 HYPE, enough for one later transaction such as a deposit), paid inside the relayer fee. The drop is the same size for everyone and is optional.
You can also withdraw to any address you type. The wallet warns you when it is the address you deposited from (see privacy warnings).
Rounding of public exits
The withdrawn amount is public. To keep it from matching an earlier exact amount, the wallet rounds it down to three significant digits, choosing at random among nearby round values (for example, 1.041564 USDC becomes 1.04, 1.03 or 1.02). The rest stays private. The preview shows the rounded amount and the leftover before you confirm, and warns when the amount equals one your wallet already made public.
Privacy warnings before you confirm
The withdraw form (in the extension and on the site) checks the withdrawal against what your wallet already made public, and says so before anything is signed:
| Warning | When |
|---|---|
| Address you deposited from | the recipient made a deposit into Sotto for this wallet: the two are linked in public. A fresh address is the default. |
| Same amount | the amount equals one your wallet already made public (a deposit, a buy, a return), to the last unit. The wallet rounds it. |
| Close to a deposit | the amount is within 1% of one of your deposits of this token. |
| Soon after a deposit | you deposited this token less than 24 hours ago: deposit and withdrawal are easy to pair by time. |
| Few depositors | fewer than 20 public deposits of this token so far, and one of them is yours: the crowd to hide in is small. |
When the amount or the time pairs with a deposit, or the withdrawal is worth $1,000 or more, the form also offers to withdraw in waves and opens that order with the token and the amount filled in.
These checks read your wallet's own records of its deposits, which stay on your device. A wallet restored from its recovery phrase on a new device starts without them, so the warnings about earlier deposits do not appear there.
Withdraw in waves
Instead of one large exit, the wallet can split a withdrawal into standard parts — for example 10, 50, 100, 500, 1,000 or 5,000 USDC, or 0.5 to 100 WHYPE — each sent to its own fresh address, with a gas drop, at a random time inside a window you choose. If part of the total fits no standard amount, it goes out as one last, non-standard part, and the wallet says so. Leave time after your own last deposit before you start: an exit right after a matching deposit is easy to link.
- The schedule lives only on your device, encrypted. No server receives the parts in advance; each part is proved and submitted when its time comes.
- Your wallet must be running for the parts to go out: keep the extension's browser open or the app tab open.
- Each part costs one relayer fee; the 0.3% withdrawal fee does not grow.
- The wallet warns when the token has had few public deposits recently: waves help most when there are others to blend with.
Large exits wait
The pool applies a safety delay to unusually large exits, so that an exploit could not drain it in one block:
- an exit of more than $20,000 at once, or one that would take the total of all exits of that token above $100,000 within a rolling 24 hours, is not paid at once — it is queued for 24 hours;
- after the delay, anyone can release it to its recipient (
releaseExit); the wallet does this for you; - during the delay a queued exit can be held once, for at most 24 more hours, if it looks like part of an exploit; it cannot be cancelled, redirected or held twice;
- normal exits below these limits are paid in the same transaction and cannot be stopped by anyone.
The wallet tells you before you confirm when a withdrawal falls into this case. Splitting it into waves keeps each part under the limit.
Withdraw to HyperEVM
You can send USDC from your private balance to any address on HyperEVM (chain 999) — on the site under Swap → HyperEVM, in the extension from its swap screen:
- The vault proof unshields
amount + keeper fee + bridge feeto theElysiumBridge, which funds a one-time forwarder address (CREATE2, with a salt that is the hash of the transfer's parameters). - A keeper forwards exactly
amountinto Relay with an order signed by a one-time key from your seed. Before signing, your wallet checks Relay's order: the recipient, the token, the minimum arrival (98% of the amount minus a small slack), no extra calls, and refunds only back to you. - Relay pays the recipient on HyperEVM, usually within seconds.
You see the fees and what arrives before you confirm, and every send asks for your approval in the wallet. The relayer fee is paid from private HYPE; if you have none free, the wallet asks before paying it in USDC, because that shows USDC left the pool in that transaction.
If Relay does not fill in time, the forwarder refunds into a new private note of yours. Minimum 5 USDC. Fees: 0.05% bridge fee + 0.20 USDC keeper fee + Relay's fee (about 0.15% + $0.02). The payout is public on HyperEVM (recipient and amount); nothing on chain links it to your wallet. Round amounts help here too.
Fees
| Withdrawal fee | 0.3% of the amount |
| Relayer fee | about 0.003 WHYPE, or about 0.005 WHYPE with a gas drop |
| HyperEVM send | 0.05% + 0.20 USDC keeper fee + Relay's fee; no 0.3% withdrawal fee |