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.
Reference material
- Integration guide: https://github.com/rialto-plds/rialto-api-docs/blob/main/PROP_AMM_INTEGRATION.md
- Runnable sample implementation: https://github.com/rialto-plds/sample-propamm
