暫無描述

Kristjan Kosic 9e7d94abbc Merge branch 'main' of github.com:protokol/typescript-hardhat-template into main 4 年之前
contracts cb3cc74499 chore: initial template definition files 4 年之前
deploy cb3cc74499 chore: initial template definition files 4 年之前
tasks cb3cc74499 chore: initial template definition files 4 年之前
test ee5aa47a96 chore: added sol-coverage and sol-hint module 4 年之前
.editorconfig cb3cc74499 chore: initial template definition files 4 年之前
.env.example cb3cc74499 chore: initial template definition files 4 年之前
.gitignore cb3cc74499 chore: initial template definition files 4 年之前
.prettierignore cb3cc74499 chore: initial template definition files 4 年之前
.solhint.json cb3cc74499 chore: initial template definition files 4 年之前
.solhintignore cb3cc74499 chore: initial template definition files 4 年之前
LICENSE c769c1481a Initial commit 4 年之前
README.md fc5d47bbb0 docs: readme 4 年之前
hardhat.config.ts ee5aa47a96 chore: added sol-coverage and sol-hint module 4 年之前
helper-hardhat-config.ts cb3cc74499 chore: initial template definition files 4 年之前
package-lock.json ee5aa47a96 chore: added sol-coverage and sol-hint module 4 年之前
package.json 222a2ae499 chore: mini readme instructions 4 年之前
renovate.json 6c063f4704 Add renovate.json 4 年之前
tsconfig.json cb3cc74499 chore: initial template definition files 4 年之前
tslint.json cb3cc74499 chore: initial template definition files 4 年之前

README.md

TypeScript Solidity Boilerplate Starter Kit

A BoilerPlate Template Project To Start Solidity Development With Hardhat and Typescript

Check the Hardhat documentation for more information.

https://hardhat.org/getting-started/

We recommend installing hh autocomplete so you can use hh shorthand globally.

npm i -g hardhat-shorthand

https://hardhat.org/guides/shorthand.html

Usage

Run npm install and then:

  • hh compile - to compile smart contract and generate typechain ts bindings
  • hh test - to run tests
  • hh deploy - to deploy to local network (see options for more)
  • hh TABTAB - to use autocomplete.

Check package.json scripts for more options. Use .env.example file and adapt it to you values and settings.

Have Fun!