configure
function on the relevant token address.
The WETH and USDB addresses will be slightly different on the Blast mainnet.
Getting WETH
Testnet
To convert ETH to WETH on the Blast Sepolia Testnet from an EOA, you just need to send ETH to the WETH contract address on the L2,0x4200000000000000000000000000000000000023
. Don’t send funds to this address on the Sepolia L1, or they’ll be inaccessible. Smart contracts can do this as well, or they can call the deposit() public payable
method and send the amount of ETH they’d like to wrap in the transaction.
Mainnet
The process will be the same on mainnet, but the WETH token address will be different. Be careful hardcoding the testnet WETH address for contracts you intend to deploy to mainnet. The WETH address on mainnet is0x4300000000000000000000000000000000000004
.
Getting USDB
Testnet
The Sepolia L1 has a mock USD token deployed at this address:0x7f11f79DEA8CE904ed0249a23930f2e59b43a385
. You can call the public mint(address to, uint256 amount)
function to receive up to $10,000 mock USD tokens per call. The following examples use cast to send a mint transaction, but you can also send transactions visually here:
1000000000000000000000
, represents $1000.
Once your mint transaction has been included in a block, you can check your mock USD token balance on the Sepolia L1 using the following command, filling in your address in $ADDR
:
0x7f11f79DEA8CE904ed0249a23930f2e59b43a385
, is the mock USD token address on the Sepolia L1. The next address, 0x4200000000000000000000000000000000000022
, is the USDB address on the Blast Sepolia Testnet L2. You might need to wait a little bit before your L1 bridge transaction takes effect on the L2. Once it’s been included, you can query your USDB balance via:
Mainnet
To get USDB on Blast mainnet, the process is similar, but you’ll need to bridge in a compatible stablecoin from Ethereum mainnet, like DAI, USDC, or USDT. Be careful hardcoding the testnet USDB address for contracts you intend to deploy to mainnet. The USDB address on Blast mainnet is0x4300000000000000000000000000000000000003
.