DEV Community

walter
walter

Posted on

How Hashflow Executes Cross-Chain Swaps with Zero Slippage via its RFQ Engine

This technical guide explains how to use Hashflow, detailing the Hashflow Request-for-Quote (RFQ) model that powers its signature Hashflow cross-chain swaps and Hashflow no slippage guarantee.

Step 1: The User Initiates a Quote Request

When a user on the Hashflow DEX Official platform enters a trade (e.g., ETH on Arbitrum for AVAX on Avalanche), they are not interacting with an AMM pool. Instead, the frontend sends a "request for quote" to a network of professional, off-chain market makers.

Step 2: Market Makers Respond with Signed Quotes

Market makers receive the request and respond with cryptographically signed quotes that include the price and the destination chain transaction data. These quotes are valid for a short period. The Hashflow backend presents the best quote to the user.

Step 3: The Atomic Transaction

The price the user sees is the price they get.

The user signs a single transaction on the source chain.

This transaction transfers their source asset (ETH) to the market maker's wallet on that chain.

The signed quote from the market maker acts as a binding obligation. Once they receive the source assets, their pre-signed transaction on the destination chain is broadcast, releasing the destination assets (AVAX) to the user's wallet.

This entire process provides strong Hashflow MEV protection, as the price is determined off-chain and executed atomically. For a full breakdown of the architecture, refer to the Full Official Documentation.

Top comments (0)