Deposits
Last updated
Was this helpful?
Last updated
Was this helpful?
Examples are performed with BOB on Polygon. However, the BOB pool is now a USDC pool on Polygon. You can also follow the instructions to deposit BOB or ETH on Optimism.
Deposits to the zkBob pool involve moving the supported token (USDC on Polygon, ETH or BOB on Optimism) from a web3 wallet address (MetaMask/WalletConnect) into a zkAccount. You can use the UI to easily connect a wallet and deposit into your zkAccount.
1) Check your .
Web3 wallet address (MetaMask, WalletConnect)
zkAccount
If you have previously setup your zkBob account using the Metamask/WalletConnect method, but the accounts are not instantly connected, to reconnect your account.
2) You should have some amount of tokens available to deposit. Enter the amount and press Deposit.
Note that a 0.10 fee is added to any amount you deposit to pay the relayer fee. If you deposit 10 USDC 10 USDC is added to your zkAccount and an additional 0.10 USDC is deducted from your 0x address to pay the relayer. The total cost for this tx is 10.1 USDC.
3) A proof is generated on your local machine. Next, sign the Metamask notification to allow the contract to use your tokens, and wait for the relayer to complete the deposit.
4) Your deposit is complete! Once the transaction is finalized you can transfer to another zkAddress in the pool or withdraw.
5) Return to the application. You will see the pending transaction, and can click through to view on Polygonscan.
6) View updated balances.
Tx details on Polygonscan :