set-key. The proxy wallet needs a one-time approve call before the first buy.
For an enterprise context, this is the surface for hedging operational risk (regulatory events, supply-chain disruptions, demand shocks) at small dollar values within a clear cap.
How it works
The proxy wallet is Polymarket’s per-EOA execution wallet.clob-buy funds it from the smart wallet first, then submits the buy order. sell and order management work directly against the proxy.
One-time setup
set-key stores the EOA private key encrypted in ~/.polygon-agent/. approve is a one-time onchain transaction that authorizes the proxy wallet to spend USDC on Polymarket’s CLOB; without it, the first buy fails.
Commands
markets
Lists active markets sorted by volume.
market
conditionId.
set-key
proxy-wallet
approve
One-time approval before the first
clob-buy. Pass --neg-risk to also approve negative-risk markets.
clob-buy
sell
positions, orders, cancel
positions lists open positions for the proxy wallet. orders lists open CLOB orders for the active EOA. cancel cancels a specific order by ID.
Worked example
Implementation
CLI overview
Topology, safety model, supported chains.
Setup and wallets
Smart wallet is the funding source for the proxy.
Transfers
Move USDC into the smart wallet before trading.
Balances and funding
Confirm USDC available before placing orders.