Skip to content

Back-end Service for index Bitcoin Address Wallet and Index Transactions

License

Notifications You must be signed in to change notification settings

MmdrzaCo/BlockHub

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BlockHub - Bitcoin Blockchain Explorer

BlockHub Logo Version License

BlockHub Bitcoin Explorer Backend Service

BlockHub is a modern, real-time Bitcoin blockchain explorer designed to provide comprehensive insights into Bitcoin transactions, addresses, and network activity. The platform offers a user-friendly interface for exploring the Bitcoin blockchain, with features including live transaction monitoring, detailed address analysis, and access to extensive blockchain datasets.

Features

  • Real-time Transaction Monitoring: Watch Bitcoin transactions as they happen
  • Block Explorer: Browse the latest blocks and their contents
  • Mempool Explorer: Monitor unconfirmed transactions and fee estimates
  • Address Explorer: View comprehensive details about any Bitcoin address
  • Network Statistics: Track Bitcoin network metrics in real-time
  • Datasets: Access to extensive Bitcoin blockchain datasets (Auto Update Every 24h)

Fast execution BlockHub with Docker and optimized resources

Run with docker from official blockhub image with latest tag.

docker pull pymmdrza/blockhub:latest
docker run -d -p 80:80 -p 443:443 --name blockhub pymmdrza/blockhub:latest

Git

git clone https://github.com/Pymmdrza/BlockHub
cd BlockHub
  • replace .env.example to .env
chmod +x docker-setup.sh
./docker-setup.sh

Docker

See docs/docker.md for a list of useful Docker commands for managing your BlockHub deployment.

Action Description Link
Start Start the BlockHub Docker Container view
Stop Stop the BlockHub Docker Container view
Logs View the logs of the BlockHub Docker Container view
Rebuild Rebuild the BlockHub Docker Container view
Restart Restart the BlockHub Docker Container view
Status Check Container Status view
Health Check Container Health view
Shell Enter Container Shell view
Nginx View Nginx Configuration view
Nginx Test Test Nginx Configuration view
Nginx Reload Reload Nginx Configuration view

Backup & Restore

Action Description Link
Backup Backup BlockHub Data view
Restore Restore BlockHub Data view
Backup Env Backup Environment Variables view

Troubleshooting

  • Check Nginx Logs view
  • Check Container Resource Usage view
  • Restart Container view
  • Force Remove Container view
  • Clean Up Docker System view

Technology Stack

  • Frontend: React with TypeScript
  • Styling: Tailwind CSS for modern, responsive styling
  • State Management: React Hooks
  • Icons: Lucide React
  • Charts: Recharts for data visualization
  • API Integration: Blockchain.com API
  • Containerization: Docker for easy deployment

Prerequisites

  • Docker
  • Docker Compose

Installation

Quick Start with Docker

  1. Clone the repository:

    git clone https://github.com/yourusername/blockhub.git
    cd blockhub
  2. Run the setup script:

    chmod +x docker-setup.sh
    ./docker-setup.sh
  3. Access BlockHub at http://localhost (or the domain/port you configured)

Manual Setup with Docker Compose

  1. Clone the repository:

    git clone https://github.com/yourusername/blockhub.git
    cd blockhub
  2. Create a .env file with your configuration:

    cp .env.example .env
  3. Build and start the containers:

    docker-compose up -d
  4. Access BlockHub at http://localhost (or the domain/port you configured)

Production Deployment with SSL

  1. Set up your domain and ensure it points to your server

  2. Run the SSL setup script:

    chmod +x scripts/ssl-setup.sh
    ./scripts/ssl-setup.sh yourdomain.com
  3. Start BlockHub with production settings:

    docker-compose -f docker-compose.prod.yml up -d
  4. Access BlockHub at https://yourdomain.com

The application includes fallback mechanisms to ensure functionality even when APIs are unavailable.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Programmer

About

Back-end Service for index Bitcoin Address Wallet and Index Transactions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 91.0%
  • Shell 3.5%
  • JavaScript 3.3%
  • Other 2.2%