Boilerplate using Hardhat, which provides a development environment for compiling, deploying, testing, and debugging Ethereum software.
https://hardhat.org/getting-started/#overview
cp .env.template .env
Enter apikey and privatekey in the generated .env
API_KEY=
PRIVATE_KEY=
npx hardhat compile
npx hardhat test
npx hardhat coverage
yarn deploy --network <Network> # ropsten, rinkeby, kovan, gorli
yarn node
npx hardhat accounts
- Ropsten: https://faucet.dimensions.network/
- Kovan: https://gitter.im/kovan-testnet/faucet
- Rinkeby: https://faucet.rinkeby.io/
- Goerli: https://goerli-faucet.slock.it/
- Binance Smart Chain(testnet): https://testnet.binance.org/faucet-smart
- Polygon (testnet): https://faucet.matic.network/