Advanced Solidity – Crowdsale of PupperCoin Token – 高级坚固性-傀儡币众筹区块链毕设代写
区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,Advanced Solidity – Crowdsale of PupperCoin Token – 高级坚固性-傀儡币众筹区块链毕设代写 是一篇很好的国外资料
Advanced Solidity – Crowdsale of PupperCoin Token
A new start-up has decided to crowdsale their PupperCoin token in order to help fund the network development. This network will be used to track the dog breeding activity across the globe in a decentralized way, and allow humans to track the genetic trail of their pets. You have already worked with the necessary legal bodies and have the green light on creating a crowdsale open to the public. However, the start-up is required to enable refunds if the crowdsale is successful and the goal is met, and it is only allowed to raise a maximum of 300 Ether. The crowdsale will run for 24 weeks.
ERC20 token should be created and will be minted through a Crowdsale
contract that can leverage the OpenZeppelin Solidity library.
This crowdsale contract will manage the entire process, allowing users to send ETH and get back PUP (PupperCoin). This contract will mint the tokens automatically and distribute them to buyers in one transaction.
It will need to inherit Crowdsale
, CappedCrowdsale
, TimedCrowdsale
, RefundableCrowdsale
, and MintedCrowdsale
.
The crowdsale will be conducted on the Ropsten testnet in order to get a real-world pre-production testing.
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
Advanced Solidity – Crowdsale of PupperCoin Token
一家新成立的公司决定将其PupperCoin代币进行众包销售,以帮助为网络发展提供资金。这个网络将被用来以分散的方式追踪全球范围内的狗繁殖活动,并允许人类追踪其宠物的遗传轨迹。你已经与必要的法律机构合作过,并且已经为创建一个向公众开放的众包交易开了绿灯。然而,如果众筹成功并达到目标,初创公司必须能够获得退款,并且最多只能筹集300乙醚。众筹活动将持续24周。
应创建ERC20代币,并通过可利用OpenZeppelin Solidity库的众包合同进行铸造。
这一众包合同将管理整个过程,允许用户发送ETH并取回PUP(PupperCoin)。该合同将自动铸造代币,并在一次交易中将其分发给买家。
它需要继承Crowdsale、CappedCrowdsale、TimedCrowdsale、returnablecrowdsale和MintedCrowdsale。
众包销售将在Ropsten testnet上进行,以获得真实世界的预生产测试。
我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。了解更多。
我们使用可选的第三方分析cookies来了解您如何使用GitHub.com网站所以我们可以制造更好的产品。
您可以随时通过单击页面底部的Cookie首选项来更新您的选择。有关更多信息,请参阅我们的隐私声明。
Essential cookies
我们使用基本Cookie来执行基本的网站功能,例如,它们用于让您登录。了解更多
Always active
Analytics cookies
我们使用analytics Cookie来了解您如何使用我们的网站,以便我们能够使其变得更好,例如,它们用于收集有关您访问的页面以及完成一项任务需要多少次单击的信息。了解更多信息
部分转自网络,侵权联系删除区块链源码网
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » Advanced Solidity – Crowdsale of PupperCoin Token – 高级坚固性-傀儡币众筹区块链毕设代写