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

# propAMM Integration Overview

> List an onchain propAMM as a competing liquidity source on the Rialto Router.

## Who this is for

This track is for onchain market makers that expose an onchain quote function and
settle atomically in the same transaction. You deploy a contract that Rialto
quotes and settles against; Rialto routes order flow to it whenever it wins.

## How Rialto sources liquidity

Rialto's router quotes every candidate pool onchain at request time, picks the
best route net of gas, then settles the chosen route atomically through the
RialtoRouter settlement contract. A propAMM plugs in as one more candidate pool:

* Quote time, read-only. Rialto calls your getAmountOut view function. Your quote
  competes on output net of gas.
* Settle time, one transaction. If your pool wins a leg, RialtoRouter calls your
  swapExactIn via a generic RawCall action, with onchain slippage and output
  checks.

The model is an onchain, batch-sampleable quote plus an atomic settlement
entrypoint. Everything stays onchain and trustless, with no signing service or
quote API to run, unlike off-chain RFQ.

## Reference material

* Integration guide:
  [https://github.com/rialto-plds/rialto-api-docs/blob/main/PROP\_AMM\_INTEGRATION.md](https://github.com/rialto-plds/rialto-api-docs/blob/main/PROP_AMM_INTEGRATION.md)
* Runnable sample implementation: [https://github.com/rialto-plds/sample-propamm](https://github.com/rialto-plds/sample-propamm)

The pages that follow cover the standard interface, the quote and settlement
functions, adapting an existing AMM, the reference implementation, the onboarding
checklist, and the security model.
