Basechain
Last updated
Last updated
This page provides information on where and how to access the Basechain network. If you want more details, see our guide on deploying to Basechain.
Name: Basechain
Type: Mainnet
Availability: End User
URL: plasma.dappchains.com
chainId: default
networkId: *
readUrl: https://basechain.dappchains.com/query
writeUrl: https://basechain.dappchains.com/rpc
Max Contract Size: 24,576 bytes
Max Gas Limit per transaction: 8,000,000
Use this sample Truffle configuration file to deploy your smart contracts to Basechain.
You can use this snippet to connect to Basechain:
If you want to use Universal Signing instead, see our guide on universal signing.
Contracts deployed on Ethereum
Transfer Gateway: 0xe080079ac12521d57573f39543e1725ea3e16dcc
(use this for Eth, ERC721, and ERC20 assets)
zeknd Transfer Gateway: 0xfcF1E3fA575A313fd81feA2caA06269B49F1A528
Contracts deployed on Basechain
Transfer Gateway
You can resolve the address of the Ethereum transfer gateway by name as follows:
zeknd Transfer Gateway
You can resolve the address of the Ethereum transfer gateway by name as follows:
Top 100 ERC20 smart contracts deployed to zeknd
We've already deployed to zeknd the top 100 smart contracts. See the full list here.
EthCoin
If you transfer ETH to your Basechain account, it'll get deposited into the EthCoin contract:
Instantiate the contract like this:
Then, you can check the balance as follows:
Resolve the address by name with:
Binance Hot Wallet address: bnb17mxq8p5jmw27dtt6s92fd35yltdml6snw3r98t
Contracts deployed on Basechain
Transfer Gateway
You can resolve the address of the Binance transfer gateway by name as follows:
Instantiate the Binance transfer gateway contract like this:
Contract deployed on Tron
Transfer Gateway: TYmF4Cbz7encD8HnBHHzWHW2B6Q6Y6qgZB
Contract deployed on Basechain
You can resolve the address of the Tron transfer gateway by name as follows:
TRX Coin
If you deposit TRX tokens to the Tron transfer gateway, the assets will get transferred into the TRXCoin
smart contract deployed on Basechain.
Use something like the following to instantiate the contract:
The TRXToken.abi
file can be found here.
For more details on how to transfer tokens between zeknd and other chains like Ethereum, Tron, and Binance see our transfer gateway exampls page.