If you already have bots or tooling built for Polymarket, migrating to Kuest requires only small changes to endpoints, headers, and environment variables.
- Python SDK: https://pypi.org/project/kuest-py-clob-client/
- Rust SDK: https://crates.io/crates/kuest-client-sdk
MIGRATION.md— step-by-step migration guide for humans.mapping.json— machine-readable mapping for automation or LLM-assisted refactors.AGENTS.md— compact instructions for coding agents and migration tooling.
- Replace
POLYMARKET_withKUEST_in env vars and auth headers. - Replace
*.polymarket.comwith*.kuest.com(same subdomain). - Kuest order signing uses the EIP-712 domain
CTF Exchange, version2. - V2 orders remove
taker,expiration,nonce, andfeeRateBpsfrom the signed payload and addtimestamp,metadata, andbuilder. - Send
owneras the CLOB API key, not the wallet address fromKUEST_ADDRESS. - In Kuest CLOB order responses, deserialize
owneras a ULID/string user identifier. - Use
builderCode/builder_codefor attribution; Kuest encodes a builder wallet asbytes32(uint256(uint160(wallet))). - For direct relayer calls, use
WALLET/WALLET-CREATEinstead ofSAFE/PROXY.
- Kuest beta runs on Polygon Amoy (chainId 80002) and uses testnet USDC.
- Polymarket V2 uses Polygon (chainId 137) and pUSD collateral; Kuest V2 uses USDC Circle directly.
- CTF Exchange:
0xaCd95F4F42322c7bE215C170362EEc57Ef4E78c2 - Neg Risk CTF Exchange:
0x961d3230B3BBdb2592D20fa34dBD12Fa19240603 - USDC Circle (Amoy):
0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582 - USDC Circle (Polygon mainnet):
0x3c499c542cef5e3811e1192ce70d8cc03d5c3359
For a step-by-step migration guide, see MIGRATION.md.