v0.1.0First public beta is out

An open-source bot that keeps your Polymarket bids in the reward zone. Your keys never leave your machine.

Engine RunningFeed LiveLive orders 3 Simulated
Rewards today
$4.18
since 00:00 UTC
Resting in orders
$350
3 live bids
Your share
3.9%
of this market's pool
Distance
2¢
below the best bid
Reward weight20%

Inside the zone. Closer to the midpoint scores more.

Protections
  • Depth ahead$3,051min $500
  • Bid move0¢limit ±5¢
  • Expires6d 4hthen cancelled
Will the Fed cut rates in December?zone 45–52¢
midpoint48.5¢spread 1¢
  • Self-hosted
  • Encrypted
  • Rust
  • 3 platforms
  • MIT licensed
How it works

Liquidity, kept where it pays.

Polymarket pays orders that rest near the midpoint. Closer earns more but also gets filled more. Polyfarmer handles that trade-off every time the book moves.

Market view Simulated
Will it snow in London on Christmas Day?zone 18–25¢
midpoint21.5¢spread 1¢
Choose a market and a distance below the best bid.
  1. 01

    Pick a market and a distance

    Choose from the markets that pay rewards and decide how far below the best bid your order rests. The market view previews your score before you place anything.

  2. 02

    It follows the book

    When the best bid moves, Polyfarmer cancels and re-places your order at the same distance, so it stays inside the reward zone.

  3. 03

    It pulls back before a fill

    If the orders in front of yours thin out, or the price jumps past your limit, the order is pulled before it can be filled. It comes back when the book is healthy again.

  4. 04

    Rewards land daily

    Polymarket pays each UTC day's rewards shortly after midnight UTC. The dashboard shows today's share as it accrues, and every payout after.

Scoring

Closer pays more. Too close gets filled.

Polymarket scores each order by how close it rests to the midpoint, squared. Drag the distance and see what an order earns, and how exposed it is.

Reward score against distance from the midpoint in a plus or minus 3 cent zone. reward zone ±3¢ midpoint −3¢ +3¢ Yes No
Score
44%
of the best possible weight
Fill risk
Medium
orders ahead usually fill first

Yes and No bids, same distance. The weaker side sets the score.

The dashboard

Everything in one local dashboard.

Find markets, start farming and see exactly what each order earns. It runs in your browser and only talks to your own machine.

Every leg at a glance

Status, distance from the midpoint and an honest score for each order, with pause, edit and remove right there.

Markets page listing every leg with status, distance, score, size and expiry

Know what you earn

Today's share as it accrues, yesterday's payout and 30 days of history from Polymarket's own records.

$4.18
earned today · simulated
Yesterday
$7.25
7 days
$41.41
Rewards rank
#1,482 Top 1%

See the book first

A live book with depth and the reward zone marked, and a weight meter that previews your score.

Market view with a live order book and the new-order form

A safety net on every order

Each market gets its own limits, and anything unexpected cancels your orders.

  • Distance
  • Depth ahead
  • Auto-pause
  • Expires
  • Cancel on anything odd
  • Honest scores
Security

Your keys stay on your machine.

Polyfarmer is a single program you run yourself. No hosted service, no account and nothing that phones home.

  • Encrypted at rest. Your key only signs your own orders.
  • Locked-down dashboard. Password, short sessions, strict CSP.
  • Private remote access. Tailscale or SSH, never the open internet.
  • Open and checked. Tests and audits on every change. Security policy
first run
$ cargo run --release
INFO    Polyfarmer starting
INFO │ First run — create your admin password:
INFO │   setup code:  kqcm-7xhn
INFO │   open:        http://127.0.0.1:8080/welcome?code=kqcm-7xhn
INFO Loaded 0 market configs
INFO Dashboard on http://127.0.0.1:8080
Install

Up and running in minutes.

Polyfarmer builds from source with Rust. Pick your system, run the commands, then open the setup link it prints.

Linux (Debian or Ubuntu), in a terminal
sudo apt update && sudo apt install -y build-essential cmake pkg-config libssl-dev git curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
git clone --branch v0.1.0 https://github.com/Vayz0001/polyfarmer.git
cd polyfarmer
cargo run --release

Try it without a wallet first: DEMO=1 cargo run --example serve

macOS, step 1 · Apple's developer tools (skip if installed)
xcode-select --install
Step 2 · once that installer finishes, in Terminal
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
git clone --branch v0.1.0 https://github.com/Vayz0001/polyfarmer.git
cd polyfarmer
cargo run --release

Try it without a wallet first: DEMO=1 cargo run --example serve

Windows, step 1 · in PowerShell
winget install --id Git.Git -e
winget install --id Rustlang.Rustup -e
winget install --id Microsoft.VisualStudio.2022.BuildTools -e --override "--passive --wait --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows11SDK.22621"
Step 2 · close PowerShell, open a new one, then
git clone --branch v0.1.0 https://github.com/Vayz0001/polyfarmer.git
cd polyfarmer
cargo run --release

Try it without a wallet first: $env:DEMO = "1"; cargo run --example serve

Other distributions, first-run steps and remote access are in the README.

FAQ

Questions people ask.

Is it free?

Yes. Polyfarmer is open source under the MIT license. There is no paid version and no fee on your rewards.

Does it trade with my money?

Yes. It places real limit orders from your Polymarket wallet, and a resting order can be filled when the market moves. Use a dedicated wallet holding only what you can afford to lose, start with one small market and watch it.

Is it made by Polymarket?

No. Polyfarmer is an independent open-source project. It is not affiliated with, endorsed by or supported by Polymarket.

Where can I use it?

Wherever Polymarket itself is available to you. Polymarket restricts some countries and regions, and Polyfarmer does nothing to get around that. You are responsible for following Polymarket's terms where you live.

What do I need to run it?

A computer or small server running Linux, macOS or Windows, a Polymarket wallet with some funds, and a few minutes to build it. A small cloud server keeps it running around the clock.

How much can I earn?

It depends on the markets, how much you post and how close to the midpoint you rest. Rewards are shared with every other liquidity provider, and fills can cost more than you earn. There are no guarantees.

Start with one small market.

Install Polyfarmer, try the built-in demo, then point it at one market and watch it work.