- cd /arthcoin-v2
- yarn
- Run your ganache (In case of ganache-cli: ganache-cli -p 7545 --networkId 5777)
- Add ''' development: { url: "http://localhost:7545", accounts: [process.env.WALLET_SECRET_KEY, process.env.METAMASK_WALLET_SECRET] } ''' to networks in hardhat.config.ts so that it looks like ''' networks: { hardhat: {}, development: { url: "http://localhost:7545", accounts: [process.env.WALLET_SECRET_KEY, process.env.METAMASK_WALLET_SECRET] } }, '''
- npx hardhat run scripts/migrate-treasury.ts --network development.
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.
scripts
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||