Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@idovgopoly/ci-npm-test

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@idovgopoly/ci-npm-test

Template hardhat repository for ad-hoc smart contracts development.

latest
Source
npmnpm
Version
5.4.0
Version published
Maintainers
0
Created
Source

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 compile

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-localhost

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

  • Hardhat official ethers + ethers-v6
  • Typechain
  • hardhat-migrate, hardhat-markup, hardhat-gobind
  • hardhat-contract-sizer
  • hardhat-gas-reporter
  • solidity-coverage

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 @solarity/solidity-lib

FAQs

Package last updated on 26 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts