A modern, multi-coin blockchain explorer built with Node.js and Express. Features a beautiful dark theme with customizable branding for any cryptocurrency.
- π Dark Theme - Beautiful dark UI with customizable accent colors
- π§ Multi-Coin Support - Configure for any coin via
.envfile - π Rich Analytics - Transaction charts, network statistics
- π Universal Search - Search blocks, transactions, addresses
- π± Responsive Design - Works on desktop, tablet, and mobile
- β‘ Fast - Direct connection to electrs backend
DedooExplorer requires dedoo-electrs-oldchain as the blockchain backend.
Before running the explorer, you must:
- Clone and set up dedoo-electrs-oldchain for your blockchain
- Ensure it's running and accessible (default:
http://127.0.0.1:50010) - Configure the
ELECTRS_APIURL in your.envfile
# Clone and setup electrs backend first
git clone https://github.com/dedooxyz/dedoo-electrs-oldchain.git
cd dedoo-electrs-oldchain
# Follow the setup instructions in that repository- Node.js 18+
- npm or yarn
- Running dedoo-electrs-oldchain instance
# Clone the repository
git clone https://github.com/dedooxyz/DedooExplorer.git
cd DedooExplorer
# Install dependencies
npm install
# Copy environment template
cp .env.example .env
# Edit configuration for your coin
nano .env
# Start the explorer
npm startCopy .env.example to .env and customize:
# Server
PORT=3001
# Electrs API (your dedoo-electrs-oldchain instance)
ELECTRS_API=http://127.0.0.1:50010
# Explorer Branding
EXPLORER_NAME=My Coin Explorer
COIN_NAME=MyCoin
COIN_TICKER=MYC
COIN_TAGLINE=The next generation cryptocurrency
# Logo (relative to /public or absolute URL)
LOGO_URL=/img/logo.png
# Social Links (leave empty to hide)
WEBSITE_URL=https://mycoin.com
GITHUB_URL=https://github.com/mycoin
TELEGRAM_URL=https://t.me/mycoin
TWITTER_URL=https://x.com/mycoin
DISCORD_URL=https://discord.gg/mycoinDedooExplorer/
βββ server.js # Express server & API routes
βββ package.json # Dependencies & metadata
βββ .env # Configuration (create from .env.example)
βββ .env.example # Configuration template
βββ public/
β βββ css/
β β βββ style.css # Main stylesheet
β βββ js/
β β βββ app.js # Frontend JavaScript
β βββ img/
β βββ logo.png # Your coin logo
βββ views/
βββ partials/
β βββ header.ejs # Navigation header
β βββ footer.ejs # Footer with links
βββ index.ejs # Dashboard
βββ blocks.ejs # Blocks list
βββ block.ejs # Block details
βββ transactions.ejs # Transactions list
βββ transaction.ejs # Transaction details
βββ address.ejs # Address details
βββ statistics.ejs # Statistics page
βββ error.ejs # Error page
| Page | Route | Description |
|---|---|---|
| Dashboard | / |
Network stats, recent blocks, chart |
| Blocks | /blocks |
Paginated block list |
| Block Detail | /block/:hash |
Block info & transactions |
| Transactions | /transactions |
Mempool + recent transactions |
| Transaction | /tx/:txid |
Transaction inputs/outputs |
| Address | /address/:addr |
Balance, UTXOs, history |
| Statistics | /statistics |
Network analytics |
| Search | /search?q= |
Universal search |
The explorer proxies requests to electrs at /api/*:
# Examples
GET /api/blocks/tip/height
GET /api/block/:hash
GET /api/tx/:txid
GET /api/address/:addressReplace public/img/logo.png with your coin's logo (recommended: 200x200px PNG).
Edit CSS variables in public/css/style.css:
:root {
--primary: #F5A623; /* Main accent color */
--primary-light: #FFD700; /* Hover state */
--primary-dark: #C88A1D; /* Darker shade */
--bg-dark: #0A0A0A; /* Background */
--bg-card: #111111; /* Card background */
}# Run with auto-reload (if nodemon installed)
npm run dev
# Or standard start
npm start# Install PM2
npm install -g pm2
# Start with PM2
pm2 start server.js --name dedoo-explorer
# Auto-start on boot
pm2 startup
pm2 save# Clone repository
git clone https://github.com/dedooxyz/DedooExplorer.git
cd DedooExplorer
# Create your .env file
cp .env.example .env
nano .env
# Build and run with Docker Compose
docker-compose up -d
# View logs
docker-compose logs -f
# Stop
docker-compose downThe .env file and logo.png are mounted as volumes, so you can edit them without rebuilding:
# Edit configuration
nano .env
# Replace logo (PNG recommended)
cp /path/to/your/logo.png ./logo.png
# Restart to apply changes
docker-compose restart# Build image
docker build -t dedoo-explorer .
# Run container
docker run -d \
--name dedoo-explorer \
-p 3001:3001 \
-v $(pwd)/.env:/app/.env:ro \
dedoo-explorer- Built by @senasgr at Dedoo.xyz
- Backend: dedoo-electrs-oldchain
MIT License - see LICENSE file.
DedooExplorer v2.0.0 - A Dedoo.xyz Project
