> For the complete documentation index, see [llms.txt](https://yagensh.gitbook.io/not1inch/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yagensh.gitbook.io/not1inch/documentation/basics/markdown.md).

# SUI to EVM Single Fill Swap

UserEVM- 0x39619C9fe2AF793f847D112123F62c01df0A0025

ResolverEVM - 0x4207ebd97F999F142fFD3696dD76A61193b23e89

UserSUI - 0x7ccd0a41cb630ed3ec4088beb3feebf0507412bf43115a6338915d51632dae00

ResolverSUI - 0x8acfda09209247fd73805b2e2fce19d1400d148ea38bdb9237f15925593eff27\
\
Step - 1 \
\
User Announces Order **to do cross chain swap for  0.05 SUI to 100 Arbitrum USDC**

<figure><img src="/files/2YKWoYQshhFhxNuN8uDn" alt=""><figcaption></figcaption></figure>

\
Step - 2\
\
Duch Auction Starts&#x20;

<figure><img src="/files/0rid0lu1BV0FSuQL3lfK" alt=""><figcaption></figcaption></figure>

\
\
Step - 3\
\
Resolver fills the order at affordable price

<figure><img src="/files/BLVqLYcm3hybfeF5nSPr" alt=""><figcaption></figcaption></figure>

\
\
Step - 4\
\
Source Htlc Escrow is created with users funds with a secret hash

<figure><img src="/files/fy1iXfftHkjUeQySdcvR" alt=""><figcaption></figcaption></figure>

\
\
Step - 5 \
\
Resolver Adds safety deposit to the escrow

<figure><img src="/files/HtohYjFbwH46rZynaGmB" alt=""><figcaption></figcaption></figure>

\
\
Step - 6\
\
Resolver  Creates a Destination escrow with Funds + safety deposit with secret hash

<figure><img src="/files/FqeNleHj3KxalC5HUc9X" alt=""><figcaption></figcaption></figure>

\
\
Step - 7\
\
Secret is shared after both escrows are created \
\
Step - 8 \
\
resolver withdraws funds on destination chain so funds go to the user while resolver receives the safety deposit back.

<figure><img src="/files/CRVXZEY11atS6mjnOHsF" alt=""><figcaption></figcaption></figure>

<br>

<figure><img src="/files/YDkoVyFiKgYNuE0BS38U" alt=""><figcaption></figcaption></figure>

\
Step - 9\
\
resolver claims funds on the source chain&#x20;

<figure><img src="/files/4woMrr1X0iWxNCruOeCk" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you have multiple files, GitBook makes it easy to import full repositories too — allowing you to keep your GitBook content in sync.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://yagensh.gitbook.io/not1inch/documentation/basics/markdown.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
