Return to Monke Overview – 返回Monke概览区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,Return to Monke Overview – 返回Monke概览区块链毕设代写 是一篇很好的国外资料

Return to Monke Overview

I created Return to Monke to demonstrate my understanding of creating and deploying a Web3 project on Ethereum’s Rinkeby Testnet.

Interacting With the Application

To interact with the app simply go to this link, connect your MetaMask wallet (make sure it’s on the Rinkeby network), and ensure that it has some test ETH.

Type a message in the message field and click the “Eat Banana” button to broadcast your message to the blockchain!

To view the contract on Etherscan go here

Tools Used

  • Alchemy (deployment)
  • Hardhat (testing & deployment)
  • Metamask (testing)
  • Replit (hosting frontend)
  • Rinkeby (testing)

Issues I Encountered During Development

The biggest issue I encountered during development so far was a permissions issue with Metamask that prevented my MetaMask wallet from updating its balance and being able to properly make transactions. My permissions were set to “This Can Read and Change Site” Data > “When You Click the Extension”, instead of “This Can Read and Change Site” Data > “On All Sites”

Shout out to Hasanza for helping me identify this issue

Solution Explanation

From MetaMask’s Support page

Note: When adding MetaMask to your browser, you may ask why you’d have to approve an extension to “read and change all your data on the websites your visit”. Get ready, the answer is technical:

In order to enable Dapps (Distributed Apps) to access the blockchain, MetaMask needs to inject a Web3 JavaScript object into each page. By doing so, it will not change the website, but merely allows it to access the network.

If you are still not convinced, a good way to experiment and manage your browser is to sandbox your MetaMask, i.e. creating, say, a Chrome profile where MetaMask is only installed in browser with that profile. This way, you could browse with or without MetaMask at will.”

Future Development Plans

Right now the application doesn’t include any incentivization mechanism to use the contract other than the random distribution of ether. In the future I’d like to gamify the application by adding a leaderboard that tracks the top users by bananas eaten, display a counter for total bananas eaten, flesh out a ranking system, and implement the ability for users to form clans.


返回Monke概述

我创建了Return to Monke,以展示我对在以太坊eth的Rinkeby测试网上创建和部署Web3项目的理解

与应用程序交互

要与应用程序交互,只需转到此链接,连接您的MetaMask钱包(确保它位于Rinkeby网络上),并确保它具有一些测试功能

在消息字段中键入消息,然后单击“吃香蕉”按钮将消息广播到区块链blockchain

要在Etherscan上查看合同,请转到此处

使用的工具

  • 安全帽(测试和部署)
  • 元掩码(测试)
  • Replit(托管前端)
  • Rinkeby(测试)
  • Rinkeby (testing)

我在开发过程中遇到的问题

到目前为止,我在开发过程中遇到的最大问题是Metamask的权限问题,它阻止我的Metamask钱包更新其余额并能够正确进行交易。我的权限设置为“此网站可读取和更改”数据>“当您单击扩展时”,而不是“这可以读取和更改站点”数据>“在所有网站上”

请向Hasanza大声呼喊,以帮助我从MetaMask的支持页面识别此问题。

解决方案解释

注意:在将MetaMask添加到浏览器时,您可能会问,为什么必须批准扩展为“读取并更改您访问的网站上的所有数据”。准备好,答案是技术性的:

为了使分布式应用程序(DAPP)能够访问区块链blockchain,MetaMask需要在每个页面中注入一个Web3 JavaScript对象。这样做,它不会改变网站,只会允许它访问网络

如果您仍然不确信,那么尝试和管理浏览器的一个好方法是对MetaMask进行沙箱处理,例如,创建一个Chrome配置文件,其中MetaMask仅安装在具有该配置文件的浏览器中。通过这种方式,您可以随意使用或不使用元掩码进行浏览。“

目前,除了乙醚的随机分布外,该应用程序不包括任何使用合同的激励机制。在未来,我想通过添加一个排行榜来游戏化这个应用程序,该排行榜可以跟踪吃香蕉最多的用户,显示一个吃香蕉总数的计数器,充实一个排名系统,并实现用户组建部落的能力

未来开发计划

Right now the application doesn’t include any incentivization mechanism to use the contract other than the random distribution of ether. In the future I’d like to gamify the application by adding a leaderboard that tracks the top users by bananas eaten, display a counter for total bananas eaten, flesh out a ranking system, and implement the ability for users to form clans.

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

www.interchains.cc

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

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

提供最优质的资源集合

立即查看 了解详情