A high-performance Martingale roulette bot for Stake.com
- Martingale Strategy — Automatically doubles bets on losses and resets on wins
- Configurable — All parameters controlled via
.envfile - Live Statistics — Real-time session stats: win rate, profit, streaks, runtime
- Beautiful CLI — Color-coded output with styled logging
- Graceful Shutdown — Press
Ctrl+Cto stop and see your final session stats - Error Recovery — Automatic retry with backoff on API failures
- Open Source — MIT licensed, fully transparent
# 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 startCopy .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 |
- Log into Stake.com in your browser
- Open Developer Tools (
F12) → Network tab - Place a manual roulette bet
- Find the GraphQL request to
_api/graphql - Copy the
x-access-token,x-lockdown-token, andcookieheaders
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
- Place a bet at the base amount
- If you win → reset to base amount
- If you lose → multiply bet by
LOSS_MULTIPLIER(default: 2x) - If bet exceeds
BET_MAX_AMOUNT→ reset to base amount - 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.
MIT — see LICENSE for details.
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.