BEP20 Token Generator – BEP20令牌生成器区块链毕设代写
区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,BEP20 Token Generator – BEP20令牌生成器区块链毕设代写 是一篇很好的国外资料
BEP20 Token Generator
The new Smart Contract Generator for BEP20 Token.
Try it
https://vittominacori.github.io/bep20-generator
Development
Install dependencies
npm install
Usage (using Truffle)
Open the Truffle console
npm run truffle:console
Compile
npm run truffle:compile
Test
npm run truffle:test
Usage (using Hardhat)
Open the Hardhat console
npm run hardhat:console
Compile
npm run hardhat:compile
Test
npm run hardhat:test
Code Coverage
npm run hardhat:coverage
Linter
Use Solhint
npm run lint:sol
Use ESLint
npm run lint:js
Use ESLint and fix
npm run lint:fix
Flattener
This allow to flatten the code into a single file
Edit scripts/flat.sh
to add your contracts
npm run flat
Analysis
Note: it is better to analyze the flattened code to have a bigger overview on the entire codebase. So run the flattener first.
Describe
The describe
command shows a summary of the contracts and methods in the files provided
npx surya describe dist/StandardBEP20.dist.sol
Dependencies
The dependencies
command outputs the c3-linearization of a given contract’s inheirtance graph. Contracts will be listed starting with most-derived, ie. if the same function is defined in more than one contract, the solidity compiler will use the definition in whichever contract is listed first.
npx surya dependencies StandardBEP20 dist/StandardBEP20.dist.sol
Generate Report
Edit scripts/analyze.sh
to add your contracts
npm run analyze
The inheritance
command outputs a DOT-formatted graph of the inheritance tree.
The graph
command outputs a DOT-formatted graph of the control flow.
The mdreport
command creates a markdown description report with tables comprising information about the system’s files, contracts and their functions.
The sol2uml
generates UML class diagram from Solidity contracts.
License
Code released under the MIT License.
We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products. Learn more.
We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products.
You can always update your selection by clicking Cookie Preferences at the bottom of the page. For more information, see our Privacy Statement.
Essential cookies
We use essential cookies to perform essential website functions, e.g. they’re used to log you in. Learn more
Always active
Analytics cookies
We use analytics cookies to understand how you use our websites so we can make them better, e.g. they’re used to gather information about the pages you visit and how many clicks you need to accomplish a task. Learn more
分析
<><
><
><
><
><
>
BEP20代币的新智能合约生成器。
https://vittominacori.github.io/bep20-generator
打开Truffle控制台
打开Hardhat控制台
使用Solhint
使用ESLint并修复
这允许将代码展平到单个文件中
编辑脚本/平坦.sh添加您的合同
注意:最好分析扁平化的代码,以便对整个代码库有一个更大的概述。所以先运行压平机。
describe命令显示所提供文件中契约和方法的摘要
dependencies命令输出给定契约的inheitance图的c3线性化。契约将从最派生的开始列出,也就是说,如果在多个契约中定义了同一个函数,则solidity编译器将使用最先列出的契约中的定义。
编辑脚本/分析.sh要添加契约,inheritance命令将输出一个点格式的继承树图。
graph命令输出控制流的点格式图形。
mdreport命令使用包含有关系统文件、合同及其功能的信息的表格创建降价说明报告。
sol2uml从Solidity契约生成UML类图。
根据麻省理工学院许可证发布的代码。
我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。了解更多。
我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。
您可以随时通过单击页面底部的Cookie首选项来更新您的选择。有关更多信息,请参阅我们的隐私声明。
我们使用基本Cookie来执行基本的网站功能,例如,它们用于让您登录。了解更多
我们使用analytics Cookie来了解您如何使用我们的网站,以便我们能够使其变得更好,例如,它们用于收集有关您访问的页面以及完成一项任务需要多少次单击的信息。了解更多信息
分析
BEP20代币的新智能合约生成器。
Try it
https://vittominacori.github.io/bep20-generator
Development
Install dependencies
npm install
Usage (using Truffle)
打开Truffle控制台
npm run truffle:console
Compile
npm run truffle:compile
Test
npm run truffle:test
Usage (using Hardhat)
打开Hardhat控制台
npm run hardhat:console
Compile
npm run hardhat:compile
Test
npm run hardhat:test
Code Coverage
npm run hardhat:coverage
Linter
使用Solhint
npm run lint:sol
使用ESLint并修复
npm run lint:js
这允许将代码展平到单个文件中
npm run lint:fix
Flattener
编辑脚本/平坦.sh添加您的合同
注意:最好分析扁平化的代码,以便对整个代码库有一个更大的概述。所以先运行压平机。
npm run flat
Analysis
describe命令显示所提供文件中契约和方法的摘要
Describe
dependencies命令输出给定契约的inheitance图的c3线性化。契约将从最派生的开始列出,也就是说,如果在多个契约中定义了同一个函数,则solidity编译器将使用最先列出的契约中的定义。
npx surya describe dist/StandardBEP20.dist.sol
Dependencies
编辑脚本/分析.sh要添加契约,inheritance命令将输出一个点格式的继承树图。
npx surya dependencies StandardBEP20 dist/StandardBEP20.dist.sol
Generate Report
graph命令输出控制流的点格式图形。
npm run analyze
mdreport命令使用包含有关系统文件、合同及其功能的信息的表格创建降价说明报告。
sol2uml从Solidity契约生成UML类图。
根据麻省理工学院许可证发布的代码。
我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。了解更多。
License
我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。
您可以随时通过单击页面底部的Cookie首选项来更新您的选择。有关更多信息,请参阅我们的隐私声明。
我们使用基本Cookie来执行基本的网站功能,例如,它们用于让您登录。了解更多
我们使用analytics Cookie来了解您如何使用我们的网站,以便我们能够使其变得更好,例如,它们用于收集有关您访问的页面以及完成一项任务需要多少次单击的信息。了解更多信息
分析
Essential cookies
We use essential cookies to perform essential website functions, e.g. they’re used to log you in. Learn more
Always active
Analytics cookies
We use analytics cookies to understand how you use our websites so we can make them better, e.g. they’re used to gather information about the pages you visit and how many clicks you need to accomplish a task. Learn more
部分转自网络,侵权联系删除区块链源码网
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » BEP20 Token Generator – BEP20令牌生成器区块链毕设代写