npm install
npm run build
npx hardhat node
-
create
.env
file and set your mnemonic as belowMNEMONIC="your mnemonic"
-
compile contracts, it will generate contract artifacts also typechains
yarn build
-
test contracts
yarn test
Once the rpc url is unavailable, check it here