> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agg.market/llms.txt
> Use this file to discover all available pages before exploring further.

# Tokenized Off-Chain Prediction Markets

> Bring positions from supported off-chain venues onto Solana as fully collateralized SPL tokens

AGG brings positions from supported off-chain prediction market venues onto Solana through a
turnkey tokenization layer. Solana builders can add access to regulated venues with AGG's
ready-made components, or choose from [four npm packages](/packages/overview) to integrate at
the SDK, hooks, UI, or authentication layer.

Follow the [Setup Guide](/api/setup) to choose an integration path and start building.

## How tokenization works

<Steps>
  <Step title="Buy a position">
    The user submits a signed intent and transfers capital into an on-chain escrow contract. AGG
    purchases the requested position on the off-chain venue and mints the corresponding SPL tokens
    to the user's Solana wallet.
  </Step>

  <Step title="Sell a position">
    The user submits a signed sell intent. AGG burns the corresponding SPL tokens, sells the
    off-chain position, and returns USDC based on the position's execution value.
  </Step>

  <Step title="Redeem a winning position">
    When a winning contract resolves to \$1, AGG funds a USDC redemption pool for the market. The
    user burns the winning SPL tokens and redeems them for USDC at a 1:1 rate.
  </Step>
</Steps>

## What builders get

* **Self-custody for users.** Users control the Solana wallet that holds their tokenized positions.
* **Standard Solana assets.** Positions are SPL tokens on Solana, fully collateralized by the
  corresponding off-chain venue positions.
* **Battle-tested infrastructure.** The tokenization API uses dFlow's production-tested Solana
  contracts. Builders already using this infrastructure can adopt AGG's APIs with minimal
  additional integration work.
* **Flexible deployment.** Use the system through AGG's unified APIs to access liquidity across
  seven venues, or integrate the tokenization layer as a standalone product.

## Supported venues

Tokenized off-chain markets are launching with ProphetX. Additional venues will follow.

To discuss venue support or an integration, contact
[builderprogram@agg.market](mailto:builderprogram@agg.market).

## Compliance

Users must complete KYC through Veriff before trading tokenized off-chain markets. AGG provides
the KYC flow through ready-made components or an API integration, and records the resulting
attestation on Solana. Veriff charges \$0.80 per verification.

## Funding models

Choose the operating model that fits your integration:

1. **Bring your own venue credentials and capital.** Each integration requires capital at the
   destination venue to execute trades through its API, plus on-chain capital to mint the
   corresponding SPL tokens on Solana.
2. **Use AGG-managed venue credentials and capital.** Build on AGG's existing venue integrations,
   in-venue balances, and on-chain capital to launch in minutes.

## Builder grants

Solana is supporting a builder grants program for new dApps built with AGG and ProphetX. To apply,
email [builderprogram@agg.market](mailto:builderprogram@agg.market) with information about what
you are building.

## Next steps

<CardGroup cols={2}>
  <Card title="Setup Guide" icon="gear" href="/api/setup">
    Install the packages and configure AGG for your application.
  </Card>

  <Card title="Packages" icon="cube" href="/packages/overview">
    Choose between the SDK, hooks, UI components, and authentication package.
  </Card>
</CardGroup>
