Adding a new ERC20 to Boba
Adding a new ERC20 token to Boba
Deploy L2StandardERC20.sol via block explorer
The L2StandardTokenFactory is deployed and verified in the block explorer, so you can interact with the block explorer to deploy a new ERC20 token.
Mainnet Address
Network | Contract Address | Block Explorer URL |
---|---|---|
Boba Mainnet (Ethereum L2) | 0xD2ae16D8c66ac7bc1Cf3c9e5d6bfE5f76BeDb826 | https://bobascan.com/address/0xD2ae16D8c66ac7bc1Cf3c9e5d6bfE5f76BeDb826 |
Bobabnb (BNB L2) | 0xD2ae16D8c66ac7bc1Cf3c9e5d6bfE5f76BeDb826 | https://bobascan.com/address/0xD2ae16D8c66ac7bc1Cf3c9e5d6bfE5f76BeDb826 |
Testnet Address
Network | Contract Address | Block Explorer URL |
---|---|---|
Boba Sepolia (Ethereum Sepolia L2) | 0x4200000000000000000000000000000000000012 | https://testnet.bobascan.com/address/0x4200000000000000000000000000000000000012 |
Bobabnb Testnet (BNB Testnet L2) | 0xD2ae16D8c66ac7bc1Cf3c9e5d6bfE5f76BeDb826 | https://testnet.bobascan.com/address/0xD2ae16D8c66ac7bc1Cf3c9e5d6bfE5f76BeDb826 |
Deploy L2StandardERC20.sol via the script
You can deploy L2StandardERC20.sol via the following script
ERC20 deposits into L2 can be triggered via the depositERC20
and depositERC20To
functions on the L1StandardBridge
. You must approve the Standard Token Bridge to use the amount of tokens that you want to deposit or the deposit will fail.
Mainnet
L1 | Contract Name | Contract Address |
---|---|---|
Ethereum | Proxy__L1StandardBridge | 0xdc1664458d2f0B6090bEa60A8793A4E66c2F1c00 |
BNB | Proxy__L1StandardBridge | 0x1E0f7f4b2656b14C161f1caDF3076C02908F9ACC |
Testnet
L1 | Contract Name | Contract Address |
---|---|---|
Ethereum Sepolia | Proxy__L1StandardBridge | 0x244d7b81EE3949788Da5F1178D911e83bA24E157 |
BNB Testnet | Proxy__L1StandardBridge | 0xBf0939120b4F5E3196b9E12cAC291e03dD058e9a |
Last updated