Skip to content

P4-Games/polymarket-adapter

Repository files navigation

ChatterPay Polymarket Adapter

Backend adapter for ChatterPay that centralizes calls to the Polymarket APIs.

Route table

Prefix Target
/polymarket-clob/* https://clob.polymarket.com
/polymarket-gamma/* https://gamma-api.polymarket.com
/polymarket-data/* https://data-api.polymarket.com
/health local — no auth required

Env vars

Var Type Default Required
AUTH_TOKEN string yes
PORT number 8080 no

Local dev

bun install
AUTH_TOKEN=secret bun run dev

Test:

curl -H "Authorization: Bearer secret" http://localhost:8080/polymarket-clob/markets
curl http://localhost:8080/health

About

Backend adapter for ChatterPay that centralizes calls to the Polymarket APIs.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages