Resource lock intents using OIF
This webapp demonstrates chain abstraction using the Open Intents Framework. It currently support a seamless resource lock flow using The Compact and a traditional escrow flow, along with a work in progress multichain flow.
Multichain
A multichain intent is an intent that collects inputs on multiple chains, providing the result on one or more chains. In other words, a multichain intent is an any to any intent. Multichain intents are currently work in progress and will break in the future. If you are using this interface for testing, ensure the multichain flag is not shown.
Why Resource Locks?
Resource Locks improve asset availability guarantees in cross-chain contexts and asynchronous environments, offering several key advantages:
- Funds are only debited after successful delivery has been proven.
- Enables efficient short-lived interactions—intents can expire within seconds without consequence.
- No upfront deposit or initiation transaction are required.
- Fully composable with other protocols and settlement layers.
Learn more about Resource Locks.
Why the Open Intents Framework?
The Open Intents Framework (OIF) is an open coordination layer for standardizing and scaling intent-based workflows across chains. The goal is to:
- Standardise cross-chain interactions.
- Define a permissionless intent implementation that can scale across all chains.
- Create a reference implementation for cross-chain solvers & searchers.
- Provide tooling for wallet and app developers.
Learn more about Open Intents Framework.
Same Chain
A same chain intent is an intent that only has inputs and outputs on the same chain. The oracle is configured different to a cross-chain intent. SetAttestation has to be called on the output settler to expose the filled output. Learm more about same chain intents or explore a demo of how to collect inputs before delivering outputs.