Skip to main content

1. Install the SDK

2. Get Testnet USDC

Every new wallet starts with zero balance. Claim free USDC from the testnet faucet:

3. Create API Credentials

Trading requires HMAC credentials. Create them with your wallet’s private key:
Never share your private key. The SDK only uses it locally to sign the EIP-712 auth message. It is never sent to the server.

4. Find a Market

Markets are time-windowed predictions on crypto prices. Find one that’s currently active:
Each market has two tokens:
  • YES (UP) — pays $1.00 if the price closes above the open price
  • NO (DOWN) — pays $1.00 if the price closes below the open price

5. Check the Orderbook

6. Place an Order

Buy 20 UP contracts at 50 cents each ($10 total cost):
Orders are fire-and-forget. The HTTP response returns immediately with status: "pendingnew". Match results arrive via WebSocket.

7. Check Your Orders

8. Cancel an Order

What’s Next?

Trading Guide

Batch orders, post-only, time-in-force

WebSocket Streams

Real-time orderbook, fills, positions

Market Making

Build a market maker with the GLFT model

Core Concepts

Markets, tokens, settlement, and auth