Skip to main content

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

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.