基于区块链的毕业设计Watch the Burn ? – 小心烧伤?

本文提供基于区块链的毕业设计国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,基于区块链的毕业设计Watch the Burn ? – 小心烧伤? 是一篇很好的国外资料

Watch the Burn ?

When EIP-1559 gets deployed, ETH will be burned in every block if transactions exist. This website will show you how much ETH got burned in total and per block.

Currently it is running on Ethereum Dev Net, code named Calaveras, it is getting ready for London fork when EIP-1559 will be deployed. Regular testnets (Goerli) coming in a few weeks, target dates here: https://github.com/ethereum/eth1.0-specs/blob/master/network-upgrades/mainnet-upgrades/london.md

Upgrade Schedule

Network Block Expected Date Fork ID
Goerli 5062605 June 30, 2021 0xB8C6299D
Mainnet 12965000 Aug 4, 2021 0xB715077D

Donate towards Server Costs ?

The costs of running this experiment is pretty high since it requires a dev version of Geth to be up and running which requires lots of memory and cpu. The VM and SSD storage currently costs exactly $150/month USD. If you would like to help out with the costs, please reach out to me.

If you would like to tip, my ethereum address is mansour.eth, or my gitcoin grant.

Setup dev environment

Setting up the environment requires a geth instance cloned below and web app to run.

Setup custom geth

  1. Clone geth and build docker image. Assumes /data on local system exists

    git clone https://github.com/mohamedmansour/go-ethereum.git git checkout burned-eth cd go-ethereum docker build -t ethereum-node . mkdir /data 
  2. To run Geth inside Docker, run one of the following:

    • Goerli
       docker run -p 8566:8546 -p 8567:8545 -p 30503:30303 --name=geth-goerli -dti -v /data:/data ethereum-node --datadir=/data/goerli --goerli --port=3030 --http --http.addr="0.0.0.0" --http.port=8545 --http.api="net,web3,eth,debug" --http.corsdomain="localhost"  --ws --ws.addr="0.0.0.0" --ws.port=8546 --ws.api="net,web3,eth,debug" --ws.origins="*" --maxpeers=5 

Setup web dev environment

  1. Create env file:

    cp .env .env.local 
  2. Add your geth ws url to .env.local:

    REACT_APP_WEB3_URL=localhost 
  3. Install packages

    npm install 
  4. Run the web app:

    npm start 
  5. Launch the web app (goerli):

    open http://goerli.go.localhost:3000: 

Some devops maintenance

Send transactions to testnet

Install web3 CLI client curl -LSs https://raw.githubusercontent.com/gochain/web3/master/install.sh | sh use it to create a test account, and you can use it to send transactions.

Access geth console If you ran the goerli docker geth, you can just do, not rm is there so it cleans the container up after closing!:

docker run --rm -ti -v /data:/data ethereum-node --datadir=/data/goerli attach   

观察燃烧?

当部署EIP-1559时,如果存在事务,ETH将在每个块中烧掉。本网站将向您展示ETH的总燃烧量和每个街区的燃烧量

目前它正在以太坊eth开发网络(代号为Calaveras)上运行,它正在为部署EIP-1559时的伦敦分叉做好准备。常规测试网(Goerli)将在几周内推出,目标日期如下:https://github.com/ethereum/eth1.0-specs/blob/master/network-upgrades/mainnet-upgrades/london.md

升级计划

Network Block Expected Date Fork ID
戈尔利 5062605 2021年6月30日 主网
12965000 12965000 Aug 4, 2021 0xB715077D

捐助服务器成本?

运行此实验的成本非常高,因为它需要一个开发版的Geth才能启动并运行,这需要大量内存和cpu。VM和SSD存储目前的价格正好是每月150美元。如果你想帮忙支付费用,请联系我

如果您想给小费,我的以太坊eth地址是mansour.eth,或者我的gitcoin grant

设置开发环境⚙

设置环境需要在下面克隆一个geth实例并运行web应用程序

设置自定义geth

  1. 要在Docker内部运行Geth,请运行以下操作之一:Goerli Docker run-p8566:8546-p8567:8545-p30503:30303–name=Geth Goerli-dti-v/data:/data以太坊eth节点–datadir=/data/Goerli–Goerli–port=3030–http–http.addr=“0.0.0.0.0”-http.port=8545–http.api=“net,web3,eth,调试”–http.corsdomain=“localhost”–ws–ws.addr=“0.0.0.0”–ws.port=8546–ws.api=“net,web3,eth,debug”-ws.origins=“*”–maxpeers=5
  2. Goerli docker run-p8566:8546-p8567:8545-p30503:30303–name=geth Goerli-dti-v/data:/data以太坊eth节点–datadir=/data/Goerli–Goerli–port=3030–http–http.addr=“0.0.0.0”-http.port=8545–http.api=“net,web3,eth,调试”–http.corsdomain=“localhost”–ws–ws.addr=“0.0.0.0”–ws.port=8546–ws.api=“net,web3,eth,调试”-ws.origins=“*”–maxpeers=5

一些devops维护

  1. 将geth ws url添加到.env.local:REACT_APP_WEB3_url=localhost
  2. 启动web应用程序(goerli):打开http://goerli.go.localhost:3000:
  3. Install packages

    npm install 
  4. Run the web app:

    npm start 
  5. Launch the web app (goerli):

    open http://goerli.go.localhost:3000: 

Some devops maintenance

Send transactions to testnet

Install web3 CLI client curl -LSs https://raw.githubusercontent.com/gochain/web3/master/install.sh | sh use it to create a test account, and you can use it to send transactions.

Access geth console If you ran the goerli docker geth, you can just do, not rm is there so it cleans the container up after closing!:

docker run --rm -ti -v /data:/data ethereum-node --datadir=/data/goerli attach   

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

www.interchains.cc

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

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » 基于区块链的毕业设计Watch the Burn ? – 小心烧伤?

提供最优质的资源集合

立即查看 了解详情