Getting Started
From download to a running bot in about 15 minutes. You don't need a wallet to start: the bot runs in paper mode, with fake money and real Polymarket prices, until you connect your account.
1. Run It in Paper Mode
No wallet, no risk. Nothing real can be sent.
- 1
Install Rust (One Time Only)
Go to rustup.rs and follow the one-line install.
- Mac: also run
xcode-select --installin Terminal. - Windows: when the installer asks to install the Visual Studio C++ tools, say yes.
- Mac: also run
- 2
Start the Bot
- Mac: double-click
Start.command. If macOS blocks it, right-click it, choose Open, then Open again. - Windows: double-click
Start.bat. - Linux or a server: run
./Start.sh.
The first start takes a few minutes while it builds. After that it starts in seconds.
- Mac: double-click
- 3
You're In
You'll see every Polymarket crypto Up/Down market updating live. The badge at the top says PAPER. Press
?for help andqto quit.
2. Connect Your Polymarket Account
Only when you want to trade real money. You need three things.
- A
How Do You Log In to Polymarket?
You log in with Your type number Email or Google 1 MetaMask, Rabby, Coinbase Wallet or another browser wallet 2 A Polymarket deposit wallet 3 No polymarket.com account: your own wallet holds the pUSD and trades directly (advanced) 0 Most people are 1 or 2.
- B
Copy Your Private Key
- Email or Google: on polymarket.com go to Settings and click Export Private Key.
- Browser wallet: open your wallet, pick the account you use on Polymarket, then Account details and Show private key.
It starts with
0xand is 66 characters long.Never share it and never paste it anywhere except the.envfile below. Anyone with this key controls the wallet. PR&R never sees it: the bot runs only on your machine. - C
Copy Your Polymarket Wallet Address
On polymarket.com click your profile picture. The
0x…address under your name is your Polymarket wallet address. It is also on the Deposit screen. For type 3, use the deposit wallet's address. Type 0 skips this step.Log in with MetaMask? This is not your MetaMask address. Use the one Polymarket shows. - D
Paste Them Into the .env File
The bot made a file called
.envin its folder the first time it started. Open it in any text editor and fill in these three lines near the top:PRIVATE_KEY=0xyour-private-key POLYMARKET_SIGNATURE_TYPE=1 POLYMARKET_FUNDER=0xyour-polymarket-wallet-addressUse your type number from step A. For type 0, leave POLYMARKET_FUNDER empty. Then save.
Can't see.env? Files starting with a dot are hidden. Mac: in Finder press Cmd + Shift + . (period). Windows: in File Explorer turn on View, then Hidden items. - E
Check It
In the bot's folder run:
cargo run --release -- setupIt never places an order. It checks your key, your region, your balance and your Polymarket permissions, and ends with a VERDICT line. If something is wrong, it says what and how to fix it.
3. Go Live
Two one-time settings, then everything happens with keys inside the bot. You never edit a file to switch between paper and live.
- 1
One Time: Allow Live Trading
In
.env, changeLIVE_TRADING=falsetoLIVE_TRADING=true. You never touch this again. It just tells this install that live trading is allowed. - 2
One Time: Check the Limits
In
config.tomlunder[risk],max_order_usd(default $5) andmax_session_usd(default $50) cap what the bot can spend. You can also change them while it runs withs. - 3
Every Time: Use the Keys
p Switch between paper and live (it asks you to confirm). In live the bot is still disarmed: orders are prepared but not sent. a Type ARM to arm. The bot runs its safety checks and, if they pass, real orders go out. Press a again to disarm. k Kill switch. Cancels the bot's orders and blocks new ones until you press k again. The bot always starts in paper mode and disarmed, so a restart never trades by surprise.
The bot only trades what your strategy tells it to. Your strategy goes in bot/src/strategy/my_strategy.rs, and docs/STRATEGY_GUIDE.md shows how.
Common Problems
| You see | Fix |
|---|---|
| VERDICT says region restricted | Polymarket blocks trading from your location. Run the bot on a server in an allowed region. |
| "The signature was rejected" | The private key is wrong. Export it again and paste the whole thing, including 0x. |
| Balance shows $0 | The wallet address or the type number is wrong. Copy the address again from your Polymarket profile. |
| Allowances not set | Make one small trade on polymarket.com first, then run setup again. |
| Mac says the file can't be opened | Right-click Start.command and choose Open. |
Still stuck? Ask in our Discord.

