# 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="https://18047023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU0svYTrshQFIDzN7qtCI%2Fuploads%2FDIAI2MBq95hVQ4uN1qO9%2Fimage.png?alt=media&#x26;token=ffc824a5-094f-4e1f-87f1-a2f73b987c0a" 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="https://18047023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU0svYTrshQFIDzN7qtCI%2Fuploads%2Folty7f9EUIz8cpBoisxK%2Fimage.png?alt=media&#x26;token=2af16c54-0c3f-4efe-8950-3930ee602a51" 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="https://18047023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU0svYTrshQFIDzN7qtCI%2Fuploads%2FbXNi6xSG0MbWiduH71up%2Fimage.png?alt=media&#x26;token=11ee1f91-e708-4d52-9389-c968270d8af4" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://18047023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU0svYTrshQFIDzN7qtCI%2Fuploads%2FWfp1yh8uWa1CllK0ZXqN%2Fimage.png?alt=media&#x26;token=c168c56c-5938-47a3-be23-13008dc7b1e8" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://18047023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU0svYTrshQFIDzN7qtCI%2Fuploads%2FEPNaZTN6brEe3CHYeQpF%2Fimage.png?alt=media&#x26;token=68f42d93-8351-4d11-b01e-036cc836495a" alt=""><figcaption></figcaption></figure>

### 2) EVM chains

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

<figure><img src="https://18047023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU0svYTrshQFIDzN7qtCI%2Fuploads%2FzXkEjYrXNYhaG11dtS4k%2Fimage.png?alt=media&#x26;token=9bd5ecd5-7338-4cf0-82a1-7b079fd3da0c" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://18047023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU0svYTrshQFIDzN7qtCI%2Fuploads%2FlyQIRULUlTLsyX5sxgm7%2Fimage.png?alt=media&#x26;token=23fcb743-9d53-424f-ad80-4052ee4e269e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://18047023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU0svYTrshQFIDzN7qtCI%2Fuploads%2Fyxw7E8d2w0XPUZe0etrQ%2Fimage.png?alt=media&#x26;token=25aa3fef-eb34-4975-a660-fc2190724e37" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://18047023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU0svYTrshQFIDzN7qtCI%2Fuploads%2F6EZP2tP6aqRlSZHQgzAU%2Fimage.png?alt=media&#x26;token=7189b52f-a024-4a0b-b56d-8f084d0965f5" 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="https://18047023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FU0svYTrshQFIDzN7qtCI%2Fuploads%2FIOf6jHON0KDY8h37U1zW%2Fimage.png?alt=media&#x26;token=47eb4835-fcbd-4895-b61a-2f322905e5db" alt=""><figcaption></figcaption></figure>
