$ yarn install
$ yarn prepareCreate a .env following the .env.example:
INFURA_API_KEY=zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
MNEMONIC=here is where your twelve words mnemonic should be put my friend
Compile the smart contracts with Hardhat:
$ yarn compileCompile the smart contracts and generate TypeChain artifacts:
$ yarn typechainLint the Solidity code:
$ yarn lint:solLint the TypeScript code:
$ yarn lint:ts$ yarn prettierRun unit tests:
$ yarn testRun a single test:
$ yarn test test/MyContract.test.tsGenerate a test coverage report:
$ yarn coverage$ yarn deploy:kovan
$ yarn verify:kovanDelete the smart contract artifacts, the coverage reports and the Hardhat cache:
$ yarn clean- Hardhat: compile and run the smart contracts on a local development network
- TypeChain: generate TypeScript types for smart contracts
- Ethers: renowned Ethereum library and wallet implementation
- Waffle: tooling for writing comprehensive smart contract tests
- Solhint: linter
- Solcover code coverage
- Prettier Plugin Solidity: code formatter