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.


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网站所以我们可以制造更好的产品。了解更多。

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

www.interchains.cc

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

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 !
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » Advanced Solidity – Crowdsale of PupperCoin Token – 高级坚固性-傀儡币众筹区块链毕设代写

提供最优质的资源集合

立即查看 了解详情