https://github.com/roushou/polys
Polymarket Typescript toolkit
https://github.com/roushou/polys
bun polymarket prediction-markets
Last synced: about 1 month ago
JSON representation
Polymarket Typescript toolkit
- Host: GitHub
- URL: https://github.com/roushou/polys
- Owner: roushou
- License: mit
- Created: 2025-11-09T00:15:45.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2026-01-18T02:47:13.000Z (5 months ago)
- Last Synced: 2026-01-18T13:56:13.320Z (5 months ago)
- Topics: bun, polymarket, prediction-markets
- Language: TypeScript
- Homepage: https://polys.kenji.sh
- Size: 528 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Polys
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](./packages/clob)** - TypeScript client library for CLOB (order book) API
- **[@dicedhq/gamma](./packages/gamma)** - TypeScript client library for Gamma (market data) API
- **[@dicedhq/data](./packages/data)** - TypeScript client library for Data API (user positions, trades, activity)
- **[@dicedhq/polymarket](./packages/polymarket)** - Unified client that combines both CLOB and Gamma
- **[@dicedhq/polys-server](./apps/server)** - High-performance signing server built with Bun
## Documentation
See the [documentation](https://polys.kenji.sh/).
## Requirements
This project uses [Bun](https://bun.sh/) as the runtime and package manager. Please follow the [installation instructions](https://bun.sh/) if you don't have it already installed.
## Getting Started
Install dependencies:
```bash
bun install
```
### Run the Signing Server
```bash
bun dev:server
```
## Development
```bash
# Format code
bun run format
# Lint code
bun run lint
# Type check
bun run check:types
# Build all packages
bun run build
```
## License
This project is licensed under the [MIT License](./LICENSE)