TypeScript Solidity Boilerplate Starter Kit – TypeScript Solidity样板初学者工具包区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,TypeScript Solidity Boilerplate Starter Kit – TypeScript Solidity样板初学者工具包区块链毕设代写 是一篇很好的国外资料

TypeScript Solidity Boilerplate Starter Kit - TypeScript Solidity样板初学者工具包

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!


TypeScript Solidity Boilerplate Starter Kit - TypeScript Solidity样板初学者工具包

TypeScript Solidity样板初学者工具包

一个样板模板项目,用于开始使用Hardhat和Typescript开发Solidity。您所要做的就是从模板创建一个新的存储库,并开始编写smartcontracts

安全帽配置

  • 已启用TypeScript支持
  • 已安装typechain插件(TypeScript类型绑定由智能合约生成)/检查typechain文档
  • 已启用安全帽部署插件(使用部署文件夹中的部署,订购并贴上标签;多网络)
  • 启用了安全帽控制台-允许solidity code中使用console.log
  • 测试环境已配置并可运行

有关更多信息,请查看安全帽文档

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

我们建议安装hh autocomplete,以便您可以在全球范围内使用hh速记

运行npm安装,然后:

检查package.json脚本以获取更多选项。使用.env.example文件并使其适应您的值和设置

使用

玩得开心

  • hh编译-编译智能合约并生成类型链ts绑定
  • hh测试-运行测试
  • hh部署-部署到本地网络(请参阅选项更多信息)
  • hh选项卡-使用自动完成
  • hh节点-运行本地主机节点

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

Have Fun!

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/23544.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » TypeScript Solidity Boilerplate Starter Kit – TypeScript Solidity样板初学者工具包区块链毕设代写

提供最优质的资源集合

立即查看 了解详情