Before running any command, make sure to install dependencies:
$ yarn install
Compile the smart contracts:
$ yarn build
Lint the Solidity code:
$ yarn lint:sol
Lint the TypeScript code:
$ yarn lint:ts
Run the tests:
$ yarn test
Add a .env.private
file to deployments/{network}/
for the network where you want to deploy
cp scripts/.env.example scripts/.env