A lightweight Ethereum L2 blockchain explorer.
just1.0+- Docker and Docker Compose
- Bun 1.0+
- Rust 1.75+
cp .env.example .env
docker-compose up -dAccess the explorer at http://localhost:3000
cp .env.example .env
docker-compose up -d postgres
just frontend-installStart backend services (each in its own terminal):
just backend-indexerjust backend-apiStart frontend:
just frontend-devjust --list
just frontend-lint
just frontend-build
just backend-fmt
just backend-clippy
just backend-test
just ciCopy .env.example to .env and set RPC_URL. Common options:
| Variable | Description | Default |
|---|---|---|
RPC_URL |
Ethereum JSON-RPC endpoint | Required |
DATABASE_URL |
PostgreSQL connection string | Set in docker-compose |
START_BLOCK |
Block to start indexing from | 0 |
BATCH_SIZE |
Blocks per indexing batch | 100 |
RPC_REQUESTS_PER_SECOND |
RPC rate limit | 100 |
FETCH_WORKERS |
Parallel block fetch workers | 10 |
RPC_BATCH_SIZE |
Blocks per RPC batch request | 20 |
IPFS_GATEWAY |
Gateway for NFT metadata | https://ipfs.io/ipfs/ |
REINDEX |
Wipe and reindex from start | false |
MIT