Skip to content

Savazh/BaseBlockExplorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 BaseBlockExplorer

BaseBlockExplorer is an interactive and user-friendly platform for exploring the Base blockchain. It provides tools for tracking blocks, transactions, and wallet activity, catering to developers, enthusiasts, and anyone curious about the blockchain ecosystem.


🚀 Features

  • 📦 Block Explorer:

    • View and search through blocks on the Base blockchain.
    • Real-time block updates with details like transactions and timestamps.
  • 💳 Transaction Viewer:

    • Analyze and track transactions on the blockchain.
    • Search transactions by hash, address, or block number.
  • 🔐 Wallet Integration:

    • Connect wallets using WalletConnect or MetaMask.
    • View wallet balances and transaction history.
  • 📃 APIs:

    • RESTful APIs for accessing blockchain data programmatically.

🛠️ Tech Stack

  • Backend: FastAPI, PostgreSQL, Web3.py
  • Frontend: React, Axios, Web3.js
  • Deployment: Docker, GitHub Actions

📂 Project Structure

BaseBlockExplorer/
├── backend/             # Backend code (FastAPI)
│   ├── app/             # Core application logic
│   │   ├── main.py      # API entry point
│   │   ├── routes.py    # API routes
│   │   ├── models.py    # Database models
│   │   ├── database.py  # Database connection
│   │   └── utils.py     # Helper functions
│   ├── requirements.txt # Backend dependencies
│
├── frontend/            # Frontend code (React)
│   ├── public/          # Static files
│   ├── src/             # Source code
│   │   ├── components/  # Reusable React components
│   │   ├── utils/       # API communication and helpers
│   │   └── App.js       # Main app file
│   ├── package.json     # Frontend dependencies
│
├── docs/                # Documentation
│   ├── architecture.md  # System architecture
│   ├── api_docs.md      # API documentation
│
├── scripts/             # Deployment and startup scripts
│   ├── deploy.sh
│   └── start.sh
├── README.md            # Project overview

🌟 Getting Started

Prerequisites

  • Node.js and npm
  • Python (3.8 or later)
  • Docker (optional)

Installation

  1. Clone the Repository:

    git clone https://github.com/<your-username>/BaseBlockExplorer.git
    cd BaseBlockExplorer
  2. Backend Setup:

    • Navigate to the backend directory:
      cd backend
    • Install dependencies:
      pip install -r requirements.txt
    • Start the backend server:
      uvicorn app.main:app --reload
  3. Frontend Setup:

    • Navigate to the frontend directory:
      cd ../frontend
    • Install dependencies:
      npm install
    • Start the frontend server:
      npm start
  4. Access the App:


🤝 Contributing

  1. Fork the repository.
  2. Create your feature branch: git checkout -b feature/AmazingFeature.
  3. Commit your changes: git commit -m 'Add some AmazingFeature'.
  4. Push to the branch: git push origin feature/AmazingFeature.
  5. Open a pull request.

📝 License

This project is licensed under the MIT License.


Happy Exploring! 🚀

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published