Deposit
Deposit ETH or a supported ERC-20 token into a Privacy Cash EVM privacy pool.Parameters
Returns
The transaction hash (string).
Example
Deposit Limits
The protocol enforces a maximum deposit amount. Attempting to exceed it will throw:Fees
How Deposits Work
1
ZK Proof Generated
The SDK derives your keypair from the signature, scans on-chain UTXOs, and generates a ZK proof consolidating any existing UTXOs with the new deposit amount.
2
Address Screening
Your wallet address is screened for malicious activity before the transaction is built.
3
Transaction Built
An unsigned transaction is created and passed to your
txSender callback for signing and submission.4
UTXO Created
An encrypted UTXO is written on-chain, decryptable only by you.
