Placing your first order
This guide walks through submitting your first order to Context, from setup to execution.Prerequisites
- Node.js 18+ or Bun
- A wallet with a private key
- An API key — see API keys to create one
- Wallet approved and funded — see Before you trade
Setup
1. Find a market
2. Check the orderbook
3. Place the order
The SDK handles EIP-712 signing automatically — just specify what you want to trade:4. Check order status
5. Cancel if needed
Complete script
Here’s the full flow in one file:Next steps
SDK reference
Full SDK documentation
Orders API
Bulk operations, cancel-replace, and more