Nincs leírás

renovate[bot] 158b9967c8 chore(deps): update actions/setup-node action to v3 (#75) 3 éve
.github 158b9967c8 chore(deps): update actions/setup-node action to v3 (#75) 3 éve
contracts cb3cc74499 chore: initial template definition files 4 éve
deploy cb3cc74499 chore: initial template definition files 4 éve
tasks cb3cc74499 chore: initial template definition files 4 éve
test 193b82abcf chore: update all deps to latest (#67) 3 éve
.editorconfig cb3cc74499 chore: initial template definition files 4 éve
.env.example cb3cc74499 chore: initial template definition files 4 éve
.gitignore 0d85f27f8c ci: setup commands and added ci for testing build (#4) 4 éve
.prettierignore cb3cc74499 chore: initial template definition files 4 éve
.solhint.json cb3cc74499 chore: initial template definition files 4 éve
.solhintignore cb3cc74499 chore: initial template definition files 4 éve
LICENSE c769c1481a Initial commit 4 éve
README.md da67f242b3 Update README.md 4 éve
hardhat.config.ts 193b82abcf chore: update all deps to latest (#67) 3 éve
header.png 9f9584b224 docs: header 4 éve
helper-hardhat-config.ts cb3cc74499 chore: initial template definition files 4 éve
package-lock.json 89c53c6cfb chore(deps): update dependency @nomiclabs/hardhat-etherscan to v3 (#73) 3 éve
package.json 89c53c6cfb chore(deps): update dependency @nomiclabs/hardhat-etherscan to v3 (#73) 3 éve
renovate.json 6c063f4704 Add renovate.json 4 éve
tsconfig.json cb3cc74499 chore: initial template definition files 4 éve
tslint.json cb3cc74499 chore: initial template definition files 4 éve

README.md

Img

TypeScript Solidity Boilerplate Starter Kit

A BoilerPlate Template Project To Start Solidity Development With Hardhat and Typescript. All you have to do is create a new repository from the template and start coding your smartcontracts.

Hardhat Configuration

  • typescript support enabled
  • typechain plugin installed (typescript type bindings are generated from smart contracts)/check Typechain docs
  • hardhat-deploy plugin enabled (use deployments from deploy folder, order and tag them; multi-network)
  • hardhat console enabled - to allow console.log usage within solidity code
  • testing environment configured and operational

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
  • hh node - to run a localhost node

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

Have Fun!