node
: 14.17npm
: 7.19truffle
: 5.3 or highersolidity
: 0.8.4
$ npm install
- Copy your secret keys into file .env (remember not to commit it)
- Compile the project
$ npx hardhat compile
Compile the project with force
$ npx hardhat compile --force
- Deploy the project
$ npx hardhat run scripts/1_deployMultisig.js
To choose other network to deploy the project, modify the NETWORK
field in the .env
(./.env) file
- Flatten the contracts
$ npx hardhat flat --output ./flat.sol