---
description: Welcome to Swaylend Docs!
---

# Introduction

[Swaylend](http://app.swaylend.com/) is a decentralized lending platform built on the [Fuel Network](https://fuel.network/), which operates using an Ethereum consensus layer. As a fork of Compound V3, Swaylend retains some of its core logic, though it has been rewritten in the Sway language. The platform is structured around base asset markets, allowing users to **supply base asset and earn interest or borrow base asset and pay interest** on a single asset. For example, in the USDC market, USDC functions as the base asset that users can either borrow or supply.

In each market, users can only maintain **one active position**, either as a lender or a borrower. This means **users cannot simultaneously borrow and supply the same asset**, such as USDC, within the USDC market. However, users can hold multiple positions across different markets. For example, they could borrow USDC in the USDC market while supplying ETH in the ETH market simultaneously.

If users choose to **open a borrow position** and borrow a base asset, they must first **provide collateral**. As Swaylend is an overcollateralized lending protocol, users must closely monitor key metrics such as the Liquidation Ratio when managing a position. The collateral provided will be absorbed by the protocol if the user's position becomes subject to liquidation. It is important to note that **no interest is earned on the supplied collateral**. Alternatively, users can choose to **open a supply position** and provide the base asset. In this position, users can **earn interest**, as reflected by the APY displayed in the app. **Users can withdraw their supplied assets at any time** since Swaylend maintains no control over these assets, regardless of whether they are deposited as collateral for a borrowing position or as part of a lending position.

This documentation is intended for anyone seeking to understand how Swaylend works and how to use it. Readers will find helpful information to guide them through onboarding to the protocol, with more technical details presented towards the end. Please note that all information provided in this documentation is subject to change without prior notice.

{% hint style="info" %}
For any questions or further clarification, we encourage you to join our [Discord community](https://discord.gg/7N796pdHNk) to learn more about us.
{% endhint %}

<figure><img src="https://304862755-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNK2mQjR5hiDpn2pB01Lp%2Fuploads%2F4lgbrSK4ePpjjetftUoM%2Fimage.png?alt=media&#x26;token=8751c96d-16d6-4785-8d2f-22ab3c4d7271" alt=""><figcaption></figcaption></figure>
