Environments

Dimes Multiply runs two fully isolated environments: production and sandbox. Pick one per integration and point all your traffic (REST, WebSocket, API keys) at the same environment.

Multiply exposes two independent environments. Each has its own base URL, its own API keys, its own contract addresses, and its own data — they do not share state in any way.

Comparison

Aspect
Production
Sandbox

Purpose

Live positions with real USDC

Integration testing with fake USDC and fake outcome tokens

REST base URL

https://api.dimes.fi/v1

https://api-sandbox.dimes.fi/v1

WebSocket URL

wss://api.dimes.fi/v1/ws/prediction-markets/positions

wss://api-sandbox.dimes.fi/v1/ws/prediction-markets/positions

Swagger UI

https://api.dimes.fi/v1/customer-docs

https://api-sandbox.dimes.fi/v1/customer-docs

API key prefix

dm_live_skey_...

dm_sbx_skey_...

Resource IDs

dm_pos_..., dm_off_..., dm_mkt_...

dm_pos_sdx_..., dm_off_sdx_..., dm_mkt_sdx_...

Chain

Polygon mainnet

Polygon mainnet

USDC

Real USDC

Fake USDC (minted on request to your wallet by the Dimes team)

Outcome tokens

Real Polymarket CTF

Fake CTF

Vault contract

Production LeveragedPredictionVaultV1

Separate sandbox LeveragedPredictionVaultV1 (different address)

Market data

Live Polymarket markets

Live Polymarket markets (read-only)

Funds at risk

Yes

No

Picking an environment

  • Building a new integration? Start in sandbox. Request a sandbox API key via the Telegram link on dimes.fiarrow-up-right, then follow the Quickstart against https://api-sandbox.dimes.fi/v1.

  • Running an existing integration in production? Keep using https://api.dimes.fi/v1 with your dm_live_skey_... key.

Keys are environment-scoped and not interchangeable. A dm_live_skey_... key is rejected by api-sandbox.dimes.fi, and a dm_sbx_skey_... key is rejected by api.dimes.fi.

Parity

Sandbox mirrors production on every REST endpoint, WebSocket event, response shape, error code, resolver/settlement behavior, rate limit, and auth rule. If it works in sandbox, it works in production. The only intentional differences are:

  • Separate vault contract at a different address.

  • Fake USDC and fake Polymarket CTF instead of the real tokens. Sandbox USDC is minted to your wallet on request by the Dimes team.

  • No SLA. Sandbox may be reset or paused for maintenance on short notice. Do not build production workloads or customer-facing demos on it.

Contract addresses

See Contract Addresses for the canonical list of production and sandbox vault, USDC, and CTF addresses with Polygonscan links.

Last updated