Skip to content

ChipaDevTeam/VortexSpin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⟳ VortexSpin

A high-performance Martingale roulette bot for Stake.com

Node.js License Strategy


Features

  • Martingale Strategy — Automatically doubles bets on losses and resets on wins
  • Configurable — All parameters controlled via .env file
  • Live Statistics — Real-time session stats: win rate, profit, streaks, runtime
  • Beautiful CLI — Color-coded output with styled logging
  • Graceful Shutdown — Press Ctrl+C to stop and see your final session stats
  • Error Recovery — Automatic retry with backoff on API failures
  • Open Source — MIT licensed, fully transparent

Prerequisites

Quick Start

# 1. Clone the repository
git clone https://github.com/ChipaDevTeam/VortexSpin.git
cd VortexSpin

# 2. Install dependencies
npm install

# 3. Configure your environment
cp .env.example .env
# Edit .env with your Stake.com credentials

# 4. Run the bot
npm start

Configuration

Copy .env.example to .env and fill in your values:

Variable Description Default
STAKE_ACCESS_TOKEN Your Stake.com access token required
STAKE_LOCKDOWN_TOKEN Lockdown token (if enabled) ""
STAKE_COOKIE Your browser cookie string required
BET_CURRENCY Currency to bet with usdc
BET_BASE_AMOUNT Starting bet amount 0.001
BET_MAX_AMOUNT Max bet before reset 4
BET_COLOR Color to bet on colorRed
BET_DELAY_MS Delay between bets (ms) 1000
WIN_DELAY_MS Delay after a win (ms) 1000
LOSS_MULTIPLIER Bet multiplier on loss 2

Getting Your Credentials

  1. Log into Stake.com in your browser
  2. Open Developer Tools (F12) → Network tab
  3. Place a manual roulette bet
  4. Find the GraphQL request to _api/graphql
  5. Copy the x-access-token, x-lockdown-token, and cookie headers

Project Structure

VortexSpin/
├── .env.example          # Environment template
├── .gitignore
├── package.json
├── README.md
└── src/
    ├── index.js           # Entry point & graceful shutdown
    ├── config.js          # Environment config loader
    ├── api/
    │   └── stake.js       # Stake.com GraphQL API client
    ├── strategies/
    │   └── martingale.js  # Martingale betting strategy
    └── utils/
        ├── logger.js      # Styled console logger
        └── stats.js       # Session statistics tracker

How Martingale Works

  1. Place a bet at the base amount
  2. If you win → reset to base amount
  3. If you lose → multiply bet by LOSS_MULTIPLIER (default: 2x)
  4. If bet exceeds BET_MAX_AMOUNT → reset to base amount
  5. Repeat

Warning: The Martingale strategy can lead to significant losses during extended losing streaks. Use at your own risk and never bet more than you can afford to lose.

License

MIT — see LICENSE for details.

Disclaimer

This software is provided for educational purposes only. Gambling involves risk. The authors are not responsible for any financial losses incurred through the use of this software. Always gamble responsibly.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors