Solidity Template – 固体模板区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,Solidity Template – 固体模板区块链毕设代写 是一篇很好的国外资料

Solidity Template

My favourite setup for writing Solidity smart contracts.

  • Buidler: compile and run the smart contracts on a local development network
  • TypeChain: generate TypeScript types for smart contracts
  • Ethers: renowned Ethereum library and wallet implementation
  • Waffle: tooling for writing comprehensive smart contract tests
  • Solhint: linter
  • Solcover code coverage
  • Prettier Plugin Solidity: code formatter

This is a GitHub template, which means you can reuse it as many times as you want. You can do that by clicking the “Use this template” button at the top of the page.

Usage

Pre Requisites

Before running any command, make sure to install dependencies:

$ yarn install

Compile

Compile the smart contracts with Buidler:

$ yarn compile

TypeChain

Compile the smart contracts and generate TypeChain artifacts:

$ yarn build

Lint Solidity

Lint the Solidity code:

$ yarn lint:sol

Lint TypeScript

Lint the TypeScript code:

$ yarn lint:ts

Test

Run the Mocha tests:

$ yarn test

Coverage

Generate the code coverage report:

$ yarn coverage

Clean

Delete the smart contract artifacts, the coverage reports and the Buidler cache:

$ yarn clean

We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products. Learn more.


坚固性模板

我最喜欢的编写可靠智能合约的设置。

  • 更漂亮的插件可靠性:代码格式化程序
  • TypeChain: generate TypeScript types for smart contracts
  • Ethers: renowned Ethereum library and wallet implementation
  • Waffle: tooling for writing comprehensive smart contract tests
  • Solhint: linter
  • Solcover code coverage
  • Prettier Plugin Solidity: code formatter

这是一个GitHub模板,这意味着您可以随意重用它。您可以通过单击页面顶部的“使用此模板”按钮来完成此操作。

使用情况

先决条件

在运行任何命令之前,请确保安装依赖项:

$ yarn install

编译编译

使用Buildler编译智能合约:

$ yarn compile

类型链

编译智能合约并生成类型链工件:

$ yarn build

林特牢固性

Lint实体代码:

$ yarn lint:sol

林分牢固性

Lint类型脚本代码:

$ yarn lint:ts

林分打字脚本

运行Mocha测试:

$ yarn test

测试

生成代码覆盖率报告:

$ yarn coverage

测试

删除智能合约工件、覆盖率报告和Buidler缓存:

$ yarn clean

我们使用可选的第三方分析cookie来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。了解更多。

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

www.interchains.cc

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

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

提供最优质的资源集合

立即查看 了解详情