NodeFactoryIo / solidity-contracts-starter

Template repository for Solidity smart contracts with Hardhat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Shell 48.6%Language:TypeScript 45.4%Language:Solidity 6.0%