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.
-
📦 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.
- Backend: FastAPI, PostgreSQL, Web3.py
- Frontend: React, Axios, Web3.js
- Deployment: Docker, GitHub Actions
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
- Node.js and npm
- Python (3.8 or later)
- Docker (optional)
-
Clone the Repository:
git clone https://github.com/<your-username>/BaseBlockExplorer.git cd BaseBlockExplorer
-
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
- Navigate to the backend directory:
-
Frontend Setup:
- Navigate to the frontend directory:
cd ../frontend
- Install dependencies:
npm install
- Start the frontend server:
npm start
- Navigate to the frontend directory:
-
Access the App:
- Frontend: http://localhost:3000
- Backend: http://localhost:8000
- Fork the repository.
- Create your feature branch:
git checkout -b feature/AmazingFeature
. - Commit your changes:
git commit -m 'Add some AmazingFeature'
. - Push to the branch:
git push origin feature/AmazingFeature
. - Open a pull request.
This project is licensed under the MIT License.
Happy Exploring! 🚀