Rialto Docs | Architecture
The components that turn a user order into a routed and verified onchain settlement.
System Map
Wallet and Application Layer
The application is the user-facing layer for choosing markets, entering trade size, reviewing quotes and submitting or signing the transaction. The wallet remains the authorization boundary for user assets.
Quote and Routing Layer
The router coordinates candidate liquidity sources. It evaluates exact-input output, expected execution cost and route viability before choosing a path. propAMMs can be queried onchain, making their current quote directly observable to the routing process.
Liquidity Layer
Rialto can combine multiple liquidity types. A propAMM owns its inventory and pricing logic; a conventional DEX source follows its pool design. Both can compete for the same user order if they support the requested market.
Settlement and Verification
Settlement contracts enforce route-specific checks such as minimum output. For propAMM integrations, approvals can be scoped to the exact input amount and revoked after the call, while the router verifies the output-token balance delta before accepting the fill.
Failure Boundaries
- A source that cannot quote safely should return no usable quote.
- A settlement that cannot deliver minimum output should revert.
- Liquidity source failures should not be treated as successful fills.
- Users should still review token, network and slippage details before authorizing a trade.
