An unofficial TypeScript toolkit to build apps on top of Polymarket API.
Warning
This is currently work-in-progress so the API may change and some features may be missing
This repository contains a TypeScript implementation for interacting with Polymarket, including:
- @dicedhq/clob - TypeScript client library for CLOB (order book) API
- @dicedhq/gamma - TypeScript client library for Gamma (market data) API
- @dicedhq/data - TypeScript client library for Data API (user positions, trades, activity)
- @dicedhq/polymarket - Unified client that combines both CLOB and Gamma
- @dicedhq/polys-server - High-performance signing server built with Bun
See the documentation.
This project uses Bun as the runtime and package manager. Please follow the installation instructions if you don't have it already installed.
Install dependencies:
bun installbun dev:server# Format code
bun run format
# Lint code
bun run lint
# Type check
bun run check:types
# Build all packages
bun run buildThis project is licensed under the MIT License