@idovgopoly/ci-npm-test v5.4.0
Hardhat template
Template hardhat repository for ad-hoc smart contracts development.
How to use
The template works out of the box. To clean up the repo, you may need to delete the mock contracts, tests and migration files.
Compilation
To compile the contracts, use the next script:
npm run compileTest
To run the tests, execute the following command:
npm run testOr to see the coverage, run:
npm run coverageLocal deployment
To deploy the contracts locally, run the following commands (in the different terminals):
npm run private-network
npm run deploy-localhostBindings
The command to generate the bindings is as follows:
npm run generate-typesSee the full list of available commands in the
package.jsonfile.
Integrated plugins
- Hardhat official
ethers+ethers-v6 Typechainhardhat-migrate,hardhat-markup,hardhat-gobindhardhat-contract-sizerhardhat-gas-reportersolidity-coverage
Other niceties
- The template comes with presetup
prettierandsolhintthat lint the project viahuskybefore compilation hook. - The
.env.examplefile is provided to check what is required as ENVs - Preinstalled
@openzeppelin/contractsand@solarity/solidity-lib
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago