CLI tool that displays current block info, TTD, total difficulty, and average block mining times up to the Ethereum Merge via the Infura API. Checks whenever a new block is mined and updates info accordingly in a nice format.
Clone this repository then npm install
in the directory.
You need an Infura API key, so go get one at www.infura.io, then create a .env
file like so:
INFURA_API_KEY=<YOUR INFURA API KEY HERE>
Then,
node index.js
.
LFG