1.1.16 • Published 2 years ago
@superdao/os-hello-world v1.1.16
superdao-os
// TODO add GitLab CI badge
Testnet Deployment Guide
Install project dependencies:
yarn
Deploy to Polygon Mumbai (testnet):
yarn deploy:testnet
Verify deployment:
yarn hardhat --network testnet etherscan-verify
Local Deployment Guide
Pre-requisites
Clone this repository
Install project dependencies
yarn
- Generate typings
yarn typechain
- Remove previous deployments (if neccessary)
rm -rf deployments
Deploy on local network
- Run local node
yarn hardhat node
Add local network to Metamask
- Just add a new network and set
http://localhost:8545
as RPC URL
FAQ
- I didn't modify anything though I get
VM Exception while processing transaction: revert Initializable: contract is already initialized
(or similar) when attempting to deploy contracts
Restart ganache-cli. Most likely already deployed and initialized contracts are begin re-initialized.
- Where do I find contract addresses?
All deployment data stored to deploy/deployments/loalhost
at your $cwd.