Skip to content

Generic Upgradeable ERC20 that can be minted/burned on Zircuit L2

Notifications You must be signed in to change notification settings

zircuit-labs/L2UpgradeableERC20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

L2UpgradeableERC20

Generic Upgradeable ERC20 that can be minted/burned on Zircuit L2. Requirements for the token come for wstETH bridging guide. The design and implementation are inspired by OptimismMintableERC20 from Optimism and BridgedToken from Linea.

Instructions

npm install
npx hardhat compile
npx hardhat test

Deployment

// deploy any token (must pass arguments to deploy.js)
npx hardhat run scripts/deploy.js --network zircuit

// deploy wstETH
npx hardhat run scripts/deploy-wstETH.js --network zircuit

Verification

The implementation contract can be verified on Zircuit Explorer using:

npx hardhat verify --network zircuit PROXY_CONTRACT

where PROXY_CONTRACT is the address of the Proxy contract that points to the token.

Ownership Transfer

Optionally, transfer ownership of the ProxyAdmin contract via the function transferOwnership().

About

Generic Upgradeable ERC20 that can be minted/burned on Zircuit L2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published