Deposit
A deposit sends stablecoins into a pool and leaves you holding a note, the secret you will need to withdraw. Set up the backup first; the deposit itself is usually two transactions.
On this page
Before you start
- Use amounts you can afford to lose. Audit status: [AUDIT_STATUS].
- Supported assets: [ASSET_1] [ASSET_2] [ASSET_3]. Minimum deposit: [MIN_DEPOSIT].
- Keep some Elysium gas in the wallet you deposit from.
- Remember that the deposit is public: its amount, the sending address and the time are visible to anyone. Common amounts blend in better than unusual ones; see Amounts.
Set up your vault
Every deposit creates a note: secret random values. In the standard design they are generated on your device and the pool never sees them; it only receives a commitment, a hash that binds to the note without revealing it.
Where Kryphe keeps your notes: [VAULT_MODEL].
Back up before you deposit
Whoever holds a note's secret can withdraw it, and without it nobody can, the team included. Make the backup before any funds depend on it. Backup method: [BACKUP_METHOD].
If the method lets you restore, test a restore now rather than after the deposit. Recovery and backups covers how to store it.
Approve the token
Stablecoins are tokens, so the pool contract needs your permission to move them. Your wallet will ask you to approve that first. Before you sign:
- check that the spender is the pool address listed on Contracts;
- prefer approving the amount you are depositing over an unlimited allowance.
Send the deposit
Choose the asset and amount, then sign the deposit transaction. The contract takes the tokens and adds your commitment to the pool's Merkle tree as a new leaf.
What the chain records
The amount, the sending address, the time and the commitment. Not the note, and not its secret.
Wait for inclusion
Two things need to happen before the note can be withdrawn privately:
- The deposit transaction confirms, which puts your commitment in the tree.
- The deposit is screened and included in an association set, because a withdrawal proves membership in one. Timing and criteria: [ASP_POLICY].
Waiting has a privacy side too. A withdrawal soon after a deposit of the same amount is easy to pair up. The more deposits land after yours, the larger the crowd your withdrawal can hide in.
If something goes wrong
- The approval confirmed but the deposit failed. No tokens moved. The allowance stays in place until you use it or revoke it.
- The deposit is pending. Wait for it to confirm or fail before trying again, so you do not deposit twice.
- The deposit was not included in an association set. See If a deposit is not included.