SkillAgentSearch skills...

Dexplorer

Disposable Cosmos-based Blockchain Explorer

Install / Use

/learn @arifintahu/Dexplorer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<div align="center"> <h1 align="center">🚀 Dexplorer</h1> <p align="center"> <strong>Disposable Cosmos-based Blockchain Explorer</strong> <br /> A lightweight, real-time blockchain explorer for Cosmos SDK chains <br /> <br /> <a href="#demo">View Demo</a> · <a href="https://github.com/arifintahu/dexplorer/issues">Report Bug</a> · <a href="https://github.com/arifintahu/dexplorer/issues">Request Feature</a> </p> <p align="center"> <a href="https://github.com/arifintahu/dexplorer/blob/main/LICENSE"> <img src="https://img.shields.io/github/license/arifintahu/dexplorer.svg" alt="License" /> </a> <a href="https://github.com/arifintahu/dexplorer/actions/workflows/ci.yml"> <img src="https://github.com/arifintahu/dexplorer/actions/workflows/ci.yml/badge.svg" alt="CI Status" /> </a> <a href="https://github.com/arifintahu/dexplorer/deployments/activity_log"> <img src="https://vercelbadge.vercel.app/api/arifintahu/dexplorer" alt="Vercel Deploy" /> </a> <a href="https://github.com/arifintahu/dexplorer/graphs/contributors"> <img src="https://img.shields.io/github/contributors/arifintahu/dexplorer" alt="Contributors" /> </a> <a href="https://github.com/arifintahu/dexplorer/stargazers"> <img src="https://img.shields.io/github/stars/arifintahu/dexplorer" alt="Stars" /> </a> <a href="https://github.com/arifintahu/dexplorer/network/members"> <img src="https://img.shields.io/github/forks/arifintahu/dexplorer" alt="Forks" /> </a> </p> </div>

📋 Table of Contents

🌟 About

Dexplorer is a disposable, lightweight blockchain explorer specifically designed for Cosmos-based blockchains. Unlike traditional explorers that require backend infrastructure and databases, Dexplorer operates entirely as a frontend application, connecting directly to any Cosmos SDK chain using only WebSocket RPC connections.

This makes it perfect for:

  • 🔧 Development: Quick exploration during chain development
  • 🧪 Testing: Instant setup for testnets and local chains
  • 📊 Monitoring: Real-time blockchain data visualization
  • 🚀 Deployment: Zero backend infrastructure required

🎬 Demo

Screenshots

🏠 Home Dashboard

Dexplorer Home Dashboard Real-time blockchain explorer dashboard showing chain statistics, latest blocks, and transactions

🔗 Connect to Blockchain

Connect to Blockchain Simple connection interface to connect to any Cosmos SDK RPC endpoint

Live Demo

🌐 Try Dexplorer Live

Connect to any Cosmos RPC endpoint and start exploring!

✨ Features

  • 🔗 Universal Connectivity: Connect to any Cosmos-based RPC endpoint
  • 📊 Real-time Dashboard: Monitor chain activity with live updates via WebSocket
  • 🔔 Live Subscriptions: Subscribe to latest blocks and transactions
  • 🔍 Powerful Search: Find blocks, transactions, and accounts instantly
  • 👥 Validator Insights: Browse active validators and their details
  • 🗳️ Governance: Explore proposals and voting results
  • ⚙️ Chain Parameters: View blockchain configuration and parameters
  • 📱 Responsive Design: Works seamlessly on desktop and mobile
  • 🎨 Modern UI: Clean, intuitive interface with dark/light themes and smooth animations
  • 🌍 Internationalization: Multi-language support (i18n)
  • Zero Backend: No database or server infrastructure needed

🛠️ Tech Stack

Frontend Core

  • React 18 - Modern React with hooks and concurrent features
  • TypeScript - Type-safe development
  • Vite - Lightning-fast build tool and dev server
  • Tailwind CSS - Utility-first CSS framework

State & Data Management

  • Redux Toolkit - Global application state
  • Zustand - Lightweight state management
  • TanStack Query - Server state management and caching
  • React Router - Client-side routing

Blockchain Integration

  • CosmJS - Cosmos SDK JavaScript library (@cosmjs/stargate, @cosmjs/tendermint-rpc)
  • WebSocket RPC - Real-time blockchain data streaming
  • Protobuf - Message encoding/decoding

UI Components & UX

  • Framer Motion - Smooth animations and transitions
  • Lucide React & React Icons - Modern icon sets
  • Sonner - Toast notifications
  • TanStack Table - Headless UI for building powerful tables

Development & Quality Assurance

  • Vitest - Blazing fast unit test framework
  • React Testing Library - Component testing
  • ESLint - Code linting
  • Prettier - Code formatting
  • Husky & Lint-staged - Git hooks for code quality
  • Vercel - Deployment platform

📋 Prerequisites

Before running Dexplorer, ensure you have:

  • Node.js (v22.0.0 or higher)
  • pnpm (v8.0.0 or higher) - Recommended package manager
  • Git - For cloning the repository

🚀 Installation

Quick Start

# Clone the repository
git clone https://github.com/arifintahu/dexplorer.git

# Navigate to project directory
cd dexplorer

# Install dependencies
pnpm install

# Start development server
pnpm dev

Alternative Installation Methods

Using npm

npm install
npm run dev

Using yarn

yarn install
yarn dev

Production Build

# Build for production
pnpm build

# Preview production build
pnpm preview

Running Tests

# Run unit tests
pnpm test

# Run type check
pnpm check

⚙️ Configuration

Bypass Mode (Auto-Connect)

Dexplorer can be configured to automatically connect to a specific blockchain RPC endpoint, bypassing the connection screen. This is useful for deployments targeting a specific chain.

Set the following environment variables:

  • RPC_ADDRESS: The WebSocket RPC endpoint URL (e.g., https://rpc.cosmos.nodestake.org)
  • CHAIN_NAME: (Optional) Display name for the chain

Example usage:

# Run with bypass mode
RPC_ADDRESS="https://rpc.cosmos.nodestake.org" CHAIN_NAME="Cosmos Hub" pnpm dev

When these variables are set:

  1. The application will automatically connect to the specified RPC_ADDRESS.
  2. The connection screen will be skipped.
  3. The "Connect" and "Disconnect" buttons in the navigation bar will be hidden.
  4. The CHAIN_NAME (if provided) will be displayed in the navigation bar.

📖 Usage

Basic Usage

  1. Start the Application

    pnpm dev
    

    Open http://localhost:5173 in your browser

  2. Connect to a Blockchain

    • Enter a Cosmos RPC endpoint (e.g., https://rpc.cosmos.nodestake.org)
    • Click "Connect" to establish connection
  3. Explore the Blockchain

    • View the dashboard for chain overview
    • Search for specific blocks, transactions, or accounts
    • Browse validators and governance proposals

📁 Project Structure

dexplorer/
├── public/                 # Static assets
├── src/
│   ├── assets/             # Images and global styles
│   ├── components/         # UI Components
│   │   ├── AccountDetail/  # Account-related components
│   │   ├── BlockDetail/    # Block-related components
│   │   ├── Connect/        # Connection screen components
│   │   ├── Datatable/      # Reusable table components
│   │   ├── Home/           # Dashboard components
│   │   ├── Layout/         # App layout (Sidebar, Header)
│   │   ├── ProposalDetail/ # Governance proposal components
│   │   └── ui/             # Generic UI primitives (Button, Input, etc.)
│   ├── encoding/           # Protobuf/Amino encoding utilities
│   ├── hooks/              # Custom React hooks (useBlock, useTx, etc.)
│   ├── lib/                # Shared libraries and utilities
│   ├── locales/            # i18n translation files
│   ├── pages/              # Route page components
│   ├── rpc/                # RPC client management
│   ├── store/              # Redux & Zustand stores
│   ├── theme/              # Theme configuration (colors, providers)
│   ├── utils/              # Helper functions
│   └── main.tsx            # Application entry point
├── package.json            # Dependencies and scripts
├── tailwind.config.js      # Tailwind CSS configuration
├── tsconfig.json           # TypeScript configuration
└── vite.config.ts          # Vite configuration

🤝 Contributing

We welcome contributions from the community! Here's how you can help:

Development Workflow

  1. Fork the Repository

    # Fork on GitHub, then clone your fork
    git clone https://github.com/YOUR_USERNAME/dexplorer.git
    
  2. Create a Feature Branch

    git checkout -b feature/amazing-feature
    
  3. Make Your Changes

    • Follow the existing code style
    • Add tests for new features
    • Update documentation as needed
  4. Test Your Changes

    pnpm test
    pnpm build
    
  5. Commit and Push

    git commit -m 'Add amazing feature'
    git push origin feature/amazing-feature
    
  6. Create a Pull Request

    • Describe your changes clearly
    • Link any related issues
    • Wait for review and feedback

Code Style Guidelines

  • Use TypeScript for all new code
  • Follow ESLint and Prettier configurations
  • Write descriptive commit messages
  • Add JSDoc comments for complex functions
  • Ensure responsive design for UI changes

Reporting Issues

Found a bug? Have a feature request?

  1. Check existing issues
  2. Create a new issue with detailed description
  3. Include steps to reproduce (for bugs)
View on GitHub
GitHub Stars27
CategoryDevelopment
Updated11d ago
Forks45

Languages

TypeScript

Security Score

95/100

Audited on Mar 10, 2026

No findings