Add web ui image to README.

This commit is contained in:
Alejandro Cabeza Romero 2025-11-06 10:27:30 +01:00
parent 687cecdac7
commit 8818b2bd44
No known key found for this signature in database
GPG Key ID: DA3D14AE478030FD
2 changed files with 15 additions and 1 deletions

View File

@ -2,6 +2,8 @@
This is a Proof of Concept (PoC) for a block explorer for the Nomos blockchain. This is a Proof of Concept (PoC) for a block explorer for the Nomos blockchain.
![Nomos Block Explorer Screenshot](resources/webui.png)
## Features ## Features
- Frontend (React-like SPA) - Frontend (React-like SPA)
@ -90,6 +92,14 @@ B <--> D["Database<br/>(SQLite)"]
docker build -t nomos-block-explorer . && docker run -p 8000:8000 nomos-block-explorer docker build -t nomos-block-explorer . && docker run -p 8000:8000 nomos-block-explorer
``` ```
- If you want to run the Explorer without a Node, make sure to set the `NBE_NODE_API` environment variable to `fake`:
1. ```bash
NBE_NODE_API=fake python src/main.py
```
2. ```bash
docker run -e NBE_NODE_API=fake -p 8000:8000 nomos-block-explorer
```
### Configuration ### Configuration
The block explorer is configured through environment variables. The following variables are available: The block explorer is configured through environment variables. The following variables are available:
@ -137,5 +147,9 @@ This PoC makes simplifications to focus on the core features:
- Timeouts - Timeouts
- Stream closed - Stream closed
- Frontend - Frontend
- Add a block / transaction search bar - Add a block / transaction search barImprove
- Make pages work with block/transaction hash, rather than the `id` - Make pages work with block/transaction hash, rather than the `id`
- Error handling
- Exceptions raised within async code pop up as ugly stack traces
- Better error messages
- Remove DB IDs from API responses and use hashes instead

BIN
resources/webui.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB