Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alephium BlockFlow Visualizer

Real-time visualization of Alephium's unique 16-chain parallel architecture (4 groups × 4 chains).

What is this?

This project visualizes Alephium's BlockFlow algorithm, showing all 16 chains producing blocks in parallel. Each chain is represented by a card displaying:

  • Block height (total blocks mined)
  • Timestamp of the last block
  • Number of transactions in the last block
  • Visual heatmap (color intensity based on chain activity)

Click any chain to see detailed information including:

  • Mining difficulty
  • Block hash and timestamp
  • Last block transactions with hash and amount

Header metrics include:

  • Network TPS (estimated from recent blocks)
  • Average block time (based on real block timestamps)
  • Consensus summary (PoLW)

Data is fetched from the Alephium mainnet API and refreshes every 15 seconds.

How to run

Prerequisites

  • Node.js 18+ installed
  • npm or yarn

Installation

# Install dependencies
npm install

Development

# Start development server
npm run dev

Open http://localhost:5173 in your browser.

Build for production

# Build the project
npm run build

# Preview production build
npm run preview

Tech Stack

  • React - UI framework
  • Vite - Build tool
  • Alephium Node API - Blockchain data source

Features

  • ✅ Real-time display of all 16 chains in a 4×4 grid
  • ✅ Live data from Alephium mainnet
  • ✅ Auto-refresh every 15 seconds with countdown indicator
  • ✅ Interactive chain details modal
  • ✅ Mining difficulty display
  • ✅ Transaction list with hash and amount
  • ✅ Visual heatmap based on block height
  • ✅ New block animation pulse
  • ✅ Network TPS (estimated from recent blocks)
  • ✅ Average block time metric
  • ✅ PoLW consensus highlight
  • ✅ Total blocks and transactions metrics
  • ✅ Skeleton loading states
  • ✅ Responsive design (desktop, tablet, mobile)
  • ✅ Alephium brand theme

Hackathon Track

This project is submitted for the BlockFlow Visualization / UI + Data Challenge track of the Hackin'Dau x Alephium hackathon.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages