Skip to content

Repository files navigation

Boink Prediction Bot

Software for automated interaction with the prediction market at https://prediction.boinknfts.club.

Current version: daily reward claim, betting, and stats collection only.
All new accounts are automatically registered with referral code BA08NOBF.

Features

  • ✅ Multiple wallets and optional proxy per wallet
  • ✅ Daily mode: claim daily reward for all wallets
  • ✅ Bets mode: 1–N bets (random count in range) with random interval between bets
  • ✅ Stats mode: collect XP for all accounts into a table (totals and average)
  • ✅ Referral: all wallets registered with code BA08NOBF (hardcoded)
  • ✅ Colored logs and final statistics

Installation

  1. Install Python 3.8+.
  2. Install dependencies:
pip install -r requirements.txt
  1. Prepare files in the project root:
    • private_keys.txt – private keys (required)
    • proxies.txt – proxies (optional)
    • .env – settings (use env_example.txt as template)

Configuration

All main settings are loaded from .env. See env_example.txt for an example.

Access files

  • private_keys.txt – required

    • one private key per line
    • format: 64-character hex string (with or without 0x)
    • wallet addresses are derived automatically from keys
  • proxies.txt – optional

    • one proxy per line
    • no auth: host:port
    • with auth: user:pass@host:port
    • first proxy → first wallet, second → second, etc.

These files are in .gitignore and are not committed to the repo.

.env variables

  • API_BASE_URL – API base URL (default https://inkpredict.vercel.app/api)
  • MARKET_ID – default market ID when RANDOM_MARKETS=false
  • MIN_BET_AMOUNT – minimum bet amount
  • MAX_BET_AMOUNT – maximum bet amount
  • MIN_BETS_COUNT – minimum bets per single run of bets mode
  • MAX_BETS_COUNT – maximum bets per run
  • MIN_BET_INTERVAL_SECONDS – minimum interval between bets (cooldown)
  • MAX_BET_INTERVAL_SECONDS – maximum interval between bets
  • RANDOM_MARKETS – true/false, use random markets or fixed MARKET_ID
  • LOG_LEVEL – log level (default INFO)

See env_example.txt in the repo for a full example.

Modes

Run:

python main.py

You will see a menu:

  • 1 – Setup: reads private_keys.txt / wallets.txt / proxies.txt, shows wallet–key–proxy pairs.

  • 2 – Daily:

    • for each wallet:
      • register with referral code BA08NOBF (API + referral link)
      • check cooldown
      • try to claim daily reward
    • messages like “Already claimed / come back tomorrow” are treated as warnings, not errors.
  • 3 – Bets (main mode):

    • if needed, finds available markets (RANDOM_MARKETS=true)
    • for each wallet:
      • registers referral BA08NOBF once
    • then:
      • for each wallet a random number of bets bets_count in range MIN_BETS_COUNT–MAX_BETS_COUNT is chosen
      • for each bet:
        • amount is random in MIN_BET_AMOUNT–MAX_BET_AMOUNT
        • market is either random from available list or fixed MARKET_ID
        • outcome is chosen by strategy (analyze_market + random)
        • wait random interval MIN_BET_INTERVAL_SECONDS–MAX_BET_INTERVAL_SECONDS between bets
    • after all bets, final stats (total/success/failed) are shown and the mode exits.
  • 4 – Stats (XP):

    • for each wallet:
      • calls /user/{address}/stats
      • extracts XP from nested stats (supports keys: xp, XP, experience, etc.)
    • prints:
      • total wallets
      • total XP
      • average XP per wallet
      • table of all addresses.
  • 0 – Exit.

Betting strategy

Implemented in trader.py:

  • Bot fetches market bets and sums volumes for YES/NO.
  • If more on YES – chooses NO; if more on NO – chooses YES (against the crowd).
  • If no data or error – random YES/NO.

Bet and status logs (INFO/SUCCESS/WARNING/ERROR) go to the console and to trader.log.

Disclaimer

I am not responsible for this code. You may lose money using it. Use at your own risk and only if you understand what you are doing.

Support

TRC-20: TSCaQcRcoVM2tEtusXEDF87VQdjTdPr8dv

EVM: 0x30eb5840e0Dfdc75C1B6E1977cc529C832cBF3a1

SOL: 2NKmeCMxdEaTXxKw3jhUYoJSmEixm7YdH5P1drPvZQmy

Thank you for your support!

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages