- Python 3.9+
- Polygon wallet with MATIC for gas
- USDC on Polygon for trading
- Polymarket account with proxy wallet
cd /home/botuser/bots
# gabagool directory should already exist
cd gabagoolpython3 -m venv venv
source venv/bin/activatepip install -r requirements.txt# Copy example config
cp config/.env.example config/.env
# Edit with your credentials
nano config/.envRequired settings in .env:
POLY_PRIVATE_KEY=your_private_key_without_0x
POLY_SAFE_ADDRESS=0xYourPolymarketProxyAddress
IMPORTANT: Create a NEW wallet dedicated to this bot.
# Generate new wallet (or use existing dedicated one)
python scripts/setup_wallet.py-
MATIC (~$5-10 for gas)
- Send MATIC to your wallet on Polygon network
-
USDC (starting capital)
- Send USDC to your wallet on Polygon
- Start with $100 for testing
The bot needs spending approval for Polymarket contracts. This happens automatically on first trade, or run:
python scripts/setup_wallet.py --approvepython tests/live/test_api_connection.pypython tests/live/test_wallet_balance.pypython -m src.main --dry-run- Use Netherlands VPS for low latency
- Install Python 3.9+
- Clone repository
- Configure .env with production wallet
- Run in screen/tmux session
# SSH to VPS
ssh user@your-vps-ip
# Setup
cd /opt
git clone your-repo gabagool
cd gabagool
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Configure
cp config/.env.example config/.env
nano config/.env
# Run in screen
screen -S gabagool
python -m src.main
# Ctrl+A, D to detach# View logs
tail -f logs/gabagool.log
# Reattach to screen
screen -r gabagool
# Check database
sqlite3 gabagool.db "SELECT * FROM positions WHERE resolved=0;"- Check internet connectivity
- Verify VPS location (some regions blocked)
- Check Polymarket API status
- Verify private key format (no 0x prefix)
- Check safe address matches Polymarket account
- Ensure wallet has MATIC for gas
- Check price thresholds
- Verify market liquidity
- Review slippage settings
- Never share private keys
- Use dedicated trading wallet
- Keep .env out of git
- Monitor wallet activity
- Start with small capital