IBC Network Explorer - A blockchain explorer for exploring cross-chain ecosystems.
- Frontend Framework: Vue 3 + TypeScript
- Build Tool: Vite
- UI Library: Ant Design Vue
- CSS Framework: Tailwind CSS + Less
- State Management: Pinia
- Charts Library: ECharts
- Utilities: Lodash, Day.js, BigNumber.js
- Code Standards: ESLint + Prettier + Husky
βββ Dockerfile # Docker deployment configuration
βββ index.html # HTML entry file
βββ package.json # Project dependencies and scripts
βββ vite.config.ts # Vite configuration
βββ tsconfig.json # TypeScript configuration
βββ tailwind.config.js # Tailwind CSS configuration
βββ public/ # Static assets
βββ src/
βββ api/ # API interface definitions
βββ assets/ # Static asset files
βββ components/ # Reusable components
βββ composables/ # Vue 3 composable functions
βββ constants/ # Constants definitions
βββ directive/ # Custom directives
βββ helper/ # Helper functions
βββ layout/ # Layout components
βββ router/ # Router configuration
βββ store/ # Pinia state management
βββ theme/ # Global styles
βββ types/ # TypeScript type definitions
βββ utils/ # Utility functions
βββ views/ # Page components
βββ main.ts # Application entry file
Create environment variable files and configure necessary parameters:
# Environment identifier
MODE = 'development'
# Backend API endpoint
VITE_BASE_GO_API = 'https://your-dev-api-endpoint.com'# Environment identifier
MODE = 'production'
# Backend API endpoint
VITE_BASE_GO_API = 'https://your-prod-api-endpoint.com'-
Install Dependencies
pnpm install --frozen-lockfile
-
Configure Environment Variables
# Copy and modify environment variable file cp .env.example .env.development # Edit .env.development to fill in actual API address
-
Start Development Server
pnpm dev
Development server will start at http://localhost:3000
-
Install Dependencies
pnpm install --frozen-lockfile
-
Build Project
pnpm build:prod
-
Preview Build Result
pnpm preview
pnpm dev- Start development serverpnpm prod- Start production environmentpnpm build:dev- Build development versionpnpm build:prod- Build production versionpnpm preview- Preview build resultpnpm eslint- Run ESLint checkpnpm prettier- Format code
# Build production environment image
docker build . -t ibc-explorer:prod --build-arg 'ENVIRONMENT=prod'
# Build development environment image
docker build . -t ibc-explorer:dev --build-arg 'ENVIRONMENT=dev'# Run production environment container
docker run -d -p 80:80 --name ibc-explorer ibc-explorer:prod
# Run development environment container
docker run -d -p 8080:80 --name ibc-explorer-dev ibc-explorer:devThe project uses commitizen and husky to ensure code quality:
# Use standardized commits
pnpm commit
# Or use git cz (requires global installation of commitizen)
git czThe following will run automatically before commits:
- ESLint check and fix
- Prettier code formatting
- TypeScript type checking
- Home (
/home) - Display IBC ecosystem statistics overview, including chain information and latest transfers - Transfer List (
/transfers) - Browse and search IBC cross-chain transfer records - Transfer Details (
/transfers/details) - Detailed transfer information and status tracking - Token List (
/tokens) - IBC token overview and filtering - Token Details (
/tokens/details) - Detailed information and cross-chain data for specific tokens - Blockchain Networks (
/chains) - List of supported IBC blockchain networks - Channel Monitoring (
/channels) - IBC channel connection status monitoring - Relayer List (
/relayers) - Relayer running status overview - Relayer Details (
/relayers/details/:relayerId) - Detailed relayer information and performance data - Address Query (
/address/:address) - Query address token balances and transaction history - Search Results (
/searchResult/:result) - Global search results display - Data Analysis (
/overview) - Contains the following sub-pages:- Market Heatmap (
/overview/heatmap) - IBC token market heatmap - Volume Analysis (
/overview/volume) - Cross-chain transaction volume trends - Token Distribution (
/overview/distribution) - Token distribution across chains
- Market Heatmap (
This project is licensed under the Apache License 2.0 β see the LICENSE file for details.