π¦Uniswap v3
BOB can be obtained on many DEXs and aggregators throughout the ecosystem, including 1inch exchange, Quickswap and many others. See the BOB Ecosystem page for more details.
This explainer shows how to swap BOB to USDC using Uniswap v3 on Polygon.
Prerequisites
Wallet Account: Web3 wallet such as Metamask connected to the Polygon Network. Additional instructions
USDC on Polygon. You can get USDC on Polygon in a variety of ways:
Trade via a DEX like Uniswap or 1inch or a CEX like Coinbase or Crypto.com
Bridge from Ethereum (or another chain) using the Polygon Bridge or other 3rd party bridges like Hop or Connext.
MATIC: You will need a small amount of MATIC on Polygon to pay transaction fees for the trade. You can purchase, trade or bridge in numerous ways mentioned above.
Get BOB
These instructions provide an example using USDC to acquire BOB. You can choose to swap with other tokens as long as there is enough liquidity. You can also swap from BOB back to USDC or another token of your choice.
1) Go to the BOB/USDC Uniswap v3 Pool.
2) If you are connected to a different network, you will see Unknown in the token field.
Press network dropdown.
Change network to Polygon. The fields will populate with the correct token pair (USDC & BOB)
3) If you haven't already, connect your web3 wallet.
If your web3 wallet is connected to a different network, you may need to switch your network back to Polygon to continue.
4) Enter amount of USDC to swap for BOB. You will see the amount of BOB you will receive for the trade.
5) Press Allow the Uniswap Protocol to use your USDC. You must allow the contract to spend your USDC.
You can choose to keep this allowance for as long as you like, and subsequent transactions with USDC can be processed without requiring this transaction. You can also choose to revoke at any time, and reset permissions the next time you want to exchange USDC for BOB.
6) Swap assets.
Press Swap
Confirm Swap in Uniswap App
Confirm in Metamask.
7) Once confirmed, click View on Explorer to see your transaction details.
8) You can now use BOB in the zkBOB application. To trade back to USDC, simply switch the tokens and follow the process above.
Last updated