Skip to content

Digital-Certificates-DL/contract

Repository files navigation

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.

Test

To run the tests, execute the following command:

npm run test

Or to see the coverage, run:

npm run coverage

Local deployment

To deploy the contracts locally, run the following commands (in the different terminals):

npm run private-network
npm run deploy-local

Bindings

The command to generate the bindings is as follows:

npm run generate-types

See the full list of available commands in the package.json file.

Integrated plugins

Other niceties

  • The template comes with presetup prettier and solhint that lint the project via husky before compilation hook.
  • The .env.example file is provided to check what is required as ENVs
  • Preinstalled @openzeppelin/contracts and @dlsl/dev-modules

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •