Skip to content

BONK Bot is an automated trading and utility bot built on the Solana blockchain, designed to interact seamlessly with the BONK token ecosystem.

Notifications You must be signed in to change notification settings

Abhinay2206/BonkBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BONK Bot (v1.0)

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.


✨ Implemented Features (v1.0)

  • 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

📦 Tech Stack

  • 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

🔧 Installation

Prerequisites

  • Node.js v16 or higher
  • A Solana wallet (Phantom, Solflare, etc.)
  • Yarn or npm package manager
  • PostgreSQL database

Setup

  1. Clone the repository:
    git clone https://github.com/Abhinay2206/BonkBot.git
    cd BonkBot

Backend Setup

  1. Navigate to the backend directory:

    cd bonk-api
  2. Install backend dependencies:

    npm install
  3. 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
  4. Start the backend server:

    # Production mode
    npm run build
    npm run start

Frontend Setup

  1. Navigate to the frontend directory:

    cd web-app
  2. Install frontend dependencies:

    npm install

. Start the frontend development server:

# Development mode
npm run dev

The application will be available at:

⚙️ How It Works

  1. Connect Wallet: Users connect their Solana wallet through the web dashboard.
  2. Authenticate: The app requests a unique nonce from the backend.
  3. Sign Nonce: User signs the nonce using their wallet to prove ownership.
  4. Verify & Issue JWT: Backend verifies the signature and returns a JWT token.
  5. Access Features: Authenticated users can access BONK Bot features securely.

🔮 Upcoming Features (v2.0)

  • 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

🐛 Bug Reports

Found a bug? Please open an issue with:

  • Detailed description of the problem
  • Steps to reproduce
  • Expected vs actual behavior
  • Screenshots if applicable

🤝 Contributing

We welcome contributions! Please check our Contributing Guidelines for details on:

  • Code of Conduct
  • Development process
  • How to submit pull requests
  • Coding standards

📞 Contact

For support or inquiries:


Built with ❤️ on Solana blockchain


About

BONK Bot is an automated trading and utility bot built on the Solana blockchain, designed to interact seamlessly with the BONK token ecosystem.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages