Skip to content

serejke/explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Explorer

Simple Ethereum explorer to search and inspect blocks and transactions.

Explorer

Features

Inspect blocks Inspect blocks
Inspect transactions Inspect transactions
Search blocks and transactions Search blocks and transactions

Quikstart

$ ./start.sh

Starts on http://localhost:3000

Architecture

Architecture

Backend connects to an Ethereum RPC and loads blocks to MongoDB:

  • listens to new blocks
  • on startup loads 300 last blocks (ETH_LAST_BLOCKS_COUNT)

Development

// Start mongodb
docker-compose up mongodb -d

// Start backend 
$ cd backend && npm install && npm run start:dev
 
// Start frontend
$ cd frontend && npm install && npm run dev

Stack

Backend NestJS, database MongoDB, frontend RemixJS, UI React, styling Tailwind CSS, Ethereum JSON-RPC Web3.js

Contributions

PRs and issues are welcome! Code is Apache 2.0 licensed