Files
PolymarketDocumentation/docs/developers/builders/examples.md
T
AI Agent 8336c8bc3a Add new Polymarket documentation (2026-02-17)
- Added 31 new documentation pages from llms.txt index
- Updated changelog and 4 existing pages
- New categories: polymarket-learn (FAQ, deposits, get-started, markets, trading)
- New API: get-positions-for-a-market
- New guide: builders examples
2026-02-17 14:25:24 +01:00

2.4 KiB

Documentation Index

Fetch the complete documentation index at: https://docs.polymarket.com/llms.txt Use this file to discover all available pages before exploring further.

Examples

Complete Next.js applications demonstrating Polymarket builder integration

Overview

These open-source demo applications show how to integrate Polymarket's CLOB Client and Builder Relayer Client for gasless trading with builder order attribution.

Multiple wallet providers Safe & Proxy wallet support Orders, positions, CTF ops

Safe Wallet Examples

Deploy Gnosis Safe wallets for your users:

MetaMask, Phantom, Rabby, and other browser wallets Privy embedded wallets Magic Link email/social authentication Turnkey embedded wallets

Proxy Wallet Examples

For existing Magic Link users from Polymarket.com:

Auto-deploying proxy wallets for Polymarket.com Magic users

What Each Demo Covers

* User sign-in via wallet provider * User API credential derivation (L2 auth) * Builder config with remote signing * Signature types for Safe vs Proxy wallets * Safe wallet deployment via Relayer * Batch token approvals (USDC.e + outcome tokens) * CTF operations (split, merge, redeem) * Transaction monitoring * CLOB client initialization * Order placement with builder attribution * Position and order management * Market discovery via Gamma API