# LuniSwap

{% tabs %}
{% tab title="Swap" %}

<figure><img src="/files/XNMH1FdAPEm52F4yUFrj" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Liquidity" %}

<figure><img src="/files/XLYBpMPBEQPrN1VDOIK1" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Farms" %}

<figure><img src="/files/aIO4qTI6m0tQfqUdELdd" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Pools" %}

<figure><img src="/files/WDzXBzEYw0gtDhRqEKgR" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Referral" %}

<figure><img src="/files/t9WyOFnVtCPCN4QIGISi" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}

## LuniSwap Decentralized Exchanges (DEX)

A decentralized exchange (DEX) is a type of cryptocurrency exchange that operates on a decentralized blockchain network instead of a centralized platform. In a DEX, users can trade cryptocurrencies directly with each other using a peer-to-peer network, without the need for an intermediary.

Decentralized exchanges work by creating smart contracts on the blockchain that act as the exchange's order book and matching engine. These smart contracts execute trades automatically when the conditions of a trade are met, such as when a buyer's bid matches a seller's offer.

Because DEXs operate on a decentralized network, they offer several advantages over centralized exchanges, including :&#x20;

1. Security: Decentralized exchanges do not hold users' funds or private keys, making them less susceptible to hacks and thefts.
2. Privacy: Users can trade cryptocurrencies without needing to provide personal information or go through a verification process.
3. Decentralization: There is no single point of failure, meaning that the exchange cannot be shut down or censored by any central authority.
4. Access: Anyone can participate in a DEX as long as they have a compatible wallet and an internet connection.

## System Component

| System Component    | Feature           | Feature Overview                                                                                                                                                                                                                                                                                                                                    |
| ------------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **User Onboarding** | Connect to Wallet | <p>User will connect their :</p><ul><li>Metamask wallet</li><li>Trust Wallet </li><li>BSC Wallet </li><li>WalletConnect</li></ul>                                                                                                                                                                                                                   |
| **User Section**    | Swap              | User will be able to swap any BEP-20 Token with other BEP-20 Token, provided the pair holds the liquidity within the platform                                                                                                                                                                                                                       |
| **Liquidity**       | Add Liquidity     | Users can add liquidity to the platform by investing their tokens to permissionless liquidity pools (LPs). In return, user will receive the LP tokens. As the overall value of the pool rises, these token values also appreciate accordingly.                                                                                                      |
|                     | Remove Liquidity  | User will be able to remove liquidity by providing the LP tokens back to the smart contract                                                                                                                                                                                                                                                         |
| **Farming**         | Pool              | <p>Another form of earning tokens is Pool. The user can stake their BEP20 tokens (only whose pool is supported by platform) in pools to earn more </p><p>native platform tokens. The user can earn more tokens by staking the tokens in the Pool.</p><p></p><p>Note: Client can share the Pool rules while development - Multiplier of the pool</p> |
| **Referral**        | Single Leve       | User will be able to onboard other users by sharing their referral link The referrer would be able to able to earn commission from the rewards generated by referee from farms                                                                                                                                                                      |


---

# 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://lunaticstoken.gitbook.io/whitepaper/ecosystem/luniswap.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.
