tested with node.js v14
npm install -g yarn
yarn install
npx hardhat compile
: generate typechain artifactscode .
: open in vs code- install recommended vscode extensions
- typescript
- typechain (types from compiled smart contracts)
- eslint/solhint linting
- prettier auto formatting
- vscode defaults
- hardhat tools / devchain
- ethers
- waffle / chai testing
- compile:
npx hardhat compile
- test:
npx hardhat test
- deploy:
npx hardhat run script/deploy.ts
- create your own scripts or smart contracts!