628 B
628 B
Optimism-Compatible Token
EVM-compatible ERC-20 token with extra features, capable of being bridged to an Optimism-compatible L2. Built for Base blockchain and the 10Grans token, but general enough to be reused.
npx hardhat compile
cp env.example .env.dev
# (customize your env file here first)
scripts/deploy-dev.sh
# optionally verify your contract on L2, customize the following:
NODE_ENV=dev npx hardhat verify --network base-goerli 0xl2tokenaddress MrTestToken TEST 0xbridgeonl2 0xl1tokenaddress
Depositing to L2
Use this tool: https://git.shipoclu.com/moon/l2-base-bridging
License
MIT license.