What problem does it solve?
Enables users to discover, inspect, and trade prediction market outcome tokens on Polymarket from the CLI without manual key management, removing the friction of web UI workflows and manual EIP-712 signing.
Core Features & Use Cases
- Market discovery & inspection: list-markets, list-5m series, and get-market to browse questions, prices, order books, and liquidity.
- Wallet-integrated trading: buy, sell, cancel, and redeem with EIP-712 signing via onchainos; supports EOA mode (on-chain approvals) and POLY_PROXY mode (gasless relayer + proxy wallet).
- Funds management & safety: deposit/withdraw flows to proxy, automatic API credential derivation, HMAC-signed CLOB requests, divisibility/minimum-order guards, geo-access checks, and clear user confirmation gates to avoid autonomous trades.
Quick Start
Run polymarket-plugin buy --market-id <slug> --outcome yes --amount 5 to buy $5 of YES shares after confirming your onchainos wallet and region access.