Skip to content

Beam app request: Polymarket (prediction-market trading) #29

Description

@LesCosmonautes

App

Polymarket — place and manage prediction-market orders (CLOB) from a Beam agent.

One-liner: Prepare Polymarket prediction-market orders through Beam-mediated CLOB HTTP, order signing, and onchain settlement planning.

Chain

  • Polygon
  • Collateral / trading token: pUSD (Polymarket USD) — ERC-20 backed 1:1 by USDC, settlement in native USDC underneath
  • Deposit in USDC (or 20+ supported tokens) → wrapped to pUSD via CollateralOnramp wrap(); unwrap via CollateralOfframp

Capabilities (CAPS)

CAP Use
LIMIT ORDER Build, sign and cancel CLOB orders (buy/sell YES/NO shares)
HTTP Polymarket CLOB REST API — markets, order book, order submit
CHAIN READ Positions, USDC balance, allowances
SIMULATE Dry-run settlement / redemption before signing

Why I'd use it

  • Prediction markets are order-book based
  • Signing happens off-chain (EIP-712) then settles on-chain, which maps cleanly onto Beam permissions + SIMULATE before commit.
  • Lets an agent price, place, and unwind positions with bounded, auditable permissions.

Acceptance criteria

  • Read markets + order book via CLOB API
  • Build and sign a limit order (with per-order size/price caps in Beam permissions)
  • Simulate settlement/redeem before any on-chain tx
  • Read current positions and PnL

Links


Also would use (lower priority, happy to file separately)

  • Aerodrome (Base) — SWAP, VOTE, CHAIN READ, SIMULATE
  • Morpho (Ethereum / Base) — SUPPLY, BORROW, CHAIN READ, SIMULATE
  • HyperliquidPERP, LIMIT ORDER, HTTP, CHAIN READ

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions