/sonic-odyssey-bot

Primary LanguageJavaScriptMIT LicenseMIT

Sonic Odyssey Bot

Sonic Odyssey Bot is an application designed for interacting with the Sonic Odyssey platform. It supports multiple features including sending SOL (Solana) cryptocurrency transactions, claiming rewards, opening mystery boxes, and daily login operations.

Features

  • Transaction Sending: Sends SOL transactions from multiple accounts to random addresses.
  • Claim Box: Automates the process of claiming rewards boxes.
  • Open Box: Automates the process of opening mystery boxes.
  • Daily Login: Automates the daily login process.
  • Input Methods: Supports input via seed phrases or private keys.
  • Random Address Generation: Generates a specified number of random addresses for sending transactions.
  • Adjustable Amount of SOL: Allows users to specify the amount of SOL to send in each transaction.
  • Transaction Delay: Allows users to specify a delay between each transaction.

Prerequisites

Install Nodejs18

# Check Nodejs Version
node --version
# if 18, skip nodejs steps

# Delete Nodejs old files
sudo apt-get remove nodejs
sudo apt-get purge nodejs
sudo apt-get autoremove
sudo rm /etc/apt/keyrings/nodesource.gpg
sudo rm /etc/apt/sources.list.d/nodesource.list

# Install Nodejs 18
NODE_MAJOR=18
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
sudo mkdir -p /etc/apt/keyrings

curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg

echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list

sudo apt-get update
sudo apt-get install -y nodejs
node --version

# Install npm
sudo apt-get install npm
npm --version
sudo apt-get install git

sudo apt update & sudo apt upgrade -y

Installation

  1. Clone the repository:

    git clone https://github.com/dante4rt/sonic-odyssey-bot.git
  2. Navigate into the project directory:

    cd sonic-odyssey-bot
  3. Install dependencies:

    npm install
    # or
    yarn install
  4. Prepare input files:

    • Create accounts.json with an array of seed phrases.
    • Create privateKeys.json with an array of private keys (base58 encoded).
    • You can create a file with nano command: for example: nano privateKeys.json

    Example accounts.json:

    [
      "seed_phrase_1",
      "seed_phrase_2"
    ]

    Example privateKeys.json:

    [
      "base58_private_key_1",
      "base58_private_key_2"
    ]

Usage

Run tx bot:

npm start

or

Run claim bot:

npm run claim

Follow the prompts to:

  1. Select the input method (0 for seed phrase, 1 for private key).
  2. Specify the number of random addresses to generate.
  3. Enter the amount of SOL to send in each transaction.
  4. Enter the delay between each transaction in milliseconds (default is 1000ms).
  5. Choose an operation:
    • 1: Claim Box
    • 2: Open Box
    • 3: Daily Login

License

This project is licensed under the MIT License - see the LICENSE file for details.