Skip to content

rpchubs/Fraction-AI-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Fraction AI BOT - Automate Your Battles in Fraction AI

A fully automated bot for seamless battles in Fraction AI.


๐Ÿš€ Key Features

โœจ Auto Match Making โ€“ Join battles automatically, no manual effort needed.
๐Ÿ’ฐ Multiple Wallet Support โ€“ Manage multiple Ethereum wallets effortlessly.
๐Ÿ“Š User-Friendly Dashboard โ€“ A clean, intuitive, and interactive UI.
โš™๏ธ Easy Setup & Configuration โ€“ Minimal setup with flexible settings.


โœ… Pre-Run Checklist

๐Ÿ”น Register at Fraction AI.
๐Ÿ”น Create your agent.
๐Ÿ”น Ensure you have enough Sepolia ETH.
๐Ÿ”น Customize settings in config.json.


๐Ÿ“‚ Project Structure

Fraction-AI-Bot/
โ”œโ”€โ”€ config.json      # Configuration file
โ”œโ”€โ”€ data.txt         # Stores private keys (for test wallets only)
โ”œโ”€โ”€ src/             # Source code of the bot
โ”œโ”€โ”€ logs/            # Log files
โ”œโ”€โ”€ package.json     # Node.js dependencies
โ””โ”€โ”€ README.md       # Documentation

๐Ÿ”ง System Requirements

Before installing FractionAI-BOT, make sure you have:

  • โœ… Node.js v18+
  • โœ… npm or yarn
  • โœ… Ethereum Wallet with Sepolia ETH
  • โœ… Git Installed (For Linux/macOS)

๐Ÿ“ฅ Installation Guide

๐Ÿง Linux/macOS Users

๐Ÿ“Œ Step 1: Clone the Repository

git clone https://github.com/rpchubs/Fraction-AI-Bot.git
cd Fraction-AI-Bot

๐Ÿ“Œ Step 2: Install Dependencies

npm install

๐Ÿ“Œ Step 3: Configure Wallets (Edit data.txt)

nano data.txt

Enter your private keys (one per line):

your_private_key

โš ๏ธ Only use test wallets! Never use your main wallet.

๐Ÿ“Œ Step 4: Adjust Configuration (config.json)

nano config.json

Modify settings as needed:

{
  "useProxy": false,
  "antiCaptchaKey": "your-antiCaptcha-API-KEY",
  "twoCaptchaKey": "your-twoCaptcha-API-KEY",
  "defaultSolver": "anticaptcha or twocaptcha",
  "pollingInterval": 10,
  "retryDelay": 10000,
  "maxRetries": 3,
  "matchMode": "auto or manual",
  "fee": 0.1,
  "maxGames": 10
}

๐Ÿ”ง Configuration Details

Setting Description
useProxy Set to true to enable proxy support. Default is false.
antiCaptchaKey API key for Anti-Captcha service (leave blank if not used).
twoCaptchaKey API key for 2Captcha service (leave blank if not used).
defaultSolver Choose between anticaptcha or twocaptcha for solving captchas.
pollingInterval Interval (in seconds) for checking match status. Default is 10.
retryDelay Delay (in milliseconds) before retrying a failed request. Default is 10000 (10s).
maxRetries Maximum number of retries before giving up on an operation. Default is 3.
matchMode Set to auto for automated matchmaking or manual for user input.
fee Entry fee per match (e.g., 0.1 ETH).
maxGames Maximum number of games the bot will play in a session.

Example Configurations:

  • Standard Setup (No Proxy, Auto Matchmaking, Anti-Captcha):
{
  "useProxy": false,
  "antiCaptchaKey": "your-API-KEY",
  "defaultSolver": "anticaptcha",
  "matchMode": "auto",
  "fee": 0.1,
  "maxGames": 5
}
  • Manual Mode with Proxy Enabled:
{
  "useProxy": true,
  "twoCaptchaKey": "your-API-KEY",
  "defaultSolver": "twocaptcha",
  "matchMode": "manual",
  "fee": 0.01,
  "maxGames": 3
}

๐Ÿ“Œ Step 5: Create a Screen Session (For Continuous Running)

screen -S fractionai-bot

๐Ÿ“Œ Step 6: Start the Bot

npm start

๐Ÿ–ฅ๏ธ Windows Users

๐Ÿ“Œ Step 1: Clone the Repository or Download as ZIP

  • Option 1 (Recommended):
git clone https://github.com/rpchubs/Fraction-AI-Bot.git
cd Fraction-AI-Bot
  • Option 2 (Download ZIP):
    1. Go to the repository: FractionAI-BOT GitHub
    2. Click on the Code button โ†’ Select Download ZIP
    3. Extract the ZIP file
    4. Open a terminal and navigate to the extracted folder:
cd path\to\extracted-folder

๐Ÿ“Œ Step 2: Install Dependencies

npm install

๐Ÿ“Œ Step 3: Configure Wallets (Edit data.txt)

Follow the same guidelines as in the Linux/macOS section.

๐Ÿ“Œ Step 4: Adjust Configuration (config.json)

Follow the same guidelines as in the Linux/macOS section.

๐Ÿ“Œ Step 5: Start the Bot

npm start

๐Ÿ”Ž Checking Fractals for All Wallets

You can use the fetch-fractal.js script to check Fractal balance for all wallets stored in data.txt.

๐Ÿ“Œ Steps to Run fetch-fractal.js

๐Ÿง Linux/macOS Users

node fetch-fractal.js

๐Ÿ–ฅ๏ธ Windows Users

node fetch-fractal.js

This script will:

  • Load private keys from data.txt
  • Optionally use proxies if enabled in proxies.txt
  • Authenticate wallets
  • Fetch Fractal balance for each wallet

๐ŸŽฎ Bot Controls

๐Ÿ›‘ Press Q โ†’ Quit the bot.
๐Ÿ”„ Press R โ†’ Refresh the dashboard.
๐Ÿงน Press C โ†’ Clear the logs.


โš ๏ธ Important Warnings

โš ๏ธ Use at your own risk.
๐Ÿ”‘ Only use test wallets โ€“ NEVER use your main wallet.
๐Ÿ“– Make sure you fully understand the botโ€™s functionality.


๐Ÿ”— Useful Resources

๐Ÿ“‚ GitHub Repository: RPC Hubs
๐Ÿ’ฌ Community Support: Telegram
๐Ÿ“œ License: MIT License


๐Ÿ’ก Need Help? Join our Telegram group for real-time support and discussions! ๐Ÿš€