Skip to content

0xBora/midgard-explorer-poc

Repository files navigation

Midgard Explorer

A real-time block explorer and visualization tool for the Midgard L2 network. Features a fraud proof builder for constructing fraud proofs easily by "anyone".

Quick Start

pnpm install
pnpm dev

Features

  • Real-time block production visualization
  • Transaction particle animation system
  • Fraud proof builder (double-spend proofs for now)
  • Network metrics and TPS monitoring

Project Structure

src/
├── api/              # Backend API server
├── config/           # Application configuration
├── data/             # Data layer (mock/real sources)
├── features/         # Feature modules
│   ├── block-production/
│   ├── fraud-proofs/
│   ├── transactions/
│   └── network/
├── types/            # TypeScript types
└── utils/            # Utility functions

Configuration

Optional .env file:

# Data source: mock or real
VITE_DATA_SOURCE_TYPE=mock

# Block generation interval in milliseconds
VITE_BLOCK_UPDATE_INTERVAL=40000

Default values apply if not specified.

About

PoC block explorer for Midgard L2

Resources

Stars

Watchers

Forks