A modern, real-time blockchain explorer built with React and TypeScript for exploring Cosmos-based blockchains, specifically designed for Coreum and other Cosmos SDK chains.
- Live Block Monitoring: Real-time block updates with live streaming
- Network Statistics: Current block height, active validators, transaction count, and block time
- Network Health: Connection status, consensus metrics, and uptime monitoring
- Recent Activity: Live feed of latest blocks and transactions
- Blocks: Browse and search blocks with detailed information
- Transactions: Real-time transaction feed with message type detection
- Validators: Active validator list with voting power and commission rates
- Accounts: Account details and transaction history
- Proposals: Governance proposals with voting status and details
- Mint Parameters: Inflation rates, token supply, and minting rules
- Staking Parameters: Unbonding periods, validator limits, and bond denominations
- Distribution Parameters: Community tax, proposer rewards, and withdrawal settings
- Slashing Parameters: Downtime penalties, double-signing penalties, and jail durations
- Governance Parameters: Voting periods, deposit requirements, and quorum thresholds
- Dark/Light Theme: Automatic theme switching with system preference detection
- Responsive Design: Mobile-first design that works on all devices
- Interactive Components: Hover effects, smooth transitions, and loading states
- Real-time Updates: Live data streaming without page refreshes
- Node.js 18+
- npm or pnpm
-
Clone the repository
git clone https://github.com/skc951201/Coreum-Explorer.git cd Coreum-Explorer -
Install dependencies
npm install # or pnpm install -
Start development server
npm run dev # or pnpm dev -
Open your browser Navigate to
http://localhost:5173
npm run build
# or
pnpm buildThe built files will be in the dist directory.
The explorer connects to Cosmos RPC endpoints via WebSocket. You can:
- Use predefined chains: Select from popular chains like Cosmos Hub and Osmosis
- Add custom RPC: Enter any Cosmos-compatible RPC endpoint
- Auto-reconnection: The app automatically reconnects to your last used endpoint
- Coreum: Primary target blockchain
- Cosmos Hub: Full support for ATOM chain
- Osmosis: DEX protocol exploration
- Any Cosmos SDK Chain: Compatible with any Cosmos-based blockchain
- Frontend: React 18 + TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS + Custom Theme System
- State Management: Redux Toolkit + Zustand
- Blockchain: CosmJS (Cosmos JavaScript SDK)
- UI Components: Custom components with Framer Motion
- Icons: Lucide React + React Icons
src/
โโโ components/ # Reusable UI components
โ โโโ Layout/ # App layout and navigation
โ โโโ ui/ # Basic UI components
โ โโโ ...
โโโ pages/ # Route-based page components
โ โโโ Home.tsx # Dashboard
โ โโโ Blocks.tsx # Block explorer
โ โโโ Transactions.tsx # Transaction explorer
โ โโโ Validators.tsx # Validator list
โ โโโ Proposals.tsx # Governance proposals
โ โโโ Parameters.tsx # Network parameters
โโโ rpc/ # Blockchain communication
โ โโโ client/ # RPC client setup
โ โโโ abci/ # ABCI queries
โ โโโ subscribe/ # WebSocket subscriptions
โโโ store/ # State management
โ โโโ connectSlice.ts # Connection state
โ โโโ streamSlice.ts # Real-time data
โ โโโ paramsSlice.ts # Network parameters
โโโ theme/ # Theme system
โโโ utils/ # Utility functions
โโโ encoding/ # Message encoding/decoding
- WebSocket Connections: Direct connection to Tendermint RPC
- Event Subscriptions: New block and transaction events
- State Persistence: Redux store with persistent data
- Auto-reconnection: Automatic reconnection on connection loss
- Cosmos Types: Full support for Cosmos SDK message types
- Transaction Parsing: Automatic message type detection
- Event Processing: Real-time event parsing and display
- Dynamic Theming: Runtime theme switching
- CSS Variables: Dynamic color system
- System Preference: Automatic dark/light mode detection
status()- Network status and latest blockblock()- Block details by heighttx()- Transaction details by hashabci_query()- Custom queries for validators, proposals, parameters- WebSocket subscriptions for real-time updates
- Validator information and voting power
- Governance proposals and voting
- Network parameters (mint, staking, distribution, slashing, governance)
- Account balances and delegations
- Add RPC endpoint to the chain list in
src/components/Connect/index.tsx - Update chain-specific configurations if needed
- Test with the new chain's RPC endpoint
- Modify
src/theme/colors.tsfor color schemes - Update CSS variables in
src/theme/ThemeProvider.tsx - Customize component styles in individual files
- Create new page components in
src/pages/ - Add routes in
src/App.tsx - Implement RPC queries in
src/rpc/abci/ - Update navigation in
src/components/Layout/
- Connect your GitHub repository to Vercel
- Configure build settings:
- Build Command:
npm run build - Output Directory:
dist
- Build Command:
- Deploy automatically on push to main branch
- Netlify: Use
npm run buildand deploydistfolder - GitHub Pages: Use GitHub Actions to build and deploy
- Docker: Create Dockerfile for containerized deployment
We welcome contributions! Please see our contributing guidelines:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
- Follow TypeScript best practices
- Use Prettier for code formatting
- Write meaningful commit messages
- Test your changes thoroughly
- Update documentation as needed
This project is licensed under the GNU General Public License v2.0 - see the LICENSE file for details.
- CosmJS: For the excellent Cosmos JavaScript SDK
- React Team: For the amazing React framework
- Tailwind CSS: For the utility-first CSS framework
- Cosmos Community: For the vibrant ecosystem and support
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Documentation: Wiki
- Mobile App: React Native version
- Advanced Analytics: Charts and graphs for network analysis
- Multi-chain Support: Support for multiple chains simultaneously
- Custom Themes: User-defined color schemes
- Export Features: Data export capabilities
- API Endpoints: REST API for external integrations
- Notification System: Real-time alerts and notifications
Built with โค๏ธ for the Cosmos ecosystem
Dexplorer - Explore the Cosmos, one block at a time.
