This is a simple Bitcoin mempool monitor for the TTGO T-Display ESP32. It displays the current state of the Bitcoin mempool, including the number of unconfirmed transactions, the estimated transaction fee rates, the current block height, and a line chart showing the suggested fee rate over the past 24 hours.
- Clone this repository or download the ZIP file and extract it to your preferred location.
- Open the
sketch.ino
file in the Arduino IDE. - Connect your TTGO T-Display to your computer using a USB cable.
- Select your board and serial port in the Arduino IDE.
- Upload the sketch to your board.
After uploading the sketch to your board, the TTGO T-Display should display the current state of the Bitcoin mempool. You can use the two buttons on the side of the device to cycle through the different display modes.
- Fees: Displays the current suggested fee rates for Bitcoin transactions, based on their estimated confirmation time.
- LN Stats: Display information about the lightning network like channel count, clear and tor node count, network capacity and median fee rate.
- Blocks: Displays the current block height of the Bitcoin blockchain.
- Price: Displays the current BTC price in USD, GBT, EUR.
- Tx Vol: Displays a line chart showing the number of transactions confirmed in each block over the previous 6 blocks. Trends denoted by color.
- LN Growth: Displays information showing the growth of Lightning Network capacity over 6 months. Lines for node types overlayed on bars showing capacity.
- nodeBuddy: Display LN+ stats about a node you specify by pubID.
- Button 1: Cycles +1 through the different display modes.
- Button 2: Cycles -1 through the different display modes
If you would like to contribute to this project, please feel free to submit a pull request or open an issue.
This project uses the following libraries:
- TFT_eSPI by Bodmer
- HTTPClient by Adrian McEwen
- ArduinoJson by Benoit Blanchon
The line charts are generated using the TFT_eSPI_Graph library by Bodmer.
This Project uses the following APIs: