TypeScript CLI bot for Polymarket that mirrors whale wallets and super traders, with manual Draw token control for World Cup match markets.
- FIFA 2026 ASCII banner on startup
- Copy trades from configured whale / super-trader wallets
- 4 copy strategies
scaled— mirror at1 / copy_divisorfixed_usd— fixed USD per copied tradepercent_leader— percentage of leader trade sizewhale_gate— only copy when leader trade ≥ whale minimum, then scaled
- Interactive CLI: start/stop engine, settings, leader management, draw buys
- World Cup market filter (optional)
- Dry-run mode for safe testing
cp .env.example .env
# Edit .env — set LEADER_WALLETS and keys for live trading
npm install
npm run dev| Variable | Description |
|---|---|
POLYMARKET_PRIVATE_KEY |
Signer private key |
POLYMARKET_FUNDER_ADDRESS |
Proxy / Safe holding USDC |
POLYMARKET_SIGNATURE_TYPE |
EOA, POLY_PROXY, POLY_GNOSIS_SAFE, POLY_1271 |
LEADER_WALLETS |
whale:0xabc:Label,trader:0xdef:TopTrader |
DRY_RUN |
true (default) or false |
REDIS_ENABLED |
true to persist seen leader trades across restarts |
REDIS_URL |
Full Redis URL (or use REDIS_HOST / REDIS_PORT) |
Adjust trade size, strategy, poll interval, draw defaults, and World Cup filter without code changes.
- Start copy trading — polls leader activity and mirrors new trades
- Stop copy trading
- Settings — amount, strategy, min order, whale gate, dry-run
- Buy Draw token — pick a FIFA 2026 match and buy the Draw outcome manually
- Manage leaders — add wallets or import from Polymarket leaderboard
- Status
- Quit
LEADER_WALLETS=whale:0x204f72f35326db932158cba6adff0b9a1da95e14:WhaleAlpha,trader:0x56687bf447db6ffa42ffe2204a05edaa20f55839:TopTrader| Command | Description |
|---|---|
npm run dev |
Run with tsx |
npm run build |
Compile to dist/ |
npm start |
Run compiled bot |
Prediction market trading involves risk. Test with DRY_RUN=true first. Ensure you comply with Polymarket geographic restrictions and local laws.