Skip to content

Template repository for Solidity smart contracts with Hardhat

Notifications You must be signed in to change notification settings

NodeFactoryIo/solidity-contracts-starter

Repository files navigation

Solidity-contract-starter

Requirements

Following software is required to be installed to use this repo:

This repo also uses dependecies that are associated with hardhat but not built-in:

Usage

On first use of this repo, run yarn install to install all required dependencies. Then run yarn run build to set up the repo.

Available commands:

  • build - Compiles the entire project and generates Typechain typings
  • lint - Runs solhint on current project
  • clean - Clears the cache and deletes all artifacts
  • compile - Compiles the entire project, building all artifacts
  • deploy:<network> - Run deploy script on <network>
  • help - Prints all available hardhat commands
  • node:local - Starts a JSON-RPC server on top of hardhat EVM
  • script - Runs a user-defined script after compiling the project
  • test:localhost - Runs mocha tests
  • test:ci - Runs gas check and solidity coverage
  • test:gas - Runs gas check
  • test:coverage - Runs solidity coverage
  • typechain - Generate Typechain typings for compiled contracts

About

Template repository for Solidity smart contracts with Hardhat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published