You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Motivation
Linera already has a block explorer but that's based on the node service
and GraphQL subscriptions. Since we are doubling down on the block
exporter and have an indexer destination (that pushes data to an SQL
database) we should build an indexer on top of that.
## Proposal
Add a simple block explorer that connects to the SQLite database and
displays blocks.
To test:
1. Build docker images (in `/docker` directory run
`./make-all-build.sh`).
2. Run the setup (in `/docker` dir run `./make-all-up.sh`).
You have a fully-functional setup now consisting of:
- linera storage service
- linera network (with 1 validator) and a faucet
- linera exporter
- linera indexer (SQLite db)
- linera explorer
To test further, you can deploy apps to it as usual to the local network
(faucet is on 8080 port by default).
<img width="1156" height="716" alt="Screenshot 2025-08-05 at 15 18 51"
src="https://github.com/user-attachments/assets/f7688196-0f90-4deb-8a86-83c56dc887e9"
/>
<img width="1142" height="655" alt="Screenshot 2025-08-05 at 15 19 11"
src="https://github.com/user-attachments/assets/8ed2a0a8-1b50-4af9-8277-72940e7b6aac"
/>
<img width="1192" height="644" alt="Screenshot 2025-08-05 at 15 19 24"
src="https://github.com/user-attachments/assets/76ff4e4d-7fd4-420b-80cf-4f4f09319a80"
/>
(This PR was ~~almost entirely~~ (not anymore – a lot of back-and-forth
and watching over his shoulder) written by Claude Code)
## Test Plan
Manual.
## Release Plan
- Nothing to do
## Links
- [reviewer
checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
0 commit comments