Skip to content

B1: Fork poly-market-maker into repo #1

@CLAM101

Description

@CLAM101

Description

Fork Polymarket's poly-market-maker repo into our bot repo. Update API endpoints to point at our platform. Verify it runs and can connect.

Context

The market maker bot provides initial liquidity on all markets. The upstream repo works out of the box for binary markets — we just need to point it at our API. Multi-outcome extension (B2) comes later. This can start as soon as the CLOB REST API (T4) exists to connect to, but the fork itself can happen now.

Acceptance Criteria

  • Polymarket poly-market-maker source forked into this repo
  • API endpoint configuration updated to point at our CLOB REST API
  • Dependencies install clean (poetry install)
  • README updated with our configuration and run instructions
  • .env.example with required config vars (API key, endpoint URL, wallet key)

Technical Notes

  • Upstream: Polymarket/poly-market-maker
  • Our API is Polymarket-compatible so the bot's py-clob-client usage should work without changes
  • Don't modify bot logic yet — just get the fork in place and configured. Multi-outcome extension is B2.
  • The bot won't actually run until T4 (CLOB REST API) is live, but the fork and config can be done now

Testing Methodology

  • Manual verification: poetry install succeeds, bot starts and fails gracefully when API is unreachable (expected)
  • Agent validation: poetry install && poetry run python -c "import py_clob_client; print('ok')"

Dependencies

Labels

priority:P1, type:setup


Blocked by (build order)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions