BONK Bot is an automated trading and utility bot built on the Solana blockchain, designed to interact seamlessly with the BONK token ecosystem. The bot offers users a variety of automated functions such as trading automation, price alerts, yield optimization, portfolio tracking, limit orders, and dollar-cost averaging — all accessible via an intuitive web dashboard.
-
Secure Wallet Integration
- Seamless connection with Phantom and Solflare wallets
- Robust wallet signature-based authentication
- Secure session management with JWT
-
Intuitive Dashboard
- Real-time BONK token price monitoring
- Portfolio value tracking
- Transaction history visualization
- User-friendly interface built with React.js
-
Trading Automation
- Basic limit orders for BONK tokens
- Dollar-cost averaging implementation
- Auto-rebalancing capabilities
-
Security Features
- End-to-end encryption for sensitive data
- Rate limiting for API protection
- Comprehensive error handling
- Automated security auditing
- Frontend: React, Solana Wallet Adapter
- Backend: Node.js, Express.js
- Blockchain: Solana Web3.js for wallet interactions and signature verification
- Authentication: JWT (JSON Web Tokens) for secure API access
- Database: PostgreSQL for user data and transaction history
- Node.js v16 or higher
- A Solana wallet (Phantom, Solflare, etc.)
- Yarn or npm package manager
- PostgreSQL database
- Clone the repository:
git clone https://github.com/Abhinay2206/BonkBot.git cd BonkBot
-
Navigate to the backend directory:
cd bonk-api -
Install backend dependencies:
npm install
-
Configure backend environment variables:
cp .env.example .env # Edit .env with your configuration: # - DATABASE_URL=postgresql://... # - JWT_SECRET=your_jwt_secret # - RPC_ENDPOINT=your_solana_rpc_endpoint # - ALCHEMY_API_KEY=your_alchemy_api_key # - CLIENT_URL=your_client_url # - PORT=4000
-
Start the backend server:
# Production mode npm run build npm run start
-
Navigate to the frontend directory:
cd web-app -
Install frontend dependencies:
npm install
. Start the frontend development server:
# Development mode
npm run dev
The application will be available at:
- Frontend: http://localhost:5173
- Backend API: http://localhost:4000
- Connect Wallet: Users connect their Solana wallet through the web dashboard.
- Authenticate: The app requests a unique nonce from the backend.
- Sign Nonce: User signs the nonce using their wallet to prove ownership.
- Verify & Issue JWT: Backend verifies the signature and returns a JWT token.
- Access Features: Authenticated users can access BONK Bot features securely.
- Advanced trading strategies with AI-powered insights
- Enhanced yield optimization algorithms
- Social trading features
- Mobile app with push notifications
- Discord bot integration
- Public REST API with developer documentation
Found a bug? Please open an issue with:
- Detailed description of the problem
- Steps to reproduce
- Expected vs actual behavior
- Screenshots if applicable
We welcome contributions! Please check our Contributing Guidelines for details on:
- Code of Conduct
- Development process
- How to submit pull requests
- Coding standards
For support or inquiries:
- Open an issue on GitHub
- Email: bakkeraabhinay@gmail.com
- Discord: Join our community
Built with ❤️ on Solana blockchain