A solidity hardhat template with necessary libraries that support to develop, compile, test, deploy, upgrade, verify solidity smart contract
- A template project to develop, compile, test, deploy and upgrade solidity project with hardhat
- Included OpenZeppelin smart contract and Upgradable smart contract Library
- All needed hardhat plugins: solidity hint, coverage, code verify, gas price.
- Supported libraries to format, verify and clean the code
- Usage docs
- Click the "Use this template" button and clone it to your local
- Enter
npm install
- Test the contract with
npm test
- Modify the contract/test cases
- Copy and update
.env.example
into.env
- PRIVATE_KEYS: It be used to deploy your code. Generate new one from here
- INFURA_PROJECT_ID: It be used to connect with the infura service node. You can get free Key from here
- ETHEREUMSCAN_KEY: Verify your code on ethereumscan. You can get free Key from here
- COINMARKETCAP_KEY: Get the gas price in Fiat. You can get free Key from here
- GAS_PRICE: You can get last gas price at here.
- Read Usage docs to see the detail.
This code is provided as is, under MIT Licence.