Deposits

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 accounts are connected.

  1. Web3 wallet address (MetaMask, WalletConnect)

  2. zkAccount

If you have previously setup your zkBob account using the Metamask/WalletConnect method, but the accounts are not instantly connected, follow the prompts to reconnect your account.

2) You should have some amount of tokens available to deposit. Enter the amount and press Deposit.

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.

Note: It may take several minutes to update the pool state. If your balances do not update (in the case below the MM address has not yet updated) you can refresh your wallet balances from within the application. This is easier than refreshing the page itself - you will need to re-enter your password to access the app if you do a page refresh.

Before refresh
After refresh

Tx details on Polygonscan : https://polygonscan.com/tx/0xbb9330d77f8903b91cfcdab32d590a3298962a718ab4951262696f0b18d354c9

Last updated

Was this helpful?