| description |
|---|
NEAR Intents is a protocol for multichain financial products that replaces centralised exchanges. It requires market participants to deposit liquidity in order to trade. |
{% hint style="info" %} The NEAR intents protocol and the documentation are under active development.
The protocol has been renamed from Defuse to "NEAR Intents". {% endhint %}
sequenceDiagram
participant User
participant Message Bus
participant NEAR
User->>Message Bus: Request a quote
note right of Message Bus: Market Makers <br> commit <br> to fill the quote
Message Bus-->>Message Bus:
Message Bus-->>User: Return quotes
User->>Message Bus: User commits <br> to execute the best quote
Message Bus->>NEAR: Call the verifier contract
note over NEAR: Smart contract <br> verifies signatures <br> and <br> settles matched <br> commitments
NEAR ->>User:
note right of User: Swap Settled! ✅
- Entities:
- Distribution channels. Applications that have the users, who are interested in decentralised spot trading.
- Market Makers. Active market participants that deposit liquidity in order to fill quotes issued by users
- Intent Settlement:
- Message Bus. an off chain message bus used for sending quotes and signed intents (commitments) between market makers and users. Each distribution channel can run their own Message Bus with their own set of market makers.
- Verifier. Smart contract that verifies intents expressed as state changes (“diffs”) signed by corresponding owners. The combination of state changes is committed as long as the invariant (total delta is zero) was kept for each token after these changes were applied. Deployed on NEAR mainnet.
- 1 Click. Swapping agent that makes it easy for distribution channels to use NEAR intents.