How to deploy Ethereum token on Manta
Deploy the contract of ERC20 Token on Ethereum to Manta Pacific
tip
If you want to deploy Ethereum Token on Manta Pacific, it's recommended to contact the Manta Team to deploy the token contract. Canonical Bridge only supports Ethereum’s ERC20 Token, If the token is from another chain/protocol, please consider using a third-party bridge.
Repo Link: standard-bridge-custom-token
important
The Canonical Bridge does not support fee on transfer tokens or rebasing tokens because these types of tokens may cause bridge accounting errors.
Steps to Deploy Token
cd ./standard-bridge-custom-token
Add
.env
filePRIVATE_KEY=
DEPLOY_TOKEN_NAME=Add new token in
config.js
, no need to filll2TokenAddress
{
tokenSymbol: {
name: "Token Name",
symbol: "Symbol",
decimals: 18,
l1TokenAddress: "Token Address on Ethereum",
l2TokenAddress: "",
}
}Update
.env
file, and update DEPLOY_TOKEN_NAME=tokenSymbol
Deploy Contract
npx hardhat run scripts/deploy.js --network manta-mainnet
Update
l2TokenAddress
in console toconfig.js
Submit PR