Welcome to the Data Block project, an application designed for ESP32 microcontrollers, specifically the Lilygo T-Display S3 model. Explore the Bitcoin Timechain with a user-friendly interface displaying real-time information such as block height, transaction fees, and much more.
- Bitcoin Information Display: Get crucial data about the Bitcoin network, including current block height and transaction fees (low, medium, high).
- Explore Latest Blocks: Dive into details of the three latest blocks with an interface inspired by mempool.space.
- Customizable Countdown: Set up special events with a stylized countdown, as illustrated by the BEF example (18/05/2024).
- "Limit Fees": Displays 2 different screens based on the chosen limit for medium fees.
Create your own DataBlock using the online firwmare flash tool ESPtool and one of the binary files that you will find in the `bin folder. If you want you can compile the entire project using Arduino, PlatformIO or Expressif IDF.
- Get a TTGO T-display S3
- Download this repository
- Go to ESPtool online: https://espressif.github.io/esptool-js/
- Load the firmware with the binary from one of the sub-folders of bin corresponding to your board.
- Plug your board and select each file from the sub-folder (.bin files).
On startup, the ESP32 attempts to automatically connect to the last registered Wi-Fi network. If no network is found, it creates a Wi-Fi access point that you can connect to and configure Wi-Fi settings from your phone.
- Click "Configure WiFi" to access a new page.
- Fill in the information regarding Wi-Fi.
- Set the limit for fees in sat/vB before Mordor.
- Set the date for event display.
- Click "Save" to save the configuration.
Quickly click the bottom button to display the next screen. A long press on the bottom button will take you back to the first screen.
-
First Screen: Displays main information such as block height and current transaction fees.

-
Explore Blocks: Dive into the details of the three latest blocks in an interface inspired by mempool.space (https://mempool.space/en/).

-
Countdown: Displays a customized countdown for special events.

-
Limit Fees: Depending on the configuration in the Wi-Fi portal, arrive at this screen where the Shire or Mordor will be displayed with medium fees.

The project offers custom versions such as the BEF version and the Lord of the Rings (LOTR) version. To switch between these versions :
- comment out the "DataBlock.cpp" file

- uncomment the version of your choice in the "src/editions" folder.

To start, upload the firmware to your ESP32.
Note: For more customized versions, check the corresponding files in the "src/editions" folder.
If you've enjoyed the project and would like to show your appreciation, feel free to buy me a coffee :
Every sip supports the code! ☕️
Enjoy exploring the Bitcoin Timechain with Data Block! 🚀


