# BridgeX 🚀 by Utkarsh352
```ascii
_.--""--._
.' `.
/ O O \
| \ ^^ / |
\ `-----' /
`. _______ .'
//_____\\
(( ____ ))
`-----'
Cross-Chain Bridge Aggregator 🔥
- Universal Cross-Chain Transfers: Bridge tokens between any supported blockchain seamlessly. 🌐
- Smart Routing: Automatically selects the fastest, cheapest, or most secure route. ⚡
- Multiple Bridge Protocols: Supports Wormhole, Nitrolite, ClearNode, and Yellow SDK for maximum coverage. 📦
- Security Focused: Prioritizes security through partnerships and rigorous audits. 🛡️
- Real-time Rate Comparison: Compare rates across different bridges before transferring. 📊
- User-Friendly Interface: Intuitive and easy-to-use interface for a smooth experience. 📱
- Extensive Documentation: Comprehensive documentation and API reference. 📚
Technology | Badge |
---|---|
Next.js | |
React | |
TypeScript | |
Express.js | |
PostgreSQL | |
Redis | |
Docker | |
Docker Compose |
- Clone the repository:
git clone https://github.com/Utkarsh352/BridgeX.git
- Install dependencies:
npm install
- Start the development server:
npm run dev
(Example using the send
page):
// src/app/send/page.tsx
"use client";
import { UniversalTransfer } from "@/components/transfer/UniversalTransfer";
export default function SendPage() {
return (
// ... JSX for the send page ...
<UniversalTransfer />
// ...
);
}
The UniversalTransfer
component handles the core bridge functionality. More detailed examples can be found within the /src/components
directory.
BridgeX/
├── src/
│ ├── app/ // Next.js app directory
│ │ ├── page.tsx // Landing page
│ │ ├── send/ // Send tokens page
│ │ │ └── page.tsx
│ │ └── ...
│ ├── components/ // Reusable UI components
│ ├── providers/ // Context providers (e.g., theme, Web3)
│ └── ...
├── contracts/ // Smart contracts
├── public/ // Static assets
└── ...
(Example API endpoint):
Method | Endpoint | Description |
---|---|---|
POST | /api/bridge/transfer |
Initiate a cross-chain token transfer. |
Example Request:
{
"fromChain": "Ethereum",
"toChain": "Solana",
"token": "USDC",
"amount": "100",
"recipientAddress": "solanaAddress..."
}
Option | Description | Default Value |
---|---|---|
PORT |
Port the server listens on. | 3000 |
DATABASE_URL |
Connection string for the PostgreSQL database. | postgres://... |
REDIS_URL |
Connection string for the Redis instance. | redis://... |
(Due to markdown limitations, screenshots are not included here. Please refer to the project's website/gallery for visual examples.)
- Fork the repository.
- Create a new branch for your feature/bug fix.
- Make your changes and commit them with clear messages.
- Push your branch to your forked repository.
- Create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details. Thanks to all contributors!
(List of contributors with links to their profiles will be added here as the project evolves.)
Roadmap 🎯
- Add support for more blockchains.
- Implement advanced analytics and reporting.
- Improve UI/UX.
- Integrate with more wallets.
- Add multi-signature support for enhanced security.