Transaction Lifecycle Overview

What is an Intent Protocol?
An intent protocol allows users to express what they want to accomplish (e.g., “transfer 100 USDC from Ethereum to Polygon”) without specifying exactly how it should happen. The protocol then finds the best way to fulfill this intent through a competitive marketplace of solvers. Solvers are specialized third parties who fulfill cross-chain intents using their own capital and liquidity sources. They compete to offer users the best prices for moving assets between blockchains. Think of LI.FI Intents like Uber for cross-chain transfers: Users request a service (moving tokens across chains), and qualified providers (solvers) compete to offer the best price and service.What are Resource Locks?
Resource locks are smart contracts that securely hold user funds until specific conditions are met. They act as escrow accounts, ensuring that users’ assets remain safe until their cross-chain transaction is properly executed. You can find more information about resource locks in the knowledge database.How It Works
- User expresses an intent: The user deposits their tokens into a lock. This may be a resource lock like TheCompact or a built in lock like an Escrow.
- Intent is distributed to the marketplace: The lock generates a proof of deposit, which is broadcast to the order server.
- Solvers bid and compete for intents: Our network of solvers analyzes the intent and submits competitive quotes.
- Intent execution: The winning solver delivers the requested assets on the destination chain.
- Verification & settlement: The delivery is verified, and the locked funds are released to the solver.
Concepts & Actors in the OIF System
- Intents: User requests that express what they want to accomplish without specifying exactly how it should happen.
- Solvers: Entities who compete to fill orders.
- Resource Locks: Smart contracts that securely escrow and unlock user funds.
- Order Server: The marketplace where intents are matched with solvers.
- Output Settler: Records asset delivery on the destination chain.
- Oracle: Transmits proof of delivery back to the source chain.
- Input Settler: Verifies proofs and releases locked funds to solvers.