User Guide: Bridging crvUSD
Overview¶
This guide explains how to bridge crvUSD tokens from the Ethereum Mainnet to the Binance Smart Chain (BSC) or vice versa, utilizing LayerZero infrastructure.
Requirements include having a wallet with crvUSD tokens and either ETH or BNB, depending on the bridging direction, to cover transaction fees.
Disclaimer
This guide is only applicable for bridging crvUSD to BSC or vice versa. Using the contracts below will only allow the bridging of crvUSD. Attempting to use other tokens will cause the transaction to revert.
Contract Addresses
Both bridge contracts, on Ethereum and Binance Smart Chain, have the same contract addres.
Bridge | Contract Address |
---|---|
Ethereum | 0x0A92Fd5271dB1C41564BD01ef6b1a75fC1db4d4f |
Binance Smart Chain | 0x0A92Fd5271dB1C41564BD01ef6b1a75fC1db4d4f |
The crvUSD contract address differs depending on the chain.
crvUSD | Contract Address |
---|---|
Ethereum | 0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E |
Binance Smart Chain | 0xe2fb3F127f5450DeE44afe054385d74C392BdeF4 |
Bridging crvUSD from Ethereum to Binance Smart Chain¶
Step 1: Approve the Bridge Contract¶
- Navigate to the crvUSD token contract on Etherscan: 0xf939E0A03FB07F59A73314E73794Be0E57ac1b4E.
- Connect your wallet by selecting
Contract
>Write Contract
>Connect to Web3
. - Locate the method
3. approve
and approve the bridge contract as a spender._spender
: Enter0x0A92Fd5271dB1C41564BD01ef6b1a75fC1db4d4f
, the bridge contract address._value
: Specify the amount in 1e18 format (for example, for 100 crvUSD, enter100000000000000000000
). Alternatively, to avoid manually entering the amount in 1e18 format, you can input the amount of crvUSD you wish to bridge and then append 18 zeros by using the+
button.
- Click
Write
and complete the transaction.
Step 2: Read Contract and Quote ETH Amount¶
- Visit the bridge contract on Etherscan: 0x0A92Fd5271dB1C41564BD01ef6b1a75fC1db4d4f#readContract.
- Use function
1. quote
to determine the destination chain fees. Thequote
amount represents the cost (in ETH) of calling the bridge method in Step 3. This does not include gas costs, which need to be paid additionally.
Step 3: Bridge crvUSD to BSC¶
- Access the bridge contract on Etherscan: 0x0A92Fd5271dB1C41564BD01ef6b1a75fC1db4d4f#writeContract.
- Connect your wallet by selecting
Contract
>Write Contract
>Connect to Web3
. - Navigate to method
2. bridge
and input your values:bridge
: Enter the ETH amount quoted in Step 2. Ensure you enter the amount denominated in Ether (quoted amount / 1e18)._amount
: Specify the amount of crvUSD in 1e18 format. Alternatively, to avoid manually entering the amount in 1e18 format, you can input the amount of crvUSD you wish to bridge and then append 18 zeros by using the+
button._receiver
: Enter your BSC wallet address.
- Click
Write
and complete the transaction.
After completing these steps, it may take a few minutes for your crvUSD tokens to be successfully bridged to the Binance Smart Chain.
Bridging crvUSD from Binance Smart Chain to Ethereum¶
Step 1: Approve the Bridge Contract¶
- Navigate to the crvUSD token contract on BSCScan: 0xe2fb3F127f5450DeE44afe054385d74C392BdeF4.
- Connect your wallet by selecting
Contract
>Write Contract
>Connect to Web3
. - Locate the method
3. approve
and approve the bridge contract as a spender._spender
: Enter0x0A92Fd5271dB1C41564BD01ef6b1a75fC1db4d4f
, the bridge contract address._value
: Specify the amount in 1e18 format (for example, for 100 crvUSD, enter100000000000000000000
). Alternatively, to avoid manually entering the amount in 1e18 format, you can input the amount of crvUSD you wish to bridge and then append 18 zeros by using the+
button.
- Click
Write
and complete the transaction.
Step 2: Read Contract and Quote BNB Amount¶
- Visit the bridge contract on BSCScan: 0x0A92Fd5271dB1C41564BD01ef6b1a75fC1db4d4f#readContract.
- Use function
1. quote
to determine the destination chain fees. Thequote
amount represents the cost (in BNB) of calling the bridge method in Step 3. This does not include gas costs, which need to be paid additionally.
Step 3: Bridge crvUSD to Ethereum¶
- Access the bridge contract on BSCScan: 0x0A92Fd5271dB1C41564BD01ef6b1a75fC1db4d4f#writeContract.
- Connect your wallet by selecting
Contract
>Write Contract
>Connect to Web3
. - Navigate to method
2. bridge
and input your values:bridge
: Enter the ETH amount quoted in Step 2. Ensure you enter the amount denominated in Ether (quoted amount / 1e18)._amount
: Specify the amount of crvUSD in 1e18 format. Alternatively, to avoid manually entering the amount in 1e18 format, you can input the amount of crvUSD you wish to bridge and then append 18 zeros by using the+
button._receiver
: Enter your Ethereum wallet address.
- Click
Write
and complete the transaction.
After completing these steps, it may take a few minutes for your crvUSD tokens to be successfully bridged to Ethereum.