Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/salmandabbakuti/hardhat-boilerplate
hardhat boilerplate for ethereum dapp development
https://github.com/salmandabbakuti/hardhat-boilerplate
blockchain dapps ethereum ethereum-ide hardhat hardhat-boilerplate hardhat-template smartcontracts solidity
Last synced: 4 days ago
JSON representation
hardhat boilerplate for ethereum dapp development
- Host: GitHub
- URL: https://github.com/salmandabbakuti/hardhat-boilerplate
- Owner: Salmandabbakuti
- License: mit
- Created: 2021-09-26T13:00:11.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-09T12:06:45.000Z (6 months ago)
- Last Synced: 2024-05-09T13:34:32.753Z (6 months ago)
- Topics: blockchain, dapps, ethereum, ethereum-ide, hardhat, hardhat-boilerplate, hardhat-template, smartcontracts, solidity
- Language: TypeScript
- Homepage:
- Size: 30.3 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hardhat Boilerplate
This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts with balances.
> Recommended to use Node.js v18+ and npm v8+
> Rename `env.example` to `.env` and add your env specific keys.
Try running some of the following tasks:
```bash
npm install# starts local node
npx hardhat node# list accounts with balances
npx hardhat accounts# show balance eth of specified account
npx hardhat balance --account '0x47a9...'# compile contracts
npx hardhat compile# deploy contract defined in tasks on specified network
npx hardhat deploy --network localhost# deploy contract in scripts/deploy.ts on specified network
npx hardhat run scripts/deploy.ts --network localhost#check linter issues using solhint plugin
npx hardhat check# check coverage using solidity-coverage plugin: supports hardhat network only
npx hardhat coverage --network hardhat# unit tests including gas usage
npx hardhat test# remove all compiled and deployed artifacts
npx hardhat clean# verify contract
npx hardhat verify --network "" ""# show help
npx hardhat help
```