Skip to main content
Before you can trade on any on-chain venue, you need a wallet. Kairos gives you two custody models: a hosted mode where Kairos manages signing keys on your behalf, and a self-custody mode where you sign every transaction with your own private key. Understanding the difference — and completing the right onboarding steps — determines how your funds are held and how orders are submitted.

Custody Models

In hosted mode, Kairos generates and securely stores a signing key for you. When you submit an order, Kairos signs the on-chain transaction or EIP-712 payload without requiring any action from you.Best for: Automated strategies, server-side bots, and integrations where you don’t want to manage a local keystore.Trade-off: Your signing key lives on Kairos infrastructure. Kairos cannot access your collateral funds (which remain in your deposit wallet), but the signing authority is delegated to Kairos.

On-Chain Approvals (Allowances)

On-chain venues like Polymarket and Predict.fun use ERC-20 token contracts for collateral. Before you can trade, the venue’s smart contracts need permission to move tokens from your wallet — this is called an allowance (or approval). Kairos manages allowances for you during the onboarding flow, but you can also read and set them manually. Allowance status is read through the RPC query exchange.getAllowances; amounts are decimal strings. Granting allowances stays on the REST executor:
The three identity fields are required here and must match your own account; they confirm authority, never grant it. See Set allowances. For a hosted wallet, POST /exchanges/{exchange_id}/prepare-wallet has Kairos pay the gas and set every required allowance in one call. A self-custody wallet sets its own allowances through Partner API setup.
Off-chain venues like Kalshi do not require on-chain allowances. The allowance step only applies to Polymarket and Predict.fun.

Polymarket Deposit Wallet

Polymarket trades from a deposit wallet: a smart-contract wallet on Polygon, owned by your signing key (EOA — Externally Owned Account). The deposit wallet holds your funds; the EOA authorizes trades. This architecture means:
  • Your pUSD collateral sits in the deposit wallet, not in your EOA
  • CLOB orders are signed by the EOA but settle from the deposit wallet

Deploying Your Deposit Wallet

If you’re onboarding to Polymarket for the first time, deploy your deposit wallet with:
This single call deploys the deposit wallet and sets its trading approvals. Calling it again never deploys a second wallet.

Checking Balances

Balances are RPC queries with the position:read scope:
See exchange balances and wallet operations.

Venue Onboarding Flows

Each venue has its own one-time setup step. Complete these before submitting your first order:
1

Polymarket

Call POST /exchanges/polymarket/enable-trading to provision CLOB credentials and set all required on-chain approvals in a single request.
If you’re importing an existing Polymarket wallet, use POST /exchanges/polymarket/enable-imported-trading instead.
2

Kalshi

Call POST /exchanges/kalshi/enable-trading with your Kalshi API key id and its RSA private key. Kairos checks them against Kalshi, stores them encrypted, and uses them to route orders.
3

Predict.fun

Call POST /exchanges/predictfun/enable-trading to set the required on-chain approvals for Predict.fun.

Self-custody trading

To trade from a wallet you hold the key to, use the Partner API. Kairos builds each order or setup step, your wallet signs it, and Kairos submits it to the venue. The key never leaves the wallet. What the wallet signs lists every request, per venue.

CTF Outcome Tokens

Polymarket (and Predict.fun) use the Conditional Token Framework (CTF) — a standard for ERC-1155 outcome tokens. When you buy a YES contract, you receive CTF outcome tokens that redeem for $1.00 if the market resolves YES. Kairos exposes CTF operations directly if you need to manage tokens at the contract level:
Only the winning side redeems. See CTF operations for every field.

Hyperliquid Withdrawals

Hyperliquid requires signed typed data for withdrawals, in two steps:
destination defaults to wallet_address. time is the withdrawal’s nonce: pass it back unchanged. Kairos never signs a withdrawal and doesn’t deduplicate submits, so don’t retry blindly.
Hyperliquid withdrawals are irreversible once submitted on-chain. Verify the destination address and amount in the typed data before signing.