this starter smartcontart with typscripts using hardhat generator Read more about hardhat.
- mocha
- chai
- node >= 14
- npm >= 6
- typescript >= 4.0
- (we recommend to use yarn)
.
├── artifacts
| |── build-info
| |── contracts
| |── cache
| | |── solidity-files-cache.json
| |── contracts
| | |── morgan.sol
| |── scripts
| | |── deploy.ts
| |── test
| | |── test.ts
|── .gitignore
|── hardhat.config.ts
|── package.json
|── README.md
|── yarn.lock
yarn add typescript
To run unit test:
npx hardhat test