Skip to content
项目

nervosnetwork/ckb-explorer-frontend

在 GitHub 查看

关于

Nervos CKB Explorer Frontend

网站与应用开发

这些数字如何统计

可以做什么

  • Browse blocks, transactions, addresses and lock hashes
  • Track transaction lifecycle and UTXO details
  • Advanced search functionality for various blockchain entities
  • Real-time updates and data synchronization

实测星标增长

24小时
正在收集历史
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

CKB Explorer

License Github Action Discord

CKB Explorer is a blockchain explorer for Nervos CKB, built with modern web technologies. It consists of two parts:

Visit the live explorer at explorer.nervos.org.

Features

  • Blockchain Exploration

    • Browse blocks, transactions, addresses and lock hashes
    • Track transaction lifecycle and UTXO details
    • Advanced search functionality for various blockchain entities
    • Real-time updates and data synchronization
  • Bitcoin Interoperability

    • Support for Bitcoin addresses and corresponding RGB++ transactions
    • Cross-chain transaction tracking
    • BTC-CKB leap monitoring
  • Fiber Network Integration

    • Network statistics and metrics
    • Channel management and monitoring
    • Liquidity tracking and analysis
  • User Experience

    • Responsive design for all devices
    • Multi-language support (English, Chinese)
    • Distinct themes for Mainnet and Testnet
    • Intuitive navigation and data visualization

Getting Started

Prerequisites

  • Node.js v20.10.0 or later
  • Yarn 1.13.0 or later
  • Git

Installation

# Clone the repository
git clone https://github.com/nervosnetwork/ckb-explorer-frontend.git

# Navigate to project directory
cd ckb-explorer-frontend

# Install dependencies
yarn install

Configuration

Create or modify the environment files:

  • .env.development for development
  • .env.production for production
# Required environment variables
REACT_APP_API_URL='http://your-api-url'        # API endpoint
REACT_APP_CHAIN_TYPE='testnet'                 # 'mainnet' or 'testnet'
REACT_APP_MAINNET_URL='http://localhost:3000'  # Mainnet URL for testnet deployment
REACT_APP_TESTNET_NAME='testnet'               # Testnet name for header display

Development

# Start development server
yarn start

# Run tests
yarn test

# Build for production
yarn build

Project Structure

src/
├── components/      # Reusable UI components
├── pages/          # Page components
├── services/       # API and services
├── utils/          # Utility functions
├── hooks/          # Custom React hooks
├── assets/         # Static assets
├── routes/         # Route configuration
└── styles/         # Global styles

API Documentation

API documentation is available at CKB Explorer API Docs.

Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Community

License

CKB Explorer Frontend is released under the MIT License. See COPYING for more information or see https://opensource.org/licenses/MIT.

探索相关项目

加载中…