Нема описа

renovate[bot] 158b9967c8 chore(deps): update actions/setup-node action to v3 (#75) пре 3 година
.github 158b9967c8 chore(deps): update actions/setup-node action to v3 (#75) пре 3 година
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 193b82abcf chore: update all deps to latest (#67) пре 3 година
.editorconfig cb3cc74499 chore: initial template definition files пре 4 година
.env.example cb3cc74499 chore: initial template definition files пре 4 година
.gitignore 0d85f27f8c ci: setup commands and added ci for testing build (#4) пре 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 da67f242b3 Update README.md пре 4 година
hardhat.config.ts 193b82abcf chore: update all deps to latest (#67) пре 3 година
header.png 9f9584b224 docs: header пре 4 година
helper-hardhat-config.ts cb3cc74499 chore: initial template definition files пре 4 година
package-lock.json 89c53c6cfb chore(deps): update dependency @nomiclabs/hardhat-etherscan to v3 (#73) пре 3 година
package.json 89c53c6cfb chore(deps): update dependency @nomiclabs/hardhat-etherscan to v3 (#73) пре 3 година
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

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!