InvisibleSymbol / ethereum-burn-stats

Website that showcases EIP-1559 Burn

Home Page:http://watchtheburn.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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  

About

Website that showcases EIP-1559 Burn

http://watchtheburn.com

License:MIT License


Languages

Language:TypeScript 84.6%Language:Go 7.4%Language:SCSS 4.9%Language:HTML 2.4%Language:JavaScript 0.7%Language:Shell 0.1%