Skip to content
Rush Labs
All work

Polyfarmer

An open source, self-hosted market maker that farms Polymarket liquidity rewards while keeping private keys on your own machine.

Client
Open source
Period
2026
Chains
Polymarket, Polygon
Services
Trading systems, Open source

The problem

Polymarket pays market makers for resting orders near the midpoint, but doing it by hand means watching order books all day, and most bots ask you to hand over your keys.

What we built

  • Order management that follows the book

    Keeps a resting order a chosen distance below the best bid, re-pegs it as the market moves, and pulls it when the configured protection is not there.

  • Safety settings on every order

    Minimum depth, volatility auto-pause, expiry, and cancel-everything on shutdown, disconnect or heartbeat failure.

  • Self-hosted and key-safe

    A single program you run yourself. The private key is encrypted on disk and only used to sign orders.

  • A dashboard that shows earnings

    Live order book, reward score per order, positions, daily payouts and liquidity-provider rank.

Outcome

Polyfarmer is MIT-licensed and public on GitHub, with CI, documentation and a demo mode.

Stack

  • Rust
  • Polymarket CLOB
  • Local web dashboard