@arcblock/rollup-contract
v0.2.4
Published
Solidity contracts that powers ArcBridge.
Downloads
27
Readme
ArcBridge Contracts
Solidity contracts that powers ArcBridge.
How to Deploy
- create dotenv file
- (optional) deploy token
- deploy multisig library
- deploy rollup contract
FAQ
- How to Deploy? https://github.com/wighawag/hardhat-deploy
Getting Started
如果是本地开发环境,需要修改 src/library/ERC20Token.sol,替换其中的 TokenSymbol 为 DEV,然后再部署
Cleanup
Only required if you want a clean setup
rm -rf deployments
Deploy ERC20Token
Will update .env.dev.tba
NODE_ENV=dev.tba npm run deploy -- --network goerli --tags token
Deploy MultiSig
Will update .env.dev.tba
NODE_ENV=dev.tba npm run deploy -- --network goerli --tags multisig
Deploy ERC20Rollup
Please remember to set
MIGRATED_FROM
andMIN_SIGNER_COUNT
before deploy.
NODE_ENV=dev.tba npm run deploy -- --network goerli --tags rollup
Then you are all set on ethereum.