# Dimes

## Documentation

- [What is Multiply](https://docs.dimes.fi/overview/readme.md): Empowering onchain front-ends to natively offer their users up to 10x exposure on prediction market positions.
- [Levered Exposure Demand](https://docs.dimes.fi/overview/publish-your-docs.md): Why leverage matters for prediction market growth.
- [Supported Markets](https://docs.dimes.fi/overview/supported-markets.md): Markets are supported based on event type, liquidity microstructure, and safe margining.
- [Position Management](https://docs.dimes.fi/overview/position-management.md): Real-time controls to maintain solvency and enforce the trader's intended exposure.
- [Position Lifecycle](https://docs.dimes.fi/positions/position-lifecycle.md): How positions are opened, monitored, hedged, and settled.
- [Fees](https://docs.dimes.fi/positions/fees-and-revenue-share.md): How funding is priced for each leveraged position.
- [Integration with Front-Ends](https://docs.dimes.fi/positions/integration-with-front-ends.md): Drop-in margin infrastructure for prediction market terminals.
- [CFD Abstraction](https://docs.dimes.fi/positions/cfd-abstraction.md): Multiply's leveraged prediction market design.
- [Introduction](https://docs.dimes.fi/risk-engine/introduction.md): How leverage and liquidation safety are determined across the platform.
- [Data Pipeline](https://docs.dimes.fi/risk-engine/data-pipeline.md): Key parameters that inform margining, hedging, and allowable exposure.
- [Maximum Leverage](https://docs.dimes.fi/risk-engine/maximum-leverage.md): Exposure calibrated to depth, slippage, and concentration.
- [Global Limits and Circuit Breakers](https://docs.dimes.fi/risk-engine/global-limits-and-circuit-breakers.md): Protocol-wide controls beyond user-level and market-level limits.
- [Levered Exposure](https://docs.dimes.fi/leverage-and-risk/synthetic-exposure.md): How collateral and hedging combine to form each position.
- [Contract-for-Difference](https://docs.dimes.fi/leverage-and-risk/contract-for-difference.md): Why CFDs are the right instrument for leveraged prediction market exposure.
- [Leverage Decay (J-factor)](https://docs.dimes.fi/leverage-and-risk/leverage-decay-j-factor.md): Automated exposure reduction driven by market microstructure.
- [Margin Requirement](https://docs.dimes.fi/leverage-and-risk/margin-requirement.md): Enforcing safe leverage by tying position size to posted collateral.
- [Liquidation Proofs](https://docs.dimes.fi/leverage-and-risk/liquidation-proofs.md): Onchain proofs that each liquidation followed the engine's rules.
- [Liquidation Trigger](https://docs.dimes.fi/leverage-and-risk/liquidation-trigger.md): When collateral, leverage, and market conditions no longer support the open position.
- [Getting Started](https://docs.dimes.fi/for-developers/getting-started.md): Onboarding path for integrating Dimes Multiply
- [Quickstart](https://docs.dimes.fi/for-developers/getting-started/quickstart.md): The six-step integration path. Authenticate, list markets, quote, open, monitor, close.
- [SDK Installation](https://docs.dimes.fi/for-developers/getting-started/sdk-installation.md): Install the TypeScript SDK and set up the client for server-side, browser, or React applications.
- [React Hooks](https://docs.dimes.fi/for-developers/getting-started/react-hooks.md): React hooks for the Dimes SDK — data fetching, the interactive quote flow, and live WebSocket updates, all on top of TanStack Query.
- [Environments](https://docs.dimes.fi/for-developers/getting-started/environments.md): 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.
- [Sandbox](https://docs.dimes.fi/for-developers/getting-started/sandbox.md): Sandbox is a fully deployed, isolated Multiply environment running on Polygon mainnet against test pUSD and fake outcome tokens. Build and test your integration end-to-end with no funds at risk.
- [Wallet Integration](https://docs.dimes.fi/for-developers/wallet-integration.md): Connect and abstract wallets for on-chain Multiply positions
- [Contract Addresses](https://docs.dimes.fi/for-developers/wallet-integration/contract-addresses.md): Canonical list of Dimes Multiply contract and token addresses on Polygon mainnet. Use these to verify on Polygonscan before approving any spend.
- [On-Chain Integration](https://docs.dimes.fi/for-developers/wallet-integration/on-chain-integration.md): How to submit on-chain transactions to open and close leveraged positions, and what the backend handles automatically after each step.
- [Smart Wallet Integration](https://docs.dimes.fi/for-developers/wallet-integration/smart-wallet-integration.md): How to open and close leveraged positions from Polymarket smart-contract wallets — Safe, Proxy, and the push-funded deposit wallet flow used by new API users.
- [Privy Integration](https://docs.dimes.fi/for-developers/wallet-integration/privy-integration.md): Open and close leveraged positions from a Privy wallet — an embedded EOA via the wagmi connector, or an ERC-4337 smart account via batched userOps.
- [Turnkey Integration (coming soon)](https://docs.dimes.fi/for-developers/wallet-integration/turnkey-integration.md): How to open and close leveraged positions from a Turnkey embedded wallet by bridging Turnkey's signer into wagmi with a small custom connector.
- [API & Events](https://docs.dimes.fi/for-developers/api-and-events.md): REST API, authentication, realtime events, and error handling
- [Authentication](https://docs.dimes.fi/for-developers/api-and-events/authentication.md): Dimes uses a two-tier authentication model: API keys for partner-level operations and short-lived JWTs for user-scoped actions.
- [API Reference](https://docs.dimes.fi/for-developers/api-and-events/api-reference.md): Complete reference for all Dimes Multiply endpoints. For a guided walkthrough, see Quickstart.
- [WebSocket Events](https://docs.dimes.fi/for-developers/api-and-events/websocket.md): Receive real-time position updates via WebSocket. All position state changes are delivered as events over a persistent Socket.IO connection.
- [Error Handling](https://docs.dimes.fi/for-developers/api-and-events/error-handling.md): All errors follow a consistent format. Every error response includes an error type, a machine-readable code, and a human-readable message.
- [Order Types](https://docs.dimes.fi/for-developers/order-types.md): Partial open and close order behaviors
- [Partial-Open (FAK) (coming soon)](https://docs.dimes.fi/for-developers/order-types/partial-open.md)
- [Partial Close (coming soon)](https://docs.dimes.fi/for-developers/order-types/partial-close.md): Shrink an open leveraged position by selling part of it, without closing the whole thing. The position stays open at a smaller size.
- [Design & Branding](https://docs.dimes.fi/for-developers/design-and-branding.md): UI requirements and Dimes brand assets for partners
- [UI Guidelines](https://docs.dimes.fi/for-developers/design-and-branding/ui-guidelines.md): Reference implementations for the key interface elements in a Multiply integration. Each component below includes a visual reference and the corresponding API fields mapped.
- [Media](https://docs.dimes.fi/for-developers/design-and-branding/media.md): Dimes media assets
- [Integration Agreement](https://docs.dimes.fi/legal/integration-agreement.md)
