Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.27 KB

README.md

File metadata and controls

49 lines (29 loc) · 1.27 KB

Hardhat Template

To develop a hardhat contract project, we always need some frequently used dependencies which are not included in the basic hardhat project. Furthermore, we also need several tools to unify the coding style between collaborative workers. In fact, these pre-requisite are always configured similarly in different projects. So, I established this template to help us start a hardhat project in a more convenient way.

Start

Install dependencies

npm install

Commands

Compile & Generate Types

npm run compile

Test

npm run test

Deploy Contract

Currently, we use Hardhat Ignition to help deploy & verify contract.

npx hardhat ignition deploy ./ignition/modules/[YOUR_DEPLOY_MODULE].ts --network <your-network>

Get extensions

Recommend extensions are listed in the file ./.vscode/extensions.json. If you go to vscode extension list, you could see all recommended extensions directly.

Final step

Now you can start your development!

Contribute

Any contribution is welcomed to make it better.

If you have any questions, please create an issue.

Enjoy!