ICO Maker – ICO制造商区块链毕设代写
区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,ICO Maker – ICO制造商区块链毕设代写 是一篇很好的国外资料
ICO Maker
Smart Contracts to build your Crowdsale solution
Install
npm install ico-maker
Usage
BaseCrowdsale.sol
BaseCrowdsale is an extensible Crowdsale contract with Timed and Capped behaviours.
pragma solidity ^0.7.0; import "ico-maker/contracts/crowdsale/BaseCrowdsale.sol"; contract MyCrowdsale is BaseCrowdsale { constructor( uint256 rate, address payable wallet, IERC20 token ) BaseCrowdsale(rate, wallet, token) {} }
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
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
chore: update dependencies and move to github actions
开发
Linter
许可证
基本cookies
始终处于活动状态
分析cookies
<><
><
><
><
><
><
>
构建您的众包解决方案的智能合约。
BaseCrowdsale是一种可扩展的众包合同,具有定时和限制行为。
打开Truffle控制台
打开Hardhat控制台
使用Solhint
使用ESLint并修复根据MIT许可发布的代码。
我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。了解更多。
我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。
您可以随时通过单击页面底部的Cookie首选项来更新您的选择。有关更多信息,请参阅我们的隐私声明。我们使用cookies来执行重要的功能。了解更多
我们使用analytics Cookie来了解您如何使用我们的网站,以便我们能够使其变得更好,例如,它们用于收集有关您访问的页面以及完成一项任务需要多少次单击的信息。了解更多信息BaseCrowdsale.sol
开发
Linter
许可证
基本cookies
始终处于活动状态
分析cookies
Smart Contracts to build your Crowdsale solution
Linter
npm install ico-maker
许可证
基本cookies
构建您的众包解决方案的智能合约。
pragma solidity ^0.7.0; import "ico-maker/contracts/crowdsale/BaseCrowdsale.sol"; contract MyCrowdsale is BaseCrowdsale { constructor( uint256 rate, address payable wallet, IERC20 token ) BaseCrowdsale(rate, wallet, token) {} }
始终处于活动状态
分析cookies
npm install
Usage (using Truffle)
BaseCrowdsale是一种可扩展的众包合同,具有定时和限制行为。
npm run truffle:console
Compile
npm run truffle:compile
Test
npm run truffle:test
Usage (using Hardhat)
打开Truffle控制台
npm run hardhat:console
Compile
npm run hardhat:compile
Test
npm run hardhat:test
Code Coverage
npm run hardhat:coverage
Linter
打开Hardhat控制台
npm run lint:sol
使用Solhint
npm run lint:js
使用ESLint并修复根据MIT许可发布的代码。
npm run lint:fix
License
我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。了解更多。
我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。
您可以随时通过单击页面底部的Cookie首选项来更新您的选择。有关更多信息,请参阅我们的隐私声明。我们使用cookies来执行重要的功能。了解更多
我们使用analytics Cookie来了解您如何使用我们的网站,以便我们能够使其变得更好,例如,它们用于收集有关您访问的页面以及完成一项任务需要多少次单击的信息。了解更多信息BaseCrowdsale.sol
开发
Linter
许可证
基本cookies
始终处于活动状态
分析cookies
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
chore: update dependencies and move to github actions
部分转自网络,侵权联系删除区块链源码网
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » ICO Maker – ICO制造商区块链毕设代写