2023-08-20 19:07:17 +00:00
|
|
|
# Optimism-Compatible Token
|
2023-08-13 13:15:58 +00:00
|
|
|
|
2023-08-20 19:13:06 +00:00
|
|
|
EVM-compatible ERC-20 token with extra features, capable of being bridged to an
|
2023-08-20 19:07:17 +00:00
|
|
|
Optimism-compatible L2. Built for Base blockchain and the 10Grans token,
|
2023-08-20 19:13:06 +00:00
|
|
|
but general enough to be reused.
|
2023-08-13 13:15:58 +00:00
|
|
|
|
|
|
|
```shell
|
2023-08-20 19:07:17 +00:00
|
|
|
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
|
2023-08-13 13:15:58 +00:00
|
|
|
```
|
2023-08-20 19:07:17 +00:00
|
|
|
|
|
|
|
# Depositing to L2
|
|
|
|
|
|
|
|
Use this tool: https://git.shipoclu.com/moon/l2-base-bridging
|
|
|
|
|
|
|
|
# License
|
|
|
|
|
|
|
|
MIT license.
|