# Tutorial

## I. Generate UserID

Enter in the official website:<https://omnilending.omnibtc.finance/lending>

"Connect Wallet"-"Must connect EVM\&Sui address"-Refresh page-"Generate UserID"

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

Please note that, when you generate UserID, you must generate EVM ID and Sui ID respectively.

In the pic, we generate the EVM ID, so after generating that, please switch to Sui wallet.

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

Generating ID costs fees, so for users who consistently fail to do, you can top up on that.

## II. Supply & Borrow

Before you borrow your asset, you have to supply tokens first. And OmniLending now use Sui as our settlement, so users will have two ID(EVM ID & Sui ID), each ID can supply & borrow different assets.

### 1) Sui

As we introduced above, we support  Borrow & Supply.&#x20;

Step1: “Manage Account” — “Choose Sui User ID” — “Back to the page and refresh”

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

Step2: “Supply available token” — “Input the amount” — “Confirm transaction”

<figure><img src="/files/1GRcsmYQJy3zZSioZjjj" alt=""><figcaption></figcaption></figure>

Step3: “Back to page” — “Borrow  available token”

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

### 2) EVM chains

Step1: “Manage Account” — “Choose EVM User ID” — “Back to the page and refresh”

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

Step2: “Choose available token to supply” — “Input the amount” — “Confirm transaction”

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

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

Step3: “Back to page” — “Borrow available token”

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

## III.**Withdraw & Repay**

After you deposit/borrow asset, all information will show in the top area. You can withdraw/Repay/ Borrow again.

Also, there's a \[Collateral] button you may be interested in, when you use your supplies as collateral, then you’ll be able to borrow more.

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


---

# Agent Instructions: 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:

```
GET https://omnibtclabs.gitbook.io/omnibtc/omnibtc-features/omnilending/tutorial.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
