# Kata Pengantar

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL8YsLrnq2xKcYyZuB%2F-MiL8b6jQjhq5pfdltv1%2F1.%20DOCUMENTATION.svg?alt=media\&token=bb5d79e5-5d7b-439d-90c8-d5f7d0a5215a)

**Decentralized Exchange Protocol** adalah sistem keuangan berbasis blockchain yang dirancang untuk menyediakan layanan keuangan terbuka yang transparan, tanpa perantara, izin dan tersedia untuk semua orang tanpa otoritas terpusat. Sebaliknya, ia menggunakan kontrak pintar berdasarkan teknologi blockchain, yang memungkinkan pengembang untuk membangun fungsi yang lebih baik. Decentralized Exchange terdiri dari layanan perdagangan, tabungan, pinjam meminjam, dan asuransi yang dapat diakses oleh siapa saja kapan saja dengan menggunakan smartphone atau laptop dan koneksi internet.‌

**LITEDEX** adalah protokol pertukaran terdesentralisasi yang mengadopsi blockchain paling populer di dunia; Binance Smart Chain, Ethereum Network, Huobi Eco Chain, Polygon Matic Network, Tron Network, Polkadot Network dan Solana Network. Sebagai platform DeFi pertama di Indonesia, LITEDEX juga mendapatkan keuntungan dari beberapa protokol terdesentralisasi terbaik dan menciptakan ekosistem yang sangat bermanfaat bagi pemegang Token LDX. Komitmen kami adalah membangun ekosistem DeFi dalam fitur yang tersedia terdesentralisasi untuk menyediakan layanan likuiditas dalam satu platform untuk aset berkualitas lebih tinggi, pengalaman perdagangan yang andal, beragam, demokratis, hemat biaya, dan aman bagi pengguna DeFi di seluruh dunia.‌

### **Apa itu Token LITEDEX?** <a href="#apa-itu-token-litedex" id="apa-itu-token-litedex"></a>

**Token LITEDEX** adalah token tata kelola yang dibangun di jaringan blockchain Binance Smart Chain (BEP20), dibuat untuk membangun ekosistem DeFi dan memberikan hak kepada semua pemegang LDX untuk mengelola platform melalui mekanisme voting.‌

### **Mengapa harus LITEDEX?** <a href="#mengapa-harus-litedex" id="mengapa-harus-litedex"></a>

* LITEDEX menyediakan layanan yang tidak ada di sektor Keuangan Terpusat (CeFi) seperti Swap, Staking, Farming, dan NFT.
* Platform LITEDEX dikembangkan oleh tim pedagang crypto berpengalaman dan pengembang blockchain, didukung oleh para profesional dalam manajemen proyek, komunikasi, pemasaran, penjualan, dan banyak lagi.
* LITEDEX menerapkan audit kontrak pintar untuk memastikan transaksi yang sangat aman di platform.
* LITEDEX mengembangkan komunitas penggemar kripto berdasarkan nilai Berbagi Manfaat.

### **Fitur yang tersedia di Litedex** <a href="#fitur-yang-tersedia-di-litedex" id="fitur-yang-tersedia-di-litedex"></a>

* Swap
* Liquidity Pool
* Staking
* Farming
* Lending
* Borrowing
* NFT

‌

Semua fitur yang dicantumkan adalah fitur yang dibangun di Blockchain BSC dan ETH.


# Keamanan & Audit

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL8YsLrnq2xKcYyZuB%2F-MiL8fQrRLQjtPmcJkdI%2F2.%20SMART%20CONTRACT%20SECURITY.svg?alt=media\&token=8263d026-5966-4d43-8361-b84eba37a516)

LITEDEX sebagai platform yang mengedepankan keamanan bagi pengguna. Kami menjadwalkan pemeriksaan rutin terhadap smart contract untuk terus meningkatkan standar keamanan terbaik. Dan menugaskan perusahaan Audit keamanan blockchain terbaik. Berikut bukti atau proses Audit Kami:‌

* ​[Certik](https://leaderboard.certik.io/projects/litedex) - Bersertifikat

### **Smart Contract Security** <a href="#smart-contract-security" id="smart-contract-security"></a>

**Smart contract** adalah kesepakatan yang dicapai antara dua orang dalam bentuk kode komputer dan berjalan di jaringan blockchain, sehingga disimpan dalam database publik yang tidak dapat diubah. Transaksi yang terjadi, diproses oleh blockchain yang berarti bahwa smart contract dapat dikirim secara otomatis tanpa pihak ketiga (bank, pemerintah, broker, dll). Transaksi hanya akan terjadi bila syarat-syarat dalam perjanjian terpenuhi. Tanpa pihak ketiga, tidak ada entitas yang dapat dipercaya untuk menjalankan smart contract. Meski dikenal aman, tetapi Tim LITEDEX melakukan Audit secara rutin dan melakukan keamanan berlapis.


# Roadmap

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL8YsLrnq2xKcYyZuB%2F-MiL8jeJqmVzBuWFVp4P%2F12.%20ROADMAP.svg?alt=media\&token=875a20a8-435c-4408-b88c-db9cef076040)

**Roadmap** merupakan teknik perencanaan yang fleksibel untuk mendukung perencanaan strategis dengan menggabungkan tujuan jangka pendek dan jangka panjang. Roadmap dibuat dengan cara yang lebih rinci dan tahapan yang sistematis mengenai pelaksanaan suatu program kegiatan dalam kurun waktu tertentu. Anda dapat mengunjungi Roadmap LITEDEX [disini](https://litedex.io/).


# Memulai

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL8YsLrnq2xKcYyZuB%2F-MiL8oeUMfjHPiboMmS0%2F14.%20GET%20STARTED.svg?alt=media\&token=33efa696-89b1-446b-8f48-80e40b7b3659)

Sebelum Anda melakukan perdagangan, Kami sangat menyarankan untuk memahami, mempelajari dan menggunakannya dengan baik. Oleh karena itu, Tim LITEDEX menyediakan edukasi singkat untuk pedagang pemula dan pedagang pengalaman. Berikut jalur edukasi yang telah disediakan.‌

### Persiapan sebelum berdagang <a href="#persiapan-sebelum-berdagang" id="persiapan-sebelum-berdagang"></a>

Persiapan sebelum berdagang, pedagang harus mengetahui apa saja yang dibutuhkan untuk melakukan transaksi. Dalam bertransaksi di pertukaran terdesentralisasi (Defi), pasti membutuhkan Wallet untuk menyimpan dana pribadi. Oleh karena itu, Tim LITEDEX memberikan edukasi tentang Wallet:‌

#### 1. [Pengenalan Wallet](/indonesia/memulai/pengenalan-wallet)​ <a href="#id-1-pengenalan-wallet" id="id-1-pengenalan-wallet"></a>

#### 2. [Cara membuat Wallet](/indonesia/memulai/cara-membuat-wallet) <a href="#id-2-cara-membuat-wallet" id="id-2-cara-membuat-wallet"></a>

Setelah Anda benar-benar memahami, mempelajari dan menggunakannya dengan baik. Anda bisa mempelajari panduan produk.‌

### Panduan menggunakan Produk <a href="#panduan-menggunakan-produk" id="panduan-menggunakan-produk"></a>

Jika Anda telah membuat Wallet dan mengetahui cara menggunakannya. Silahkan mengikuti panduan yang telah Kami sediakan.‌

#### 1. [Exchange](/indonesia/panduan-produk/exchange)​ <a href="#id-1-exchange" id="id-1-exchange"></a>

* ​[Swap Token](/indonesia/panduan-produk/exchange/swap-token)​
* ​[Cara berdagang](/indonesia/panduan-produk/exchange/cara-berdagang)​
* ​[Liquidity Pool](/indonesia/panduan-produk/exchange/liquidity-pool)​

#### 2. [Yield Farming](/indonesia/panduan-produk/yield-farming)​ <a href="#id-2-yield-farming" id="id-2-yield-farming"></a>

* ​[Cara menggunakan Yield Farming](/indonesia/panduan-produk/yield-farming/cara-menggunakan-yield-farming)​

#### 3. [Staking](/indonesia/panduan-produk/staking)​ <a href="#id-3-staking" id="id-3-staking"></a>

* ​[Cara menggunakan Staking](/indonesia/panduan-produk/staking/cara-menggunakan-staking)​

#### 4. [Analitik (Info)](https://app.gitbook.com/@litedex-1/s/litedex-documentation/v/bahasa-indonesia/panduan-produk/analitik-info)​ <a href="#id-4-analitik-info" id="id-4-analitik-info"></a>


# Pengenalan Wallet

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL8YsLrnq2xKcYyZuB%2F-MiL8vLI12IdIzPqd21v%2F6.%20WALLET.svg?alt=media\&token=b3407176-0b57-43d8-b2d7-6c3f1f4c6bb1)

**Wallet** adalah program yang merupakan kunci yang digunakan untuk menyimpan, mengirim, dan menerima berbagai token cryptocurrency di jaringan Blockchain. Dan LITEDEX telah mendukung Wallet cryptocurrency ternama yang telah disediakan daftar listnya.‌

### Wallet yang tersedia: <a href="#wallet-yang-tersedia" id="wallet-yang-tersedia"></a>

* Metamask
* Safepal
* TrustWallet
* TokenPocket
* HuobiWallet
* MathWallet
* Dan Wallet yang didukung WalletConnect.


# Cara membuat Wallet

Wallet tersedia di smartphone dan komputer desktop/web browser (Android/IOS). Anda harus menggunakan Wallet sesuai dengan kebutuhan. Jika Anda merupakan pedagang yang sering menggunakan smartphone, Anda bisa menginstallnya di smartphone. Dan jika Anda adalah pedagang yang lebih sering menggunakan desktop, Anda bisa menggunakan Wallet yang ada di komputer desktop atau web browser.

Anda dapat menemukan informasi Wallet, dan cara penginstalannya dibawah ini.

{% tabs %}
{% tab title="Metamask" %}
![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-DholJWzY_0I_NN6%2FMetamask.png?alt=media\&token=7451e083-785c-462b-a6f5-edf76853a59d)

**Metamask** adalah ekstensi browser yang sangat populer, dan sebagai Wallet cryptocurrency yang terhubung ke blockchain Ethereum. Metamask mendukung Aplikasi Terdesentralisasi (DApps) dan salah satu solusi Wallet Ethereum terbaik yang kompatibel dengan banyak browser seperti Chrome, Firefox, Brave, dan Microsoft Edge.

#### Panduan membuat Wallet di Metamask <a href="#panduan-membuat-wallet-di-metamask" id="panduan-membuat-wallet-di-metamask"></a>

* Smartphone (Tidak tersedia)
* Desktop/Web Browser

Cara membuat Wallet Metamask

1\. Kunjungi halaman <https://metamask.io/download>​

2\. Setelah Anda mengunjungi Website kurang lebih tampilannya akan seperti ini.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mgt5BaQLwJkYXhvImry%2F-MgtEJGSbjH-ZDtkENRe%2F2.jpg?alt=media\&token=64c80cf7-1eea-4447-86cd-4b0895433d3b)

Dalam tutorial ini, Kami memberikan cara menginstall di Browser (Chrome), tetapi untuk alur penginstallan hampir semuanya sama. Klik "Install Metamask for Chrome".

3\. Tunggu prosesnya, sampai ada tab baru muncul dengan tampilan seperti ini.

![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-KxBtBRFG_Yjg7a1%2F3.png?alt=media\&token=1f1e466e-70e0-45c3-a493-398c8f51a7fa)

Anda dapat Klik "Add to Chrome", lalu akan ada pemberitahuan.

![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-PUF_ZdmvLkY0DVu%2F3-2.png?alt=media\&token=5bb1e1f4-16a6-4db1-9497-83d506408304)

Klik "Add extension" dan tunggu proses download ekstensi sampai selesai.

4\. Tab baru menampilkan ini.

![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-T7lHwc4E7eImXyd%2F4.png?alt=media\&token=1923d4c2-790a-489a-b6df-de92a9ddfaad)

Anda Klik "Get Started" untuk melanjutkan.

5\. Jika Anda sudah memiliki Wallet Metamask, Anda dapat mengklik "Import Wallet" untuk mengimport private yang sebelumnya Anda miliki. Tetapi pada tutorial ini, Kami hanya akan membuat Wallet Metamask.

![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-X6v3OqzzYTK7kg-%2F5.png?alt=media\&token=5eff6bd1-5cc5-48eb-b475-91c6dbbc5ab2)

Anda bisa melanjutkan pembuatan dengan mengklik "Create a Wallet".

6\. Metamask menginformasikan untuk membantu menyempurnakan Metamask dengan cara mengumpulkan data penggunaan.

![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-_hyZm_EDNw5WZwt%2F6.png?alt=media\&token=a67816df-4125-42bf-b353-2c33efa20063)

Jika Anda ingin membantu Metamask, Anda dapat klik "I Agree". Tetapi Pada tutorial ini, Kami akan klik "No Thanks".

7\. Setelah itu proses selanjutnya adalah membuat password.

![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-dzDisy1y-3nzQDr%2F7.png?alt=media\&token=196a54b0-7984-47ee-a61a-eed77ce97437)

Kami sarankan untuk menggunakan password yang sangat unik. Setelah Anda memasukkan password, klik centang "I have read and agree to the Terms of Use" dan klik "Create".

8\. Demi keamanan, Metamask menyediakan video singkat untuk mempelajari frasa pemulihan Anda, dan cara menjaga keamanan Wallet Anda. Kami sangat sarankan untuk menontonnya dan pahami dengan baik.

![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-hJRVbizHkciNylQ%2F8.png?alt=media\&token=50f03558-b011-4f3d-9750-caf863880e8d)

Jika Anda telah memahami dengan baik, Anda dapat klik "Next".

9\. Anda dapat melihat frasa dengan klik "CLICK HERE TO REVEAL SECRET WORDS" dan Anda tulis frasa yang ditampilkan. Setelah itu klik "Next".

![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-lNL6Xul0ULnbIbx%2F9.png?alt=media\&token=3290667c-1e01-4fba-94ef-19fc1f243375)

10\. Konfirmasikan frasa sesuai urutan dengan yang Anda miliki dengan cara klik kata perkata. Dan jika telah terkonfirmasi benar, Anda dapat klik "Confirm".

![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-pZITqNFFS5k0bBj%2F10.png?alt=media\&token=81fd7668-cf28-4a4a-b4bd-9969eaf7b48e)

11\. Selamat Anda telah membuat Wallet Metamask. Anda dapat klik "All Done" untuk melihat Wallet Metamask yang telah dibuat.

![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-tu1ZCKKdolcqkIO%2F11.png?alt=media\&token=55457a1f-5b69-4072-acf3-05fd398a4a2d)

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mgt5BaQLwJkYXhvImry%2F-MgtElgXE3SSO8GPOndZ%2F11-2.png?alt=media\&token=e73cd184-b49e-4615-8e8b-ed7a29ed3c23)

Jika Anda ingin mengetahui lebih tentang Metamask, Anda bisa mengunjungi Website Resminya [disini](https://metamask.io/).
{% endtab %}

{% tab title="MathWallet" %}
![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-8udNDEOppFiqCbY%2FMathWallet.png?alt=media\&token=fb82a3d6-827e-4602-a3f8-534f3ea078b4)

**MathWallet** adalah Wallet crypto universal multi-platform (mobile/desktop/extension/hardware) yang memungkinkan menyimpan Coin BTC, ETH, BNB dan lainnya didalam satu Wallet.

#### Panduan membuat Wallet di MathWallet <a href="#panduan-membuat-wallet-di-mathwallet" id="panduan-membuat-wallet-di-mathwallet"></a>

* Smartphone (Tidak tersedia)
* Desktop/Web Browser (Kunjungi panduannya [disini](https://mathwallet.medium.com/tutorial-of-math-wallet-browser-extension-d9338f1a6f7))

Jika Anda ingin mengetahui lebih tentang MathWallet, Anda bisa mengunjungi Website resminya, sekaligus mendownload dan menginstallnya [disini](https://mathwallet.org/).
{% endtab %}

{% tab title="SafePal" %}
![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-5VF1uBYBYp5f1-G%2FSafePal.png?alt=media\&token=b5a78b20-1c2c-4c95-bdce-f137f635abfb)

**SafePal** didedikasikan untuk menyediakan platform manajemen crypto yang aman dan ramah pengguna bagi massa untuk mengamankan dan mengembangkan aset crypto mereka dengan aman dan nyaman. Ini adalah Wallet perangkat keras pertama yang diinvestasikan dan didukung oleh Binance.

#### Panduan membuat Wallet di SafePal <a href="#panduan-membuat-wallet-di-safepal" id="panduan-membuat-wallet-di-safepal"></a>

* Smartphone (Kunjungi panduannya [disini](https://docs.safepal.io/safepal-app/how-to-create-a-safepal-software-wallet))

Jika Anda ingin mengetahui lebih tentang SafePal, Anda bisa mengunjungi Website Resminya [disini](https://www.safepal.io/about). Jika Anda ingin mendownload dan menginstall, Anda bisa mengunjungi [safepal.io](https://www.safepal.io/download).
{% endtab %}

{% tab title="TrustWallet" %}
![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr-3-AvuGFrq5bResr%2FTrustWallet.png?alt=media\&token=ea429331-45ad-429c-b35d-7b17782c2120)

**TrustWallet** adalah Wallet yang bertujuan membuat crypto lebih mudah diakses, sebuah Wallet Desentralisasi yang memberikan kepemilikan kunci untuk cryptocurrency, memilikiii akses ke DApps, dan tidak menyimpan informasi pribadi apapun.

#### Panduan membuat Wallet di TrustWallet <a href="#panduan-membuat-wallet-di-trustwallet" id="panduan-membuat-wallet-di-trustwallet"></a>

* Smartphone (Kunjungi panduannya [disini](https://community.trustwallet.com/t/how-to-create-a-multi-coin-wallet/41))

Jika Anda ingin mengetahui lebih tentang TrustWallet, Anda bisa mengunjungi Website resminya, sekaligus mendownload dan menginstallnya [disini](https://trustwallet.com/).
{% endtab %}

{% tab title="HuobiWallet" %}
![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfr--WIoBGtdwJrx_9f%2FHuobiWallet.jpeg?alt=media\&token=baf35fd5-5b63-4436-9cfd-52b8de79a4e7)

**HuobiWallet** memiliki tujuan dan visi untuk mengoptimalkan layanan keuangan, membebaskan kekayaan global, dan melindungi privasi pengguna.. HuobiWallet adalah Wallet ringan Multi-chain profesional yang menjamin keamanan aset pengguna dan menyediakan layanan Manajeman Aset Digital (DAM) yang sederhana, nyaman dan aman.

#### Panduan membuat Wallet di HuobiWallet <a href="#panduan-membuat-wallet-di-huobiwallet" id="panduan-membuat-wallet-di-huobiwallet"></a>

* Smartphone (Kunjungi panduannya [disini](https://support.huobiwallet.com/hc/en-us/articles/360000135181-How-Can-I-Create-a-Wallet-))

Jika Anda ingin mengetahui lebih tentang HuobiWallet, Anda bisa mengunjungi Website Resminya [disini](https://www.huobiwallet.com/en/about). Jika Anda ingin mendownload dan menginstall, Anda bisa mengunjungi [huobiwallet.com](https://www.huobiwallet.com/).
{% endtab %}

{% tab title="TokenPocket" %}
![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-MfqzwnjL0yiyZ4McUrk%2FTokenPocket.png?alt=media\&token=1808893c-6b24-4506-8815-45126479164c)

**TokenPocket** adalah Wallet Multi-chain yang mudah digunakan, mendukung semua mata uang crypto/chain terkemuka (Bitcoin, Ethereum, EOS, Polkadot, TRON, BSC, Heco, IOST, Cosmos, Binance, BOS, MOAC, dan Jingtum) dan mendukung lebih dari 2200 DApps. Kunci pribadi disimpan di perangkat Anda dan dilindungi dengan banyak lapisan enkripsi.

#### Panduan membuat Wallet di TokenPocket <a href="#panduan-membuat-wallet-di-tokenpocket" id="panduan-membuat-wallet-di-tokenpocket"></a>

* Smartphone (Tidak tersedia)

Jika Anda ingin mengetahui lebih tentang TokenPocket, Anda bisa mengunjungi Website resminya, sekaligus mendownload dan menginstallnya [disini](https://www.tokenpocket.pro/).
{% endtab %}
{% endtabs %}


# Pengenalan Approval

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL8YsLrnq2xKcYyZuB%2F-MiL8zkvkm9vwuJErgNo%2F13.%20APPROVAL.svg?alt=media\&token=3c18d012-f6a2-40eb-babf-b7cacf2bbaf7)

Proses **Approval** adalah prosedur dalam transaksi, dimana protocol meminta persetujuan kepada pengguna, perihal penggunaan saldo Wallet. Prosedur berjalan ketika pengguna ingin bertransaksi melalui protocol LITEDEX. Dan prosedur ini, hanya berjalan saat pertama kali pengguna bertransaksi. Di LITEDEX sendiri, prosedur ini telah diterapkan disetiap fitur yang disediakan. Berikut tampilan Approval tersebut:‌

1\. **Swap**

![(Sebelum proses Approval)](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBdEthf8pSAg_N2T0O%2F5E8F200B-0C9C-46E0-BBD2-093BC38C5248_1_201_a.jpeg?alt=media\&token=9c838199-1cbf-4571-8e98-2d697c702fa8)

![(Setelah prosedur Approval berhasil dilakukan)](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBdScYCVxcBW2Bqpku%2F361B82FE-F83F-4668-919E-2AEE62380059_4_5005_c.jpeg?alt=media\&token=7f6e17db-411c-4570-bbaf-d8d56806f872)

2\. **Liquidity Pool**

![(Sebelum proses Approval)](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBdmvUU4WjmU8QPKfP%2FED8A3210-E752-4523-BA9E-DDE825AD2C13_1_105_c.jpeg?alt=media\&token=c69af264-6eda-4ef8-82b1-81a03c580031)

![(Proses Approval sedang berlangsung)](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBdugAUTXYkWdr4SWf%2F3179B050-EA0F-49F9-B8C4-FA1C36A4EB6F_1_105_c.jpeg?alt=media\&token=c04bc429-fdf7-47c4-85fc-c6c1b0706508)

3\. **Staking**

![(Sistem akan secara otomatis melakukan Approval)](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBe6-Oaxwi1eHzPhxa%2F51881679-C0A6-40A1-B672-57CABDF45FFE_4_5005_c.jpeg?alt=media\&token=7b8de709-fb94-4514-b195-3495dc7ae43a)

![(Setelah proses Approval berhasil, sistem akan mengeksekusi transaksi staking)](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBeFIQzb5S73WRAjea%2F669D2965-B83A-4909-A6D4-B9CF98FC0A77_4_5005_c.jpeg?alt=media\&token=4f33625d-ad14-48fb-a770-55fa72478b16)

4\. **Yield Farming**

![(Sistem akan secara otomatis melakukan Approval)](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBeZbJk8Im3JH0BaYS%2F51881679-C0A6-40A1-B672-57CABDF45FFE_4_5005_c.jpeg?alt=media\&token=aa29edea-85f2-4b43-a919-fa7130f3b04c)

![(Setelah proses Approval berhasil, sistem akan mengeksekusi transaksi farming)](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL8YsLrnq2xKcYyZuB%2F-MiL9rZgvVF2p7lI3cYn%2F2BFD5E74-C164-4627-936F-2A73F41E978D_4_5005_c.jpeg?alt=media\&token=d730b357-c322-404f-b2fe-d44bbd40d96e)

Semua prosedur Approval dilakukan melalui smart contract yang memiliki keamanan yang tinggi. Maka dari itu, Kami sangat menjamin keamanan dalam setiap transaksi.


# Cara Menambahkan Token LDX

Sebelum menambahkan Token LDX, pastikan Anda telah menginstal dan sambungkan dengan wallet Anda. Jika Anda belum menginstallnya, kami memberikan penjelasan dan langkah-langkahnya [disini](/indonesia/memulai/cara-membuat-wallet).

1\. Kunjungi halaman website [app.litedex.io/staking](http://app.litedex.io/staking)

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MitxN41s2PGlFZNdJIM%2F-Miu8PqLMPr9BsDQf-KI%2FCC3B4930-9158-4EC6-96D6-128AC0C98BBC_1_105_c.jpeg?alt=media\&token=9481007e-4c5d-4050-a185-0f7a26bd313f)

2\. Klik baris stake LDX

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MitxN41s2PGlFZNdJIM%2F-Miu8cr54qb9E6oTC0_8%2F39BE391F-ED65-4CFD-B8B9-C07D7F0113CE_1_201_a.jpeg?alt=media\&token=bd3260b8-b8d3-4bdc-9d8e-8938e65602f9)

dan muncul detail&#x20;

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MitxN41s2PGlFZNdJIM%2F-Miu94-mvnHfCqk9pWtx%2FFA043E96-DC0B-4C2F-BF12-0F807158861F_1_105_c.jpeg?alt=media\&token=95493980-effa-48cd-b47b-8ea18f23ff8f)

3\. Klik “Add to Metamask”

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivB-BrxiUGXb-dy3Ks%2F-MivBaSLLPeyxiMbnX42%2F2BF6CE2D-6710-4933-99F9-ABABBC8CE45C_4_5005_c.jpeg?alt=media\&token=67e62183-39a6-45e9-8239-414e0520cb28)

4\. Konfirmasikan pada wallet metamask Anda

5\. Selesai, token LDX ada di Wallet metamask Anda


# Exchange

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mk5BQ88a5yHakcEOF_L%2F-Mk5F4YRtojLy4UlCbgP%2F4.%20DECENTRALIZED%20PROTOCOL.svg?alt=media\&token=943a9ace-5e26-4250-9367-1ddce6f81a51)

**Pertukaran terdesentralisasi** (Decentralized Exchange) adalah bursa mata uang cryptocurrency yang memanfaatkan smart contract untuk memungkinkan investor berdagang antara pengguna satu dengan pengguna yang lain secara otomatis. Pertukaran terdesentralisasi tidak menggunakan pihak ketiga, otoritas terpusat dan tidak membutuhkan data pribadi untuk proses transaksi. Kelebihan lainnya adalah tidak akan mengalami risiko downtime server karena hosting didistribusikan melalui node dan sistem pertukaran terdesentralisasi sangat sulit diretas karena ada di seluruh komputer di dunia.‌

**LITEDEX** adalah protocol terdesentralisasi yang menggunakan Automated Market Maker (AMM) yang berjenis Constant Product Market Maker (CPMM) yang diwakili oleh fungsi klasik:‌

**x\*y=c**‌

Dimana **x** dan **y** diartikan sebagai cadangan dari aset tertentu yang ada di dalam pool dan **c** adalah konstanta yang tidak dapat diubah. Ini berfungsi menetapkan harga token yang dipilih, yang berarti jika pasokan token **x** meningkat, maka pasokan token **y** berkurang untuk mempertahankan nilai konstan **c**. AMM jenis ini, akan selalu dapat menyediakan likuiditas, tidak peduli seberapa besar ukuran pesanan atau seberapa kecil liquidity pool.‌

### **Swap/Trading** <a href="#swap-trading" id="swap-trading"></a>

Swap memungkinkan pengguna berdagang atau menukar coin secara desentralisasi. Dan semua transaksi yang dilakukan melalui Wallet Anda sendiri, tanpa ada lagi pihak ketiga yang memiliki coin Anda.‌

### **Liquidity Pool** <a href="#liquidity-pool" id="liquidity-pool"></a>

Pertukaran terdesentralisasi (Decentralized Exchange) hanya beroperasi jika ada likuiditas yang cukup untuk mendukung perdagangan, jika tidak ada LP yang Anda inginkan. Anda bisa menyediakan likuiditas dengan token yang Anda masukan ke Pool, ketika Anda sebagai penyedia likuiditas Anda mendapatkan imbalan dalam bentuk biaya perdagangan untuk memastikan selalu ada likuiditas yang digunakan pertukaran.‌

Dan beberapa fitur lainnya yang akan dibahas satu-persatu.


# Swap Token

**Swap** **Token** adalah cara sederhana untuk menukar satu token dengan token lainnya melalui liquidity pool otomatis. Misal, jika Anda hanya memiliki Token USDT, dan ingin memiliki Token LDX. Dikarenakan Token LDX sangat bermanfaat jika disimpan. Maka Anda harus menukar token dari USDT ke LDX pada fitur Swap. Dan itu berlaku terhadap Token/Coin lainnya. Dan jika Anda tidak menemukan Token yang bisa ditukar, contohnya Token USDT ingin ditukar ke ETH, akan tetapi tidak tersedia di fitur Swap. Itu berarti Liquidity Pool USDT/ETH belum tersedia.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1ZX60Kzz0YwAzKGYN%2F6DBDC1C8-57FE-4700-BA1A-A780D3A3D511_1_105_c.jpeg?alt=media\&token=817a9198-aae0-4c74-81d9-927282a2cd6c)

Saat Anda melakukan pertukaran token (perdagangan) di bursa, Anda akan membayar biaya yang cukup murah senilai 0,30%**.**


# Cara Berdagang

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL8YsLrnq2xKcYyZuB%2F-MiL9ApFn4IoVbOxQmny%2F7.%20HOW%20TO%20TRADE.svg?alt=media\&token=6f448505-2bf6-40fd-95d3-24a52bab5a00)

LITEDEX sangat berupaya memudahkan perdagangan untuk pengguna pemula dan pengguna berpengalaman. Maka dari itu Tim LITEDEX membuat tampilan yang sangat mudah dipahami dan mengajarkan langkah-langkah penggunaannya melalui dokumentasi LITEDEX.

### **Persiapan berdagang**

Sebelum Anda melakukan perdagangan, Anda harus memiliki Wallet. Jika belum memiliki, Anda bisa mempelajari dan sekaligus membuatnya [disini](/indonesia/memulai/cara-membuat-wallet)**.** Dan jika Anda sudah memiliki Wallet, pastikan kembali Anda memiliki Token untuk melakukan perdagangan.

### **Berdagang di bursa LITEDEX**

1\. Kunjungi halaman exchange [disini](https://swap.litedex.io/#/swap)

2\. Setelah mengunjungi Website, Anda harus mengkoneksikan Wallet dengan platform LITEDEX. Klik “Connect to a wallet”.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1hXIAscAbw6m-uqIF%2FB17DF27A-1177-46FA-AE3A-1147C88CDEDA_4_5005_c.jpeg?alt=media\&token=4215be50-39ef-49f8-9664-3a9dbddb0c94)

3\. Pilih Token yang ingin diperdagangkan dari menu dropdown atau ikon anak panah kebawah dibagian “From”. Dalam tutorial ini, pengaturan default Coin BNB. Karena kita melakukan Swap di Blockchain BSC, jika Anda menggunakan Blockchain ETH, pengaturan default ETH dan itu berubah tergantung Blockchain. Meski diatur secara default, Anda bisa menggantinya dengan Coin yang Anda inginkan, sebagai contoh Kami menggunakan Coin BNB untuk ditukar ke Coin LDX (Bisa diganti dengan coin lain). Sebelum melakukan Swap, pastikan Kembali saldo Anda cukup.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1iTgPwDYBQXR8pawz%2F597046FD-FFC1-498C-8FBE-44A69DA4F97F_1_201_a.jpeg?alt=media\&token=87a37218-67ef-4585-8ff5-7c0582ab5a0f)

4\. Masukkan nilai yang ingin diperdagangkan dibagian “From” dan secara otomatis akan ditampilkan konversi coin BNB-LDX.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1iu-6N2MoxvXie6Ac%2FA5A92F45-474E-4C67-BA85-19D391C39B9F_1_201_a.jpeg?alt=media\&token=e4594f37-e1a7-4354-9b50-aba8a602b7ea)

Dan Anda bisa memperkirakan jumlah Coin yang ingin Anda tukar dengan melihat pada bagian “To” yang secara otomatis hasil dari konversi.

5\. Setelah Anda sudah memasukkan jumlah sesuai yang Anda inginkan, mohon periksa kembali secara detail dan klik tombol tukar untuk memproses.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1rZ93BPfO4WE2rCQv%2Fswap-anyway.png?alt=media\&token=6403c175-49c4-4462-809b-12520a0e85f2)

6\. Dan sebuah jendela muncul dengan rincian lebih lanjut tentang transaksi tersebut. Periksa kembali apakah rinciannya benar.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1k-gyeBmHoQJd_ol9%2FBD440173-0996-4911-94B6-32C348F6EC53_1_201_a.jpeg?alt=media\&token=af3c130a-c324-437c-9de3-00f53722b6d0)

Jika yakin benar, Anda bisa klik tombol “Swap Anyway”. Dan sistem memproses dengan Wallet meminta Anda untuk mengkonfirmasi tindakan tersebut.

7\.&#x20;Selesai! Anda dapat mengklik “View on BscScan” untuk melihat detail transaksi Anda di explorer.&#x20;

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1l69bplrNHZXGpk8S%2F5DFC93C7-F4C3-4CC2-A608-6EE618B42CD4_1_201_a.jpeg?alt=media\&token=7443a121-c42a-439e-a3f3-ba8fa566f218)

**Simak video dibawah ini :**

{% embed url="<https://youtu.be/dcqWOfDGbx0>" %}


# Liquidity Pool

**Liquidity Pool** adalah smart contract yang mengunci token penggunanya untuk memastikan likuiditas token di DeFi Exchange. Pengguna yang menggunakan smart contract ini disebut Liquidity Provider (LP). Cara kerjanya, Liquidity Pool menyediakan smart contract yang terdiri dari dua token untuk membentuk pasangan perdagangan. Misalnya LDX dan USDT, disini kita asumsikan harga 1 LDX adalah 10 USDT. Liquidity Provider (LP) menyediakan jumlah yang sama dari dua token, yaitu 1 LDX dan 10 USDT, untuk membuat/menambahkan ke liquidity pool.


# Cara Menambah & Menghapus Liquidity

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL8YsLrnq2xKcYyZuB%2F-MiL9EkYWimu8LindLU8%2F8.%20HOW%20TO%20ADD%20_%20REMOVE%20LIQUIDITY.svg?alt=media\&token=266c7dc6-b07f-4f42-9501-0cd158dd4564)

Di Likuiditas (Liquidity), Anda dapat menambahkan setiap pasangan token melalui halaman [likuiditas](https://swap.litedex.io/#/pool). Dan sebagai imbalannya Anda akan menerima biaya perdagangan untuk pasangan token yang telah ditambahkan, sekaligus menerima Token LP yang dapat Anda stake di Yield Farming untuk mendapatkan hadiah Token LDX.

### Cara menambahkan Liquidity&#x20;

Persiapan untuk menyediakan likuiditas adalah Pengguna harus menyediakan pasangan token yang dipilih dan memasukkan jumlah token sesuai keinginannya. Jika Anda membutuhkan berdagang untuk token yang dibutuhkan. Anda bisa mengunjungi panduan ini untuk mengetahui lebih [Cara berdagang](/indonesia/panduan-produk/exchange/cara-berdagang).

Pada tutorial ini, Kami akan menambahkan likuiditas token BNB dan LDX.

1\. Kunjungi halaman [Liquidity Pool](https://swap.litedex.io/#/pool).&#x20;

2\. Klik tombol "Add Liquidity".

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2F9KVYZQ31kmkxqlN%2F56316DF2-AE26-4716-A921-CE3B43F7DF66_4_5005_c.jpeg?alt=media\&token=d93e4299-aa68-4fef-a9c3-87249af6f4c4)

3\. Pilih pasangan token yang sesuai keinginan Anda dengan cara klik "Select a token", disini kami akan menggunakan BNB dan LDX.&#x20;

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1zTPMJVX-VFgj8lmC%2F0A65B666-BE7F-40CE-AA1B-BFAD94FD9910_1_105_c.jpeg?alt=media\&token=3948fe92-a0f1-45f4-a3d7-ed24d0c5d452)

4\. Masukkan jumlah sesuai yang Anda inginkan pada bagian BNB (atas) atau bisa memasukkannya pada bagian LDX (bawah). Jika jumlah telah dimasukkan sesuai keinginan, Anda dapat klik "Supply" atau jika Anda belum pernah melakukan ini, Anda bisa pahami terlebih dahulu tentang [Approval](/indonesia/memulai/pengenalan-approval) karena ini bagian dari keamanan transaksi.&#x20;

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh2-jUBQa-sVnKoDMeS%2FEF194B04-548B-4A96-9227-741E421FA2D4_1_105_c.jpeg?alt=media\&token=d83f6f60-0a3d-467f-a0ad-dfd33c65c4f0)

5\. Sebuah jendela muncul dengan rincian lebih lanjut tentang transaksi tersebut. Periksa kembali apakah rinciannya benar. Jika benar, Anda dapat klik "Confirm Supply".&#x20;

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh208Dv4SChy404omci%2F1725172E-1587-415F-973D-6FE8983A2179_1_201_a.jpeg?alt=media\&token=23c1ec3d-9773-49d1-8cba-d6fc0d253d70)

6\. Tunggu sebentar prosesnya sampai Wallet Anda meminta mengkonfirmasi, klik "Confirm".&#x20;

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh21bRAKtlGn2H76zqM%2F064F2C87-5375-46A4-99F3-18D2407A9EBE_1_201_a.jpeg?alt=media\&token=1f2e4a39-4d0c-4a53-8f4d-376928a40bea)

7\. Dan transaksi Anda bisa dicek dengan klik "View on Bscscan".&#x20;

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh2235Nwu4IQxpy_637%2F6847D8C7-4AF6-4AAF-AA75-01A47319830D_1_201_a.jpeg?alt=media\&token=18801b7a-fe6f-4a27-aa50-f78dd7bf5745)

8\. Jika proses transaksi telah berhasil, Anda akan melihat saldo LP di halaman [ini](https://swap.litedex.io/#/pool).

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh234RRLUE2ZnW4yw4o%2FD755D3E8-AFB1-4781-812A-650138F87A86_1_201_a.jpeg?alt=media\&token=a0ff3fb1-6ab3-43de-a9f6-dbc92597b5d0)

**Simak video dibawah ini :**

{% embed url="<https://youtu.be/H2qlJ6EQp_M>" %}

### Cara menghapus Liquidity

1\. Kunjungi halaman [Liquidity Pool](https://swap.litedex.io/#/pool).

2\. Klik "Manage" pada pasangan token yang ingin Anda hapus.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh25ebYnEIXxdKcYdaw%2FD954EE0D-6F51-4087-A429-1C0C7F67A5B3_1_201_a.jpeg?alt=media\&token=618fef51-853e-407f-9206-a8d28fd3f9f0)

3\. Lalu klik "Remove".

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh2625vCmzERRE66-29%2FD755D3E8-AFB1-4781-812A-650138F87A86_1_201_a.jpeg?alt=media\&token=b43ea1dd-e687-4fae-994d-ab8eecf6c352)

4\. Dan Anda dapat menyesuaikan jumlah yang ingin dihapus dalam LP tersebut. Disini Kami menghapus 100% dari pasangan token BNB-LDX.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh26fUo8lYwB3X0HkJq%2F843F61D1-3974-456C-92F4-B7C85900C279_1_105_c.jpeg?alt=media\&token=9d38f823-5702-4c9d-8f30-98cf51212bca)

5\. Setelah itu Anda klik "Approve", jika Anda tidak mengetahui maksud dari Approve, Kami sediakan pembahasannya [disini](/indonesia/memulai/pengenalan-approval).

6\. Wallet Anda meminta konfirmasi, klik "Confirm".

7\. Jika proses konfirmasi telah selesai, Anda dapat klik "Remove" untuk melanjutkan.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh2724wyX51gdEwD6tw%2F8ACCEFCD-CB38-4C81-8579-05F1AE9CFE91_1_105_c.jpeg?alt=media\&token=94643d39-1bcf-497b-9799-c3187ad5e567)

8\. Jendela baru muncul, meminta konfirmasi atas tindakan ini. Klik "Confirm".

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh27QWU04mHPPHJND0L%2F6DA6C8C1-0FDD-438F-A76C-3B9D655BD3DC_1_201_a.jpeg?alt=media\&token=f06c41ca-cc05-4114-8af5-b589207180b7)

9\. Dan konfirmasi kembali Wallet Anda.

10\. Pemberitahuan sukses muncul.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh27mkV2VVG_bywvYpn%2F120F7744-E1AB-4634-9781-4EB7842AD185_4_5005_c.jpeg?alt=media\&token=e137f29a-b4c8-4aab-b29a-390f0f612c38)


# Staking

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL8YsLrnq2xKcYyZuB%2F-MiL9Jl5KrSxOup0SJOC%2F3.%20STAKING.svg?alt=media\&token=42a12cea-89e9-475b-804a-d5b6c0d77425)

**Staking** adalah proses mengunci aset crypto sebagai bentuk pastisipasi terhadap pemeliharaan sistem Proof-of-Stake pada Blockchain. Pengguna yang telah melakukan proses mengunci (Stake) tidak dapat mengakses aset crypto yang dikunci selama jangka waktu yang telah ditentukan. Hasil dari proses ini, akan mendapatkan imbalan berupa aset crypto.


# Cara menggunakan Staking

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL8YsLrnq2xKcYyZuB%2F-MiL9OsETH3gv-Fcinxu%2F9.%20HOW%20TO%20STAKING.svg?alt=media\&token=a3d88332-3446-46a0-91b2-70dd3fcafea2)

Persiapan Staking, Anda hanya perlu satu token untuk memulai menghasilkan hadiah. Perbedaan yang paling sederhana dari Farming dan Staking adalah Farming perlu menyiapkan dua token untuk membuat Token LP, dan Staking hanya perlu satu token untuk bisa stake. Perbedaan keduanya terlihat pada interface LITEDEX, Farming memiliki dua token sedangkan Staking hanya memiliki satu token.‌

**Staking**

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MitxN41s2PGlFZNdJIM%2F-Miu3HOpI7EJtOhT3z5_%2F40234036-07A0-407E-AE4C-2FA07663C10A_1_105_c.jpeg?alt=media\&token=4f9d283c-1675-48f1-b149-f9330380f283)

**Farming**

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MitxN41s2PGlFZNdJIM%2F-Miu2iY5I0HInKq0J1-l%2FC2D1385F-0068-47E3-A0A2-F0AEB0F1DF4E_1_105_c.jpeg?alt=media\&token=c03b565f-77a6-4400-aae5-d68152d80b41)

### **Memulai Staking** <a href="#memulai-staking" id="memulai-staking"></a>

1\. Kunjungi halaman [Staking](https://app.litedex.io/staking).‌

2\. Hubungkan Wallet Anda dengan platform LITEDEX, klik “Connect Wallet” pada bagian atas sebelah kanan.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2WHg2UjWIekBmiiFY%2FD050B3A2-7C95-4952-AEE4-9BA007058EFF_4_5005_c.jpeg?alt=media\&token=4d127472-552d-4d33-a1c6-5cc7bd27ff4d)

3\. Pilih Wallet yang Anda gunakan, disini Kami menggunakan Metamask.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2X3SQHlnpRImrJ3TH%2FECAA01A7-4E71-4CB0-AD18-58DA68C83775_1_105_c.jpeg?alt=media\&token=66918dc5-147f-4fbf-a7ef-3b9c3013839f)

4\. Wallet meminta konfirmasi untuk menghubungkan.‌

5\. Jika Wallet telah terhubung, tombol Connect Wallet akan berganti menjadi tombol Address Anda, sebagai contoh tampilannya seperti ini.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2XX9yS_-XKelCS9lo%2F89C43009-FAF6-4614-B50B-5EBA33E6756D_4_5005_c.jpeg?alt=media\&token=4c2b9509-cae1-4b56-9669-adfdc9fec9e7)

6\. Setelah Wallet Anda terhubung, pilih Token yang ingin Anda stake.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2XoK3UGBpT_p6qP0u%2F626A5980-C2BE-4B30-B5ED-423956603C42_1_201_a.jpeg?alt=media\&token=e522bed6-5c8e-4cc5-93d4-5c814bd62593)

7\. Disini Kami stake token LDX, pastikan Anda memiliki token yang ingin distake.‌

8\. Masukkan jumlah yang Anda stake, disini Kami memasukkan **100** LDX lalu klik “Stake”.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2ZxeTMS1LKCg0-Nvf%2F093F8BC6-E51B-455A-9316-DFFA0EC9F986_4_5005_c.jpeg?alt=media\&token=61fe1a04-6502-4679-8fab-8d084c0b5977)

9\. Wallet meminta konfirmasi atas tindakan tersebut. Konfirmasikan terlebih dahulu di Wallet Anda, dan tunggu sebentar.‌

10\. Berhasil!‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhJeHWvswmworUfsZnS%2F-MhJeXner8deGJdjzo73%2FB1DEB526-99BA-40DA-AEDA-F4C16E72DEB7_1_201_a.jpeg?alt=media\&token=786da256-fcfb-45c7-a121-3175b14ef49c)

**Simak video dibawah ini :**

{% embed url="<https://youtu.be/1nCKoDrQwb8>" %}

### Menambah atau menghapus (mengurangi) Staking. <a href="#menambah-atau-menghapus-mengurangi-staking" id="menambah-atau-menghapus-mengurangi-staking"></a>

Jika Anda ingin Menambahkan, menghapus (mengurangi) dan mengambil sebagian keuntungan dari Staking. Anda dapat melakukannya dengan mudah, karena Kami memberikan panduannya.‌

#### Menghapus (mengurangi) di Staking <a href="#menghapus-mengurangi-di-staking" id="menghapus-mengurangi-di-staking"></a>

1\. Pada halaman [Staking](https://app.litedex.io/staking), temukan tempat Staking Anda dan klik baris dimana saja untuk melihat lebih detail.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2bOFUCnuAO47zTZVZ%2FB6EEFCF2-E453-41F0-B494-63FE23618202_1_201_a.jpeg?alt=media\&token=623eeb0c-d079-49c5-9511-1488ce87707b)

2\. Pada bagian detail sebelah kanan, klik “Remove” .‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2cgKU4mgXczVv_uWh%2F1E032DC4-04CC-47AD-8BD4-3DFAFBA50AD8_4_5005_c.jpeg?alt=media\&token=abffcb52-7cbc-439b-aeb0-abe89d7026ef)

3\. Disini Kami memiliki Balance Staked **100** dan ingin mengurangi **10**. Masukkan jumlah yang ingin Anda hapus (kurangi), lalu klik “Remove”.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBpGT1tTlYorOuZtge%2F-MhBxQU0PQI1a78k1JBz%2F56A02CB1-06C4-4A69-ACFE-CBD7A2B22FFD_4_5005_c.jpeg?alt=media\&token=7bc483aa-f8af-43c0-a519-1cffe74d359e)

4\. Wallet Anda meminta konfirmasi atas tindakan tersebut. Konfirmasikan terlebih dahulu, dan tunggu sebentar.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2d9JV3gI5h9aJYVRK%2F653A3544-6CE3-444D-BF59-CFADD7CAA986_4_5005_c.jpeg?alt=media\&token=e18ae51d-5d1e-4602-a253-8ca90ab6b48d)

5\. Anda telah berhasil menghapus (mengurangi) Staking. Proses ini secara otomatis mengambil hadiah yang distake.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhJeHWvswmworUfsZnS%2F-MhJeals9-K4oh7-FmA2%2FB1DEB526-99BA-40DA-AEDA-F4C16E72DEB7_1_201_a.jpeg?alt=media\&token=caca1c95-312a-46e3-95ce-e9d84927c341)

**Simak video dibawah ini :**

{% embed url="<https://youtu.be/FGU5Q7zC5Tg>" %}

#### Menambah Staking <a href="#menambah-staking" id="menambah-staking"></a>

1\. Kunjungi halaman [Staking](https://app.litedex.io/staking).‌

2\. Temukan Staking Anda, dan klik baris dimana saja untuk menampilkan detailnya.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2h7ZzxwesqmRtRTUF%2FF706C51A-7461-49F9-BDA9-885FF6D82E6F_1_105_c.jpeg?alt=media\&token=c772c72b-0046-473b-857a-a9b52e5543bb)

3\. Pada bagian detail sebelah kanan, pastikan tulisan “Stake” berwarna hijau yang berarti kondisinya sedang aktif, begitu sebaliknya jika tulisan “Remove” berwarna hijau.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2jjFHf8cZMWyGWTYz%2F5F9779D8-9221-4693-90E2-90CD708AFE0C_4_5005_c.jpeg?alt=media\&token=f762517d-e0ba-4e23-a24b-0d6c5b8cd756)

4\. Masukkan jumlah yang Anda tambahkan, disini Kami ingin menambahkan **10** LDX. Lalu klik tombol “Stake”.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2kE74wvjGJCK8Wlvw%2F4A45F6C2-7CA7-4C3A-B2F4-FD227D705D8F_4_5005_c.jpeg?alt=media\&token=06a1902e-831b-458f-8e94-841ddb5476a2)

5\. Wallet Anda meminta konfirmasi atas tindakan tersebut. Konfirmasikan terlebih dahulu, dan tunggu sebentar.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2kpZeVlYiUwkyDuUX%2F9F0A6E16-654C-43B0-94DA-857BC10B8793_4_5005_c.jpeg?alt=media\&token=e663cda1-07c9-481a-8d5b-71a8e9f2dbe6)

6\. Berhasil! Anda telah menambahkan Stake.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhJeHWvswmworUfsZnS%2F-MhJedXxkz8HgcCBlPJn%2FB1DEB526-99BA-40DA-AEDA-F4C16E72DEB7_1_201_a.jpeg?alt=media\&token=38e9ff1f-036b-4529-a5f4-40ede1dbf9ca)

**Simak video dibawah ini :**

{% embed url="<https://youtu.be/C5wMLCVx-NE>" %}

**Mengambil keuntungan Staking**‌

1\. Kunjungi halaman [Staking](https://litedex-app.vercel.app/staking).‌

2\. Temukan Staking Anda, dan klik baris dimana saja untuk menampilkan detailnya.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2n_hjisw8ObjwUXye%2FC544A3A9-0EC0-40E8-BF4A-14C0537C9298_1_105_c.jpeg?alt=media\&token=c434a819-e915-4ed7-9bb5-244160be2153)

3\. Pada bagian detail sebelah kanan, klik “Collect” untuk mengumpulkan semua hadiah Staking.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2nh4n7wdqXAYz_VGq%2FB57576AF-4E75-413F-9EDF-ADBF64612788_4_5005_c.jpeg?alt=media\&token=011dcfa2-bcf1-4ddb-bebf-f3e22de07de1)

4\. Wallet meminta konfirmasi transaksi tersebut. Tunggu sebentar, sampai proses selesai.‌

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2nxCJN6zaEuoINTzp%2FAEBFC007-42F2-4E4F-BECF-19E3676551CB_4_5005_c.jpeg?alt=media\&token=d756ff9e-593f-44a0-9730-7b4ee3dc3723)

5\. Pengumpulan hadiah berhasil! Anda dapat cek balance Wallet yang dimiliki.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2o-BkBvvtFxj6ApoU%2F01218E78-2DBF-40A9-9D21-EAA501B1EE48_4_5005_c.jpeg?alt=media\&token=3649664a-3bcb-48b4-9607-ca8fbca7273d)

**Simak video dibawah ini :**

{% embed url="<https://youtu.be/bTQlUvBVSKs>" %}


# Yield Farming

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL8YsLrnq2xKcYyZuB%2F-MiL9UZDGYEoeigRlDsI%2F5.%20YIELD%20FARMING.svg?alt=media\&token=46842ab2-cd0d-4437-8656-ac681c6b7745)

**Yield Farming** pada dasarnya adalah sebuah praktik menyimpan dan meminjamkan aset crypto, dengan proses yang dinamakan penambangan likuiditas (Liquidity Mining) yang menghasilkan aset crypto (reward).


# Cara menggunakan Yield Farming

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL8YsLrnq2xKcYyZuB%2F-MiL9YeaqmERRxvC9k5N%2F10.%20HOW%20TO%20USE%20FARMING.svg?alt=media\&token=85711870-3963-4ca4-94ac-1a956ad919b6)

### Persiapan

Yield Farming mengharuskan pengguna menyediakan pasangan token untuk mendapatkan Token LP. Token LP dapat ditransaksikan di Farming untuk menghasilkan hadiah token LDX. Dan untuk mendapatkan Token LP, Anda bisa menambahkannya di Liquidity Pool. Jika Anda belum mengetahui cara menambahkan Token LP, Anda bisa pahami panduan [ini](/indonesia/panduan-produk/exchange/cara-menambah-and-menghapus-liquidity).

### Pilih Farming

Kunjungi halaman [Farming](https://app.litedex.io/farming) dan pilih pasangan token yang Anda inginkan.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2pf7JSLu5nDE3n4uC%2FEAA1CE68-281D-4E72-AE22-A8D8B84525C9_1_105_c.jpeg?alt=media\&token=fd0ff453-2755-4592-974d-7c244d4ba999)

### Menyediakan likuiditas

Setelah Anda menemukan Token LP untuk difarming, Anda perlu menambahkan likuiditas untuk mendapatkan Token LP yang diinginkan.

1\. Setelah Anda mengunjungi Website [Farming](https://app.litedex.io/farming), hubungkan Wallet Anda dengan platform LITEDEX, klik "Connect Wallet" pada bagian atas sebelah kanan.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2pxEhxu9_wJIkWTXa%2F9024066D-28C7-4737-9D03-71AFF50583B6_4_5005_c.jpeg?alt=media\&token=ddf2691e-e5ce-4c23-b3c2-52cce47d86e2)

2\. Pilih Wallet yang Anda gunakan, disini kami menggunakan Metamask.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2uR_BpQX8VLZSyR22%2F155E4CAE-4686-47F9-B6C9-AD9CBA5D0546_1_105_c.jpeg?alt=media\&token=adca44b3-e507-4b3d-9369-8d59f5ae6a8e)

Lalu konfirmasikan Wallet Anda untuk menguhubungkan ke platform LITEDEX.

3\. Jika Wallet telah terhubung, tombol Connect Wallet akan berganti menjadi tombol Address Anda, sebagai contoh tampilannya seperti ini.&#x20;

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2uf5W-YkKyPgS78ne%2F89C43009-FAF6-4614-B50B-5EBA33E6756D_4_5005_c.jpeg?alt=media\&token=3af6eac0-11f4-423b-9d81-b8273b086667)

4\. Setelah Wallet terhubung, Anda dapat klik baris Farming untuk menampilkan lebih detail. Sebagai contoh, disini Kami akan memilih pasangan token LDX-BNB.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2vCafj59rtdTS8AGl%2F85B51AB8-9FE1-4165-AECD-46885E88202E_1_201_a.jpeg?alt=media\&token=855f49a4-494d-429f-b9c8-db21c766e8e3)

5\. Pada tampilan yang lebih detail, dibagian kiri Anda akan melihat beberapa tautan. Klik “Get LDX-BNB LP”.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2wffJqQ9mC4pHhEOx%2F2E9B4822-D6D3-4709-8C0D-44E282E6E5EF_1_105_c.jpeg?alt=media\&token=51017043-e227-491b-8453-e69fe8aeab48)

6\. Dan halaman Add Liquidity akan membuka halaman baru untuk pasangan token yang Anda pilih.&#x20;

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2xtt7TbdIHLjiO8yR%2FBD7E2B36-BDE7-40F0-993A-9C1DA22B22A2_1_105_c.jpeg?alt=media\&token=6563d57e-8cfb-4148-a731-20c370915843)

**Simak video dibawah ini :**

{% embed url="<https://youtu.be/ha3eh69o6HE>" %}

Jika Anda tidak mengetahui cara menambahkan liquidity, Anda dapat mengikuti panduan [**Cara Menambah/Menghapus liquidity**](/indonesia/panduan-produk/exchange/cara-menambah-and-menghapus-liquidity) dan sesuaikan dengan pasangan token yang Anda pilih.

### Menempatkan Token LP ke Farm

Pada tutorial sebelumnya, Kami anggap Anda telah Menambahkan Liquidity atau telah memiliki pasangan Token LP.

1\. Pada halaman [Farming](https://app.litedex.io/farming), Anda bisa menempatkan Token LP sesuai pada baris Token LP yang dimiliki. Disini sebelumnya Kami telah memiliki Token LP LDX-BNB. Klik dimana saja pada baris yang menunjukan pasangan token Anda.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh3-9D0T2tYv5Lk8w0z%2FC2D1385F-0068-47E3-A0A2-F0AEB0F1DF4E_1_105_c.jpeg?alt=media\&token=0f59adbc-cf94-41da-b37e-984181f4eba1)

2\. Masukkan jumlah Token LP pada bagian detail sebelah kanan.&#x20;

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh3-P92pzm2RyDRdur6%2FACFBECFE-EB24-4FD2-BC67-89C80672647F_4_5005_c.jpeg?alt=media\&token=4b1889cb-e11b-47f5-87d8-494e1c93d064)

Jika Anda telah memasukkan jumlahnya, Anda dapat klik “Farm” untuk mengeksekusi.

3\. Dan Wallet Anda meminta konfirmasi atas transaksi tersebut. Tunggu sebentar.

4\. Selesai! Anda telah berhasil Farming.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh3-fIBZ2ZMMU5Qquqg%2F6F23379F-CF1E-471B-91C8-A5AFA44B2A56_1_201_a.jpeg?alt=media\&token=b939a7bf-4098-46ef-b008-f00fcf497886)

**Simak video dibawah ini :**

{% embed url="<https://youtu.be/NgfI94H-OQc>" %}

### **Menambah atau menghapus (mengurangi) Token LP dari Farming**

Jika Anda ingin menambah, menghapus (mengurangi) dan mengambil sebagian keuntungan dari Farming. Anda dapat melakukannya dengan mudah.

#### **Menghapus (mengurangi) Token LP**

1\. Pada halaman [Farming](https://app.litedex.io/farming), cari Farming tempat Anda memiliki Token LP, dan klik baris dimana saja untuk melihat lebih detail.&#x20;

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh31n_vkSWa86Mb3SFh%2F6C6FF250-CBC6-4743-A371-DB4AD352A0B3_1_105_c.jpeg?alt=media\&token=f91672b3-48ea-4a93-9082-38e0ad25028d)

2\. Pada bagian detail sebelah kanan, klik “Remove”.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh3289j6uDTR8WdHUMR%2F46639A2E-0FA2-4660-A915-F688F8C70E7E_4_5005_c.jpeg?alt=media\&token=b626d275-5a07-4da7-8ee4-d279124832a8)

3\. Disini Kami memiliki Balance LP **6.362** dan ingin mengurangi **1**. Masukkan jumlah yang ingin Anda hapus (kurangi), lalu klik “Remove”.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh32jALLUsEddvqNS_2%2F5E3C4F1B-64C8-4F40-8A40-59C4432EE574_4_5005_c.jpeg?alt=media\&token=2bfd6da5-165a-483e-bd4f-c87cff4151f7)

4\. Wallet Anda meminta konfirmasi atas transaksi tersebut. Tunggu sebentar, sampai balance LP Anda berkurang sesuai yang Anda inginkan. Disini Balance Kami yang awalnya **6.362** dan dikurangi **1**, setelah transaksi telah selesai. Balance LP Kami menjadi **5.362** yang berarti transaksi berhasil. Jika Anda telah melepaskan Token LP yang dimiliki, semua hadiah yang belum diharvest akan secara otomatis dikumpulkan.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh345mYveqq4_EfmLF8%2F52C39D19-7B3E-456A-9E40-815C86348DB7_4_5005_c.jpeg?alt=media\&token=ed86891d-fa54-431b-ab53-7b15454e9096)

**Simak video dibawah ini :**

{% embed url="<https://youtu.be/jST0VG3k2JM>" %}

#### **Menambahkan Token LP**

1\. Pada halaman [Farming](https://app.litedex.io/farming), cari  Farming tempat Anda memiliki Token LP, dan klik baris dimana saja untuk melihat lebih detail.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh35EEmNi2mV4rc5fw-%2F9EAD80EF-2A99-4E1F-AEE0-1B1F3EBF67A7_1_105_c.jpeg?alt=media\&token=43ce0263-0d87-4ecc-877d-c28cf4d0045c)

2\. Pada bagian detail sebelah kanan, pastikan tulisan “Farm” berwarna hijau yang berarti kondisinya sedang aktif, begitu sebaliknya jika tulisan “Remove” berwarna hijau.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh35dH6rET66vKF-Ywr%2F0356D7FE-8827-4AFC-9CB5-657F7D7F6C6E_4_5005_c.jpeg?alt=media\&token=47edc7ca-774c-4b89-93fa-eafe677d1f42)

3\. Masukkan jumlah yang Anda inginkan, disini Kami ingin menambahkan **1** Balance LP. Lalu klik “Farm”.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh35HL3IxL-N9wMkx26%2F75CBF201-8FD6-412C-BE26-241B5DC20C22_4_5005_c.jpeg?alt=media\&token=2befd0e4-11a0-4dee-ad3b-b677235aa24a)

4\. Dan Wallet meminta konfirmasi Anda, tunggu sebentar.

5\. Transaksi berhasil!

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh36imvQyvEMUBXltsb%2F9DFFD30C-31AC-4050-A407-45BA91E30800_1_201_a.jpeg?alt=media\&token=e5536496-643b-46f2-bc32-d9f567b8d0e9)

**Simak video dibawah ini :**

{% embed url="<https://youtu.be/vcA_eKmFC48>" %}

#### **Mengambil keuntungan**

1\. Kunjungi halaman [Farming](https://app.litedex.io/farming).

2\. Temukan Farming Anda, dan klik baris dimana saja untuk menampilkan detailnya.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh36XG9uyIym9MvMrhz%2FAEFAE284-6D49-41FB-B1D4-F696ACF5000A_1_105_c.jpeg?alt=media\&token=c0073f0a-b191-44cc-95a2-a85ee7f4044f)

3\. Pada bagian detail sebelah kanan klik “Harvest” untuk mengumpulkan semua hadiah Farming.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh36xHCFm-XP_n6HfQ3%2FD7B4FE2E-FC76-453A-ABEB-9815ED165D5C_4_5005_c.jpeg?alt=media\&token=2b18ed47-94d7-4be6-8e48-012ad4d8f69d)

4\. Wallet meminta konfirmasi transaksi tersebut. Tunggu sebentar, sampai proses selesai.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh379BXpPQj2sJzkuVW%2F678038EB-8A97-4F84-B626-9E8C280560B4_4_5005_c.jpeg?alt=media\&token=6212283b-a32b-4510-b82c-8d23e2948b10)

5\. Pengumpulan hadiah berhasil! Anda bisa cek saldo Wallet yang dimiliki.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh37NgFN_5Zik52Mdna%2F3CE1B41E-3FF2-4375-BD82-AB149639089C_4_5005_c.jpeg?alt=media\&token=6e8d144b-de78-4cdd-bb8c-88e049e7429b)

**Simak video dibawah ini :**

{% embed url="<https://youtu.be/IP7v5189_Y0>" %}


# Analitik (Info)

**Analitik** (Analytic) sebagai penyedia informasi berupa sekumpulan chart atau data-data yang tercatat dalam Blockchain. Data-data tersebut berisi Volume transaksi perhari, Total Liquidity, Top Token, Top Pair dan lain-lain. Ini informasi yang akurat dalam protocol terdesentralisasi. Karena langsung terintegrasi dengan Blockchain. Dan Anda bisa mengunjungi Analytic LITEDEX [disini](https://info.litedex.io/).

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mk5BQ88a5yHakcEOF_L%2F-Mk5F8xj6yC828RzP9JQ%2F2A212A38-1D95-4D11-9C87-ABFCDE8C3B62_1_105_c.jpeg?alt=media\&token=b30e58ee-f0de-4697-a197-7eb5dc4cf815)


# Lending

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mk5BQ88a5yHakcEOF_L%2F-Mk5FEDYuOyOWv97Jppq%2F16.%20LENDING.svg?alt=media\&token=94bc707e-0cf4-4433-be61-bbf060eae8e2)

**Lending** adalah Layanan pinjaman terdesentralisasi yang beroperasi sebagai protokol tanpa perlu melakukan KYC, pemegang crypto dapat meminjamkan pada platform untuk mendapatkan pendapatan pasif dari kepemilikan mereka melalui biaya bunga yang dibayarkan oleh peminjam.


# Borrowing

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mk5BQ88a5yHakcEOF_L%2F-Mk5FI8T1EpmaEGMnYWz%2F17.%20BORROWING.svg?alt=media\&token=1089c30c-615c-43d5-88ca-798cf6711613)

**Borrowing** adalah layanan peminjam terdesentralisasi yang beroperasi sebagai protokol tanpa perlu melakukannya KYC, pemegang crypto dapat meminjam dan menjaminkan crypto yang dimiliki untuk mendapatkan keuntungan ganda dari kenaikan harga coin yang dipinjam dan coin yang dijaminkan.


# Non-Fungible Tokan (NFT)

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mk5BQ88a5yHakcEOF_L%2F-Mk5FNCaA1YrfC_gbFSw%2F18.%20NFT.svg?alt=media\&token=441262e5-e3b2-4830-9b6f-a4eded614964)

**Non-Fungible Token (NFT)** adalah asset crypto atau versi digitalisasi dari sebuah asset nyata di jaringan blockchain, memiliki kode identifikasi metadata yang unik dan token yang tidak dapat ditukarkan. Karena sifatnya yang unik, NFT tidak dapat diduplikasi. Dan dimanfaatkan oleh para seniman, musisi, dan developer properti.

**LITEDEX NFT Marketplace**

LITEDEX NFT Marketplace adalah pasar yang memperjual belikan bentuk digitalisasi dari koleksi seni dan real estat. LITEDEX NFT Marketplace pertama dibangun  di blockchain Binance Smart Chain dan secara bertahap dibangun pada blockchain populer yang telah diadopsi.&#x20;

**Art Collection NFT**

Art Collection NFT adalah karya seni digitalisasi yang telah menjadi Token non-fungible (NFT). Tujuan LITEDEX sendiri untuk menginspirasi para seniman membuat karya mereka sediri dan mengembangkan karya mereka di seluruh pasar NFT yang lebih luas.&#x20;

**Real Estate NFT**

Real Estate NFT adalah properti berupa tanah dan bangunan dalam bentuk digital/visual. Tujuan LITEDEX sendiri memperkenalkan kekuatan teknologi blockchain untuk berinovasi dalam industri real estat.


# Bridge

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mk5BQ88a5yHakcEOF_L%2F-Mk5FWWGxuE4N6V-Tb9o%2F19.%20BRIDGE.svg?alt=media\&token=4482016a-ff57-4d62-b4cc-d01a472bc1c1)

**Bridge** adalah penghubung antar blockchain yang meningkatkan interoperbilitas di seluruh blockchain. Adanya bridge, pengguna dapat mentransfer asset crypto dari jaringan blockchain yang berbeda dan mendukung konversi (cross-chain).


# Jaringan Mainnet dan Testnet

### **Jaringan Mainnet**

**Jaringan Mainnet** adalah jaringan blockchain asli dan fungsional di mana transaksi aktual terjadi di buku besar yang didistribusikan dan cryptocurrency asli memiliki nilai ekonomi nyata dengan kata lain, mainnet mengacu pada blockchain open-source aktual itu sendiri yang dapat diverifikasi secara publik.

### Jaringan Testnet

**Jaringan Testnet** adalah Jaringan blockchain alternatif yang akan digunakan untuk pengujian. Coin testnet berbeda dari coin yang asli dan tidak memiliki nilai apapun. Hal ini memungkinkan pengembang aplikasi atau penguji untuk bereksperimen tanpa harus menggunakan Coin nyata atau khawatir akan memutus rantai blockchain utama.


# Pindah Jaringan

### Jaringan ETH

Sebelum memindahkan jaringan mainnet ke testnet, pastikan Anda telah menginstall wallet metamask. Jika belum menginstall, kami telah menyediakan tutorial dan penjelasannya [disini](/indonesia/memulai/cara-membuat-wallet).&#x20;

1\. Kunjungi halaman website [app.litedex.io](http://app.litedex.io)

2\. Klik tombol “Connect to Wallet” pada bagian kanan atas.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivCJ2bzu6M1XVZC7p8%2F-MivETE9p_6u716amAnX%2FB48A0AEB-E5B1-4866-86E3-EC306367A795_4_5005_c.jpeg?alt=media\&token=8919bd77-df71-4d07-b440-939bf9337fec)

3\. Website menampilkan pop up yang berisi list wallet, klik Wallet “metamask”.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivCJ2bzu6M1XVZC7p8%2F-MivG-PKWLvuoqub9hVW%2F0777BB92-DD99-459B-9591-639C543643D5_1_105_c.jpeg?alt=media\&token=cd58645a-6632-43a0-a250-6ed7daf97a12)

4\. Tunggu sebentar sampai tombol bagian kanan atas menampilkan address Anda.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivCJ2bzu6M1XVZC7p8%2F-MivGPkQHhXtgcUZJqUN%2FD5276DCC-736F-4D32-9E48-FF0135B41B0C_4_5005_c.jpeg?alt=media\&token=6b6eff94-601a-4723-90c7-c2c96cf35a9f)

5\. Perhatikan tombol ini, jika posisi Anda berada di mainnet, klik tombol testnet.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjX6eeKkaPdlj1-TvbN%2F-MjXAol6dTEQr2LOV42Y%2FAB178446-611A-441C-8894-33FED21AF0C8_4_5005_c.jpeg?alt=media\&token=01b0af9c-5edf-4d85-ab1c-68bf425e03d2)

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjX6eeKkaPdlj1-TvbN%2F-MjXAu_bJuJjyzAzbgyk%2F10D06BA6-3A7F-494E-88E4-7D5AF0D8A92A_4_5005_c.jpeg?alt=media\&token=195edb8c-516c-476f-a086-b10047789897)

6\. Dan klik tombol ETH.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjX6eeKkaPdlj1-TvbN%2F-MjXB88BBu___CCircM2%2FD56D148A-BE58-44D6-8648-825388EE675B_4_5005_c.jpeg?alt=media\&token=2610f3c2-5eed-42a0-bccc-1e40847ef152)

7\. Perpindahan jaringan berhasil dilakukan.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjXHJLdn5DwRj-94jvF%2F-MjXHWUnaDEBGU8_l1wI%2F294E0A0B-B1C6-460E-B7E5-BCA3B586E56C_1_105_c.jpeg?alt=media\&token=168c3820-4bf0-4226-bc5c-a1c063eaa802)

### Jaringan BSC

Sebelum memindahkan jaringan mainnet ke testnet, pastikan Anda telah menginstall wallet metamask. Jika belum menginstall, kami telah menyediakan tutorial dan penjelasannya [disini](/indonesia/memulai/cara-membuat-wallet).&#x20;

1\. Kunjungi halaman website [app.litedex.io](http://app.litedex.io)

2\. Klik tombol “Connect to Wallet” pada bagian kanan atas.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivCJ2bzu6M1XVZC7p8%2F-MivGaCiXlqAk7C-6fYp%2F81D7C582-BF51-4C54-B551-D7BDE99A81AB_4_5005_c.jpeg?alt=media\&token=9f8898d2-4471-4c2f-9dc6-a8e36d48ddff)

3\. Website menampilkan pop up yang berisi list wallet, klik Wallet “metamask”.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivCJ2bzu6M1XVZC7p8%2F-MivGdLSuabO9uR1eHAG%2F0777BB92-DD99-459B-9591-639C543643D5_1_105_c.jpeg?alt=media\&token=f6a94e1a-b19a-4669-9f3d-6e52b0f62e73)

4\. Tunggu sebentar sampai tombol bagian kanan atas menampilkan address Anda.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivCJ2bzu6M1XVZC7p8%2F-MivGiaQv6KNkDMJYpDc%2FD5276DCC-736F-4D32-9E48-FF0135B41B0C_4_5005_c.jpeg?alt=media\&token=187d3fdb-fa37-4aa8-b9e9-6b41f1e615a4)

5\. Perhatikan tombol ini, jika posisi Anda berada di mainnet, klik tombol testnet.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjX6eeKkaPdlj1-TvbN%2F-MjXDq45mDBWW4XOMand%2FAB178446-611A-441C-8894-33FED21AF0C8_4_5005_c.jpeg?alt=media\&token=faac775a-209f-46bb-9234-61f75ae13db0)

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjX6eeKkaPdlj1-TvbN%2F-MjXDsvksyC6MC7ZYh_T%2F10D06BA6-3A7F-494E-88E4-7D5AF0D8A92A_4_5005_c.jpeg?alt=media\&token=3fe16efb-9555-46c1-b1b0-fd9a7c6abf70)

6\. Dan klik tombol BSC.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjX6eeKkaPdlj1-TvbN%2F-MjXDztOSjRz4d7z2rOd%2FD56D148A-BE58-44D6-8648-825388EE675B_4_5005_c.jpeg?alt=media\&token=90cb5052-1da4-48e1-974c-1eb2b168faae)

7\. Perpindahan jaringan berhasil dilakukan.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjXHJLdn5DwRj-94jvF%2F-MjXHa5WDsTyHh8ukF7y%2FB11AAEE5-C1EB-4D25-8D0E-64C24FDF0E9A_1_105_c.jpeg?alt=media\&token=12eeb712-c8cf-4979-9b45-bfb727e23603)


# Pengenalan Faucet

**Faucet** adalah layanan berbasis web yang menyediakan coin gratis untuk pengguna testnet yang ingin menjalankan fitur atau untuk biaya transaksi. Coin ini memungkinkan pengguna untuk bereksperimen dengan fitur yang ada, tanpa mengeluarkan cryptocurrency mainnet. Pengguna akan mendapatkan coin dengan syarat dan  jumlah yang telah ditentukan oleh masing-masing blockchain (BSC, ETH).


# Cara Klaim Faucet

### **Klaim Faucet ETH (Rinkeby)**

#### **Persiapan**&#x20;

Sebelum melakukan klaim faucet, Anda harus menginstall wallet metamask dan pastikan jaringan berada di ETH testnet (rinkeby) dan memiliki akun twitter.

#### **Memulai klaim faucet ETH**

1\. Kunjungi halaman [app.litedex.io](http://app.litedex.io)

2\. Klik tombol “Claim Faucet”

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mj3v3jVxCLP1mM5g2be%2F-Mj3xVFAZeuKWZK0iq29%2F9C3EDE5C-9287-44C2-B9B5-86DCF1B28D76_4_5005_c.jpeg?alt=media\&token=cc740578-6b3a-46b4-b99f-baf5d7661046)

3\. Website menampilkan pop up dan klik “Claim Now”

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mj3v3jVxCLP1mM5g2be%2F-Mj3xYMnvqjQplkSApXo%2FB9F789E4-A3CD-4E74-80D2-465B96833068_1_201_a.jpeg?alt=media\&token=d7500306-1669-4709-8226-8db5d6ed2486)

4\. Tab baru muncul dan menampilkan halaman faucet rinkeby.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivCJ2bzu6M1XVZC7p8%2F-MivPC28gWAZzpIoXG1N%2F54043853-E8A1-4A65-8ECF-70CEFE74CA4C_1_105_c.jpeg?alt=media\&token=975c8d87-9105-4b7a-a0ba-188cae322583)

5\. Copy address Wallet Anda dan pastekan pada twit akun twitter.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivCJ2bzu6M1XVZC7p8%2F-MivPH-JwMO9Jn52ErhR%2FABE28C4E-97C1-40E9-B253-392EDBE87083_1_201_a.jpeg?alt=media\&token=42ff973c-74ec-4005-9427-9f4ab269ba24)

6\. Copy URL twit tersebut dan pastekan pada input halaman website faucet rinkeby,&#x20;

klik tombol “Give me Ether”, pilih jumlah ether sesuai yang Anda inginkan.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivCJ2bzu6M1XVZC7p8%2F-MivPUOzotnV_NZDazWy%2F8162B7A4-84BA-4E2B-AC90-8EAD17A3A315_1_201_a.jpeg?alt=media\&token=108fed55-7453-4f83-bae7-1387e0021516)

7\. Selesai dan cek saldo di metamask Anda

**Simak video dibawah ini :**

{% embed url="<https://youtu.be/iLP0hP_NCmM>" %}

### **Klaim Faucet BSC**

#### **Persiapan**

Sebelum melakukan klaim faucet, Anda harus menginstall wallet metamask dan pastikan jaringan berada di BSC.

#### **Memulai klaim faucet BSC**

1\. Kunjungi halaman [app.litedex.io](http://app.litedex.io)

2\. Klik tombol “Claim Faucet”.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mj3v3jVxCLP1mM5g2be%2F-Mj3xbpadfR9ufWT_sLn%2F9C3EDE5C-9287-44C2-B9B5-86DCF1B28D76_4_5005_c.jpeg?alt=media\&token=cff4a185-2866-4936-b028-2ff71db90cd7)

3\. Website menampilkan pop up dan klik “Claim Now”

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mj3v3jVxCLP1mM5g2be%2F-Mj3xfCqh2hrsTLGhMmk%2FB9F789E4-A3CD-4E74-80D2-465B96833068_1_201_a.jpeg?alt=media\&token=d51048ac-aaf2-47c9-b953-b88ad6f5cc04)

4\. Tab baru muncul menampilkan input faucet.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivCJ2bzu6M1XVZC7p8%2F-MivQqRL7VK3K6gSjN3e%2F54B3E016-2895-4675-9875-5C705C63D4C5_1_105_c.jpeg?alt=media\&token=13d975ad-b9ad-4c7f-832b-1080783192e9)

5\. Copy address Wallet Anda, paste kan pada input faucet dan klik tombol “Give me BNB”.

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivCJ2bzu6M1XVZC7p8%2F-MivQuJxwq00zv90RMqr%2F8C6FF5C5-9CE4-48C4-BBD4-E871EC45BE2B_1_105_c.jpeg?alt=media\&token=b432d629-64b7-40f3-a48d-649932446a84)

6\. Tunggu proses pengiriman coin BNB ke address Anda.

7\. Selesai, cek saldo wallet anda.

**Simak video dibawah ini :**

{% embed url="<https://youtu.be/18IwcQ_Wl64>" %}


# LDX

**Token LDX** adalah token yang memberikan manfaat atau hak tambahan kepada pemilik token (Holder). Pedagang aset kripto, biasanya hadir di pertukaran terdesentralisasi atau pun terpusat untuk mendorong adopsi pertukaran. Manfaat token yang ditawarkan kepada pemegang token berbeda-beda, tergantung pertukaran yang mempengaruhi operasional bursa.


# Tokenomics

Litedex memiliki 2 mekanisme dalam pendistribusian suplai, yaitu :

1. Distribusi Suplai Awal
2. Emisi Blok untuk deFi ekosistem

| **Mekanisme**                   | **Jumlah Emisi (LDX)** |
| ------------------------------- | ---------------------: |
| Suplai Awal                     |            500.000.000 |
| Emisi Blok                      |          \~210.240.000 |
| **Total dalam 1 tahun pertama** |          \~710.240.000 |

Informasi lebih lanjut mengenai **Suplai Awal** dan **Emisi Blok** akan disampaikan pada bagian selanjutnya.

## Suplai Awal

Jumlah suplai awal dari Litedex Protocol adalah 500 juta token, suplai awal digunakan untuk membangun ekosistem, melakukan partnership, dan lainnya. Untuk rinciannya sebagai berikut:&#x20;

| **Bagian**               | % dari Suplai Total |    Ukuran (LDX) |                                                                                        Deskripsi |
| ------------------------ | ------------------- | --------------: | -----------------------------------------------------------------------------------------------: |
| Private Sale             | 18.00 %             |      90.000.000 |                                                                            Pengumpulan dana awal |
| Public Sale              | 12.00 %             |      60.000.000 |                                                                                  ICO - IEO - IDO |
| Research & Development   | 10.00 %             |      50.000.000 | <p>Terbuka 1 bulan setelah </p><p>platform rilis dan didistribusikan </p><p>selama 5 bulan  </p> |
| Partnership & Ecosystem  | 30.00 %             |     150.000.000 |        Menyediakan untuk Partnership & Ekosistem (Alokasi Liquidity, Strategic Partnership, dll) |
| Foundation               | 24.00 %             |     120.000.000 |  <p>Terbuka 1 tahun setelah </p><p>platform rilis dan didistribusikan </p><p>selama 12 bulan</p> |
| Bug Bounty Program       | 2.00 %              |      10.000.000 |                                    <p>Digunakan untuk mencari celah </p><p>di dalam platform</p> |
| Smart Contract Insurance | 2.00 %              |      10.000.000 |                                                                       Management Mitigasi Resiko |
| Community Airdrop        | 2.00 %              |      10.000.000 |                                                                          Untuk Komunitas Litedex |
| **Total Suplai**         | **100.00 %**        | **500.000.000** |                                                                    **Membangun Ekosistem Penuh** |

## Blok Emisi

| **Tolak Ukur**         | **Emisi/blok (LDX)** |   **Emisi/hari (LDX)** |
| ---------------------- | -------------------: | ---------------------: |
| Emisi                  |          20 per blok |     \~376.000 per hari |
| **Emisi yang efektif** |      **20 per blok** | **\~376.000 per hari** |

Selain hal di atas, jumlah LDX yang dinamis juga diminting pada tingkat 9,09%. Artinya, jika 100 LDX dipanen, maka 9,09 LDX ditambahkan dan akan diburn.

**Namun, semua LDX yang dirilis dengan minting akan dibakar langsung setelah proses harvest dan tidak akan pernah masuk ke sirkulasi suplai. Dengan demikian, kami tidak memasukkannya kedalam distribusi emisi.**

## Distribusi Emisi

| **Didistribusikan ke**   | <p><strong>Hadiah/blok (% dari</strong> </p><p><strong>emisi)</strong></p> | <p><strong>Hadiah/blok</strong> </p><p><strong>(LDX)</strong></p> | <p><strong>Hadiah/hari</strong> </p><p><strong>(LDX)</strong></p> |
| ------------------------ | -------------------------------------------------------------------------: | ----------------------------------------------------------------: | ----------------------------------------------------------------: |
| Staking                  |                                                                        40% |                                                                 8 |                                                         \~150.400 |
| Farming                  |                                                                        60% |                                                                12 |                                                         \~225.600 |
| **Emisi Total per hari** |                                                                            |                                                                   |                                                     **\~376.000** |

## **Mekanisme Deflasi Lainnya** <a href="#other-deflationary-mechanics" id="other-deflationary-mechanics"></a>

Saat ini, LDX juga dibakar dengan beberapa mekanisme dibawah ini:

* **9,09%** LDX setelah **panen Yield Farm**
* **100%** LDX yang dikumpulkan di **ILO**
* **100%** LDX dihabiskan untuk **NFT Merchant Creation**
* **2%** dari setiap panen hasil di **Auto Stake Compounding**
* **2%** dari setiap panen hasil di **Auto Yield Compounding**
* **100%** LDX yang dikumpulkan dalam **Kompetisi Fase Pembakaran**
* **1%** LDX yang terkumpul di setiap **Transaksi NFT**

{% hint style="info" %}
Dokumentasi ini dapat diperbarui kapan saja.
{% endhint %}


# Smart Contract

![](https://2715993814-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mj2yl6WSISwWt9yiLvi%2F-Mj31NrNk_NtQnHMPFY0%2F15.%20TOKEN%20_%20SMART%20CONTRACT.svg?alt=media\&token=682e2d01-87fc-4b68-a44b-02f585bc2593)

* **Ticker:** LDX
* **Nama:** Litedex
* **Contract Address:** [0x8286387174B8667AE5222306A27e9ab5189b503b](https://bscscan.com/token/0x8286387174B8667AE5222306A27e9ab5189b503b)
* **Network:** Binance Smart Chain (BEP20)&#x20;

Smart contract hanyalah program yang disimpan di blockchain yang berjalan ketika kondisi yang telah ditentukan terpenuhi. Mereka biasanya digunakan untuk mengotomatisasi pelaksanaan kesepakatan sehingga semua peserta dapat segera yakin akan hasilnya, tanpa keterlibatan perantara atau kehilangan waktu. Mereka juga dapat mengotomatiskan alur kerja, memicu tindakan berikutnya saat kondisi terpenuhi.

## Main contract

Tautan berikut akan membawa Anda ke setiap halaman pemindai blok untuk smart contract utama Litedex di jaringan testnet.

**Rinkeby**

* [Litedex: Main Farming Contract/LitedexFarmer](https://rinkeby.etherscan.io/address/0x22e57e66865f75c2e79d45aaeff9afd7c57c98ff#code)
* [Litedex: Main Staking Pool/LitedexSP](https://rinkeby.etherscan.io/address/0xc5c6a872b0ef7bbdeb42d95745c4b19ce3a2814c)
* [Litedex: Factory Contract](https://rinkeby.etherscan.io/address/0x154719241ed12011c0a722ca5226ee2099a82d38#code)
* [Litedex: Router Contract](https://rinkeby.etherscan.io/address/0xb05a6b43020f67784275b2ce3be6c34c7d564c04#code)
* [Litedex: Pair Contract (LDX-ETH)](https://rinkeby.etherscan.io/address/0xa71ea99abb7a34956da9fb35f96ca9d8b21fd5f5#code)

**BSC Mainnet**

Saat ini Smart Contract sedang diaudit oleh CertiK


# Litedex Exchange

Tersedia di testnet. Transaksi mainnet akan segera hadir.


# Factory

## Informasi Contract

**Nama Contract**: LitedexFactory&#x20;

**Contract Address**: 0x154719241ed12011c0A722ca5226Ee2099a82D38 **(Rinkeby)**

Lihat [Litedex: Factory Contract on Rinkeby](https://rinkeby.etherscan.io/address/0x154719241ed12011c0a722ca5226ee2099a82d38#code).

**LitedexFactory di BSC Mainnet sedang diaudit oleh CertiK, nantikan update terbaru.**

## Read functions

### getPair

```
function getPair(address tokenA, address tokenB) external view returns (address pair);
```

Address untuk `tokenA` dan address untuk `tokenB` mengembalikan address pair contract (jika ada).

urutan `tokenA` dan `tokenB` dapat dipertukarkan.

Mengembalikan `0x0000000000000000000000000000000000000000` sebagai address dimana tidak ada pair.

### allPairs

```
function allPairs(uint) external view returns (address pair);
```

Mengembalikan address dari `n`th pair (`0`-indexed) yang dibuat melalui Factory contract.

Mengembalikan `0x0000000000000000000000000000000000000000` dimana pair belum dibuat.

Dimulai dari `0` untuk pasangan pertama yang dibuat.

### allPairsLength

```
function allPairsLength() external view returns (uint);
```

Menampilkan jumlah pair saat ini yang dibuat melalui Factory contract sebagai integer.

### feeTo

```
function feeTo() external view returns (address);
```

Address tujuan pengiriman biaya non-LP-holder.

### feeToSetter

```
function feeToSetter() external view returns (address);
```

Address dengan izin untuk mengatur  feeTo address.

## Write functions

### createPair

```
function createPair(address tokenA, address tokenB) external returns (address pair);
```

Membuat pair untuk `tokenA` dan `tokenB` dimana pair belum ada.

urutan `tokenA` dan `tokenB` dapat dipertukarkan.

Emits `PairCreated` (melihat Events).

### setFeeTo

```
function setFeeTo(address) external;
```

Menetapkan address untuk `feeTo`.

### setFeeToSetter

```
function setFeeToSetter(address) external;
```

Menetapkan address untuk izin menyesuaikan `feeTo`.

## Events

### PairCreated

```
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
```

Dipancarkan setiap kali `createPair` membuat pair baru.

`token0` akan muncul sebelum `token1` dalam urutan pengurutan.

Nilai log `uint` terakhir adalah `1` untuk pasangan pertama yang dibuat, `2` untuk pasangan kedua, dst.

## Interface

```
pragma solidity =0.5.16;


interface ILitedexFactory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}
```


# Router

## Info Contract

**Nama Contract:** LitedexRouter\
**Contract address:** 0xb05A6B43020F67784275b2ce3be6c34c7D564c04 **(Rinkeby)**

Lihat[ Litedex: Router Contract on Rinkeby.](https://rinkeby.etherscan.io/address/0xb05a6b43020f67784275b2ce3be6c34c7d564c04#code)

**LitedexRouter di BSC Mainnet sedang diaudit oleh CertiK, nantikan update terbaru.**

## Read functions

### WETH

```
function WETH() external pure returns (address);
```

Mengembalikan canonical address untuk[ token WETH](https://rinkeby.etherscan.io/address/0xc778417e063141139fce010982780140aa0cd5ab) (WETH menjadi sisa dari asal network Ethereum).

### factory

```
function factory() external pure returns (address);
```

Mengembalikan canonical address untuk [LitedexFactory](https://rinkeby.etherscan.io/address/0x154719241ed12011c0a722ca5226ee2099a82d38).

### getAmountOut

```
function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut);
```

### getAmountIn

```
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn);
```

### getAmountsOut

```
function getAmountsOut(uint amountIn, address[] memory path) internal view returns (uint[] memory amounts);
```

### getAmountsIn

```
function getAmountsOut(uint amountIn, address[] memory path) internal view returns (uint[] memory amounts);
```

### quote

```
function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB);
```

## Write functions

### addLiquidity

```
function addLiquidity(
  address tokenA,
  address tokenB,
  uint amountADesired,
  uint amountBDesired,
  uint amountAMin,
  uint amountBMin,
  address to,
  uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
```

Menambahkan liquidity ke pool BEP20⇄BEP20.

| Nama           | Tipe      | Deskripsi                                                         |
| -------------- | --------- | ----------------------------------------------------------------- |
| tokenA         | `address` | Contract address satu token dari liquidity pair, Anda.            |
| tokenB         | `address` | Contract address token lain dari pasangan liquidity, Anda.        |
| amountADesired | `uint`    | Jumlah tokenA yang ingin Anda berikan sebagai liquidity.          |
| amountBDesired | `uint`    | Jumlah tokenB yang ingin Anda berikan sebagai liquidity.          |
| amountAMin     | `uint`    | Jumlah minimum tokenA yang disediakan (dampak slippage).          |
| amountBMin     | `uint`    | Jumlah minimum tokenB yang harus disediakan (dampak slippage).    |
| to             | `address` | Address penerima LP Token.                                        |
| deadline       | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi. |

### addLiquidityETH

```
function addLiquidityETH(
  address token,
  uint amountTokenDesired,
  uint amountTokenMin,
  uint amountETHMin,
  address to,
  uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
```

Menambahkan liquidity ke pool a BEP20⇄WBNB pool.

| Nama               | Tipe      | Deskripsi                                                         |
| ------------------ | --------- | ----------------------------------------------------------------- |
| addLiquidityETH    | `uint`    | Jumlah yang harus dibayar dalam BNB.                              |
| token              | `address` | Contract address untuk menambah liquidity.                        |
| amountTokenDesired | `uint`    | Jumlah token yang ingin Anda berikan sebagai liquidity.           |
| amountTokenMin     | `uint`    | Jumlah minimum token yang harus disediakan (dampak slippage).     |
| amountETHMin       | `uint`    | Jumlah minimum BNB yang harus disediakan (dampak slippage).       |
| to                 | `address` | Address penerima LP Token.                                        |
| deadline           | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi. |

### removeLiquidity

```
function removeLiquidity(
  address tokenA,
  address tokenB,
  uint liquidity,
  uint amountAMin,
  uint amountBMin,
  address to,
  uint deadline
) external returns (uint amountA, uint amountB);
```

Menghapus liquidity dari pool BEP20⇄BEP20.

| Nama       | Tipe      | Deskripsi                                                         |
| ---------- | --------- | ----------------------------------------------------------------- |
| tokenA     | `address` | Contract address satu token dari pasangan liquidity Anda.         |
| tokenB     | `address` | Contract address token lain dari pasangan liquidity, Anda.        |
| liquidity  | `uint`    | Jumlah Token LP yang akan dihapus.                                |
| amountAMin | `uint`    | Jumlah minimum tokenA yang harus dihapus (dampak slippage).       |
| amountBMin | `uint`    | Jumlah minimum tokenB yang harus dihapus (dampak slippage).       |
| to         | `address` | Address penerima LP Token.                                        |
| deadline   | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi. |

### removeLiquidityETH

```
function removeLiquidityETH(
  address token,
  uint liquidity,
  uint amountTokenMin,
  uint amountETHMin,
  address to,
  uint deadline
) external returns (uint amountToken, uint amountETH);
```

Menghapus liquidity dari pool BEP20⇄WBNB.

| Nama           | Tipe      | Deskripsi                                                         |
| -------------- | --------- | ----------------------------------------------------------------- |
| token          | `address` | Contract address token untuk menghilangkan liquidity.             |
| liquidity      | `uint`    | Jumlah Token LP yang akan dihapus.                                |
| amountTokenMin | `uint`    | Jumlah minimum token yang harus dihapus (dampak slippage).        |
| amountETHMin   | `uint`    | Jumlah minimum BNB yang harus dihapus (dampak slippage).          |
| to             | `address` | Address penerima LP Token.                                        |
| deadline       | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi. |

### removeLiquidityETHSupportingFeeOnTransferTokens

```
function removeLiquidityETHSupportingFeeOnTransferTokens(
  address token,
  uint liquidity,
  uint amountTokenMin,
  uint amountETHMin,
  address to,
  uint deadline
) external returns (uint amountETH);
```

Menghapus liquidity dari BEP20⇄WBNB untuk token yang dikenakan biaya transfer.

| Nama           | Tipe      | Deskripsi                                                         |
| -------------- | --------- | ----------------------------------------------------------------- |
| token          | `address` | Contract address token untuk menghilangkan liquidity.             |
| liquidity      | `uint`    | Jumlah Token LP yang akan dihapus.                                |
| amountTokenMin | `uint`    | Jumlah minimum token yang harus dihapus (dampak slippage).        |
| amountETHMin   | `uint`    | Jumlah minimum token yang harus dihapus (dampak slippage).        |
| to             | `address` | Address penerima LP Token.                                        |
| deadline       | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi. |

### removeLiquidityETHWithPermit

```
function removeLiquidityETHWithPermit(
  address token,
  uint liquidity,
  uint amountTokenMin,
  uint amountETHMin,
  address to,
  uint deadline,
  bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountToken, uint amountETH);
```

Menghapus liquidity dari BEP20⇄WBNB dan menerima BNB, tanpa persetujuan sebelumnya, melalui izin.

| Nama           | Tipe      | Deskripsi                                                                                         |
| -------------- | --------- | ------------------------------------------------------------------------------------------------- |
| token          | `address` | Contract address token untuk menghilangkan liquidity.                                             |
| liquidity      | `uint`    | Jumlah Token LP yang akan dihapus.                                                                |
| amountTokenMin | `uint`    | Jumlah minimum token yang harus dihapus (dampak slippage).                                        |
| amountETHMin   | `uint`    | Jumlah minimum BNB yang harus dihapus (dampak slippage).                                          |
| to             | `address` | Address penerima LP Token.                                                                        |
| deadline       | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi.                                 |
| approveMax     | `bool`    | Apakah, atau tidak jumlah persetujuan dalam tanda tangan adalah untuk likuiditas atau `uint(-1)`. |
| v              | `uint8`   | Komponen v dari tanda tangan izin.                                                                |
| r              | `bytes32` | Komponen r dari tanda tangan izin.                                                                |
| s              | `bytes32` | Komponen s dari tanda tangan izin.                                                                |

### removeLiquidityETHWithPermitSupportingFeeOnTransferTokens

```
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
  address token,
  uint liquidity,
  uint amountTokenMin,
  uint amountETHMin,
  address to,
  uint deadline,
  bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountETH);
```

Menghapus liquidity dari BEP20⇄WBNB dan menerima BNB melalui izin untuk token yang dikenakan biaya transfer.

| Nama           | Tipe      | Deskripsi                                                                                         |
| -------------- | --------- | ------------------------------------------------------------------------------------------------- |
| token          | `address` | Contract address token untuk menghilangkan liquidity.                                             |
| liquidity      | `uint`    | Jumlah Token LP yang akan dihapus.                                                                |
| amountTokenMin | `uint`    | Jumlah minimum token yang harus dihapus (dampak slippage).                                        |
| amountETHMin   | `uint`    | Jumlah minimum BNB yang harus dihapus (dampak slippage).                                          |
| to             | `address` | Address penerima LP token.                                                                        |
| deadline       | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi.                                 |
| approveMax     | `bool`    | Apakah, atau tidak jumlah persetujuan dalam tanda tangan adalah untuk likuiditas atau `uint(-1)`. |
| v              | `uint8`   | Komponen v dari tanda tangan izin.                                                                |
| r              | `bytes32` | Komponen r dari tanda tangan izin.                                                                |
| s              | `bytes32` | Komponen s dari tanda tangan izin.                                                                |

### removeLiquidityWithPermit

```
function removeLiquidityWithPermit(
  address tokenA,
  address tokenB,
  uint liquidity,
  uint amountAMin,
  uint amountBMin,
  address to,
  uint deadline,
  bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountA, uint amountB);
```

Menghapus liquidity dari BEP20⇄BEP20, tanpa persetujuan sebelumnya, melalui izin.

| Nama           | Tipe      | Deskripsi                                                                                         |
| -------------- | --------- | ------------------------------------------------------------------------------------------------- |
| tokenA         | `address` | Contract address satu token dari pasangan liquidity Anda.                                         |
| tokenB         | `address` | Contract address token lain dari pair liquidity Anda.                                             |
| liquidity      | `uint`    | Jumlah Token LP yang akan dihapus.                                                                |
| amountTokenMin | `uint`    | Jumlah minimum token yang harus dihapus (dampak slippage).                                        |
| amountETHMin   | `uint`    | Jumlah minimum BNB yang harus dihapus (dampak slippage).                                          |
| to             | `address` | Address penerima LP Token.                                                                        |
| deadline       | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi.                                 |
| approveMax     | `bool`    | Apakah, atau tidak jumlah persetujuan dalam tanda tangan adalah untuk likuiditas atau `uint(-1)`. |
| v              | `uint8`   | Komponen v dari tanda tangan izin.                                                                |
| r              | `bytes32` | Komponen r dari tanda tangan izin.                                                                |
| s              | `bytes32` | Komponen s dari tanda tangan izin.                                                                |

### swapETHForExactTokens

```
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
  external
  payable
  returns (uint[] memory amounts);
```

Terima jumlah token output yang tepat untuk BNB sesedikit mungkin.

| Nama                  | Tipe      | Deskripsi                                                                                                                        |
| --------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------- |
| swapETHForExactTokens | `uint`    | Jumlah BNB yang harus dibayar.                                                                                                   |
| amountOut             | `uint`    | Jumlah token yang akan diterima.                                                                                                 |
| path (address\[])     | `address` | Array token addresses. `path.length` harus >= 2. Pool untuk setiap pair address yang berurutan harus ada dan memiliki liquidity. |
| to                    | `address` | Address penerima.                                                                                                                |
| deadline              | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi.                                                                |

### swapExactETHForTokens

```
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
  external
  payable
  returns (uint[] memory amounts);
```

Terima token output sebanyak mungkin untuk jumlah BNB yang tepat.

| Nama                  | Tipe      | Deskripsi                                                                                                                        |
| --------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------- |
| swapExactETHForTokens | `uint`    | Jumlah BNB yang harus dibayar.                                                                                                   |
| amountOutMin          | `uint`    | Jumlah minimum token yang akan diterima.                                                                                         |
| path (address\[])     | `address` | Array token addresses. `path.length` harus >= 2. Pool untuk setiap pair address yang berurutan harus ada dan memiliki liquidity. |
| to                    | `address` | Address penerima.                                                                                                                |
| deadline              | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi.                                                                |

### swapExactETHForTokensSupportingFeeOnTransferTokens

```
function swapExactETHForTokensSupportingFeeOnTransferTokens(
  uint amountOutMin,
  address[] calldata path,
  address to,
  uint deadline
) external payable;
```

Terima token output sebanyak mungkin untuk jumlah BNB yang tepat. Mendukung token yang dikenakan biaya saat transfer.

| Nama                                               | Tipe      | Deskripsi                                                                                                                        |
| -------------------------------------------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------- |
| swapExactETHForTokensSupportingFeeOnTransferTokens | `uint`    | Jumlah BNB yang harus dibayar.                                                                                                   |
| amountOutMin                                       | `uint`    | Jumlah minimum token yang akan diterima.                                                                                         |
| path (address\[])                                  | `address` | Array token addresses. `path.length` harus >= 2. Pool untuk setiap pair address yang berurutan harus ada dan memiliki liquidity. |
| to                                                 | `address` | Address penerima.                                                                                                                |
| deadline                                           | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi.                                                                |

### swapExactTokensForETH

```
function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
  external
  returns (uint[] memory amounts);
```

Terima BNB sebanyak mungkin untuk jumlah token input yang tepat.

| Nama              | Tipe      | Deskripsi                                                                                                                        |
| ----------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------- |
| amountIn          | `uint`    | Jumlah token input yang harus dibayar.                                                                                           |
| amountOutMin      | `uint`    | Jumlah minimum token yang akan diterima.                                                                                         |
| path (address\[]) | `address` | Array token addresses. `path.length` harus >= 2. Pool untuk setiap pair address yang berurutan harus ada dan memiliki liquidity. |
| to                | `address` | Address penerima.                                                                                                                |
| deadline          | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi.                                                                |

### swapExactTokensForETHSupportingFeeOnTransferTokens

```
function swapExactTokensForETHSupportingFeeOnTransferTokens(
  uint amountIn,
  uint amountOutMin,
  address[] calldata path,
  address to,
  uint deadline
) external;
```

Terima BNB sebanyak mungkin untuk jumlah token yang tepat. Mendukung token yang dikenakan biaya saat transfer.

| Nama              | Tipe      | Deskripsi                                                                                                                        |
| ----------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------- |
| amountIn          | `uint`    | Jumlah token input yang harus dibayar.                                                                                           |
| amountOutMin      | `uint`    | Jumlah minimum token yang akan diterima.                                                                                         |
| path (address\[]) | `address` | Array token addresses. `path.length` harus >= 2. Pool untuk setiap pair address yang berurutan harus ada dan memiliki liquidity. |
| to                | `address` | Address penerima.                                                                                                                |
| deadline          | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi.                                                                |

### swapExactTokensForTokens

```
function swapExactTokensForTokens(
  uint amountIn,
  uint amountOutMin,
  address[] calldata path,
  address to,
  uint deadline
) external returns (uint[] memory amounts);
```

Terima token output sebanyak mungkin untuk jumlah token input yang tepat.

| Nama              | Tipe      | Deskripsi                                                                                                                        |
| ----------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------- |
| amountIn          | `uint`    | Jumlah token input yang harus dibayar.                                                                                           |
| amountOutMin      | `uint`    | Jumlah minimum token yang akan diterima.                                                                                         |
| path (address\[]) | `address` | Array token addresses. `path.length` harus >= 2. Pool untuk setiap pair address yang berurutan harus ada dan memiliki liquidity. |
| to                | `address` | Address penerima.                                                                                                                |
| deadline          | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi.                                                                |

### swapExactTokensForTokensSupportingFeeOnTransferTokens

```
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
  uint amountIn,
  uint amountOutMin,
  address[] calldata path,
  address to,
  uint deadline
) external;
```

Terima token output sebanyak mungkin untuk jumlah token input yang tepat. Mendukung token yang dikenakan biaya saat transfer.

| Nama              | Tipe      | Deskripsi                                                                                                                        |
| ----------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------- |
| amountIn          | `uint`    | Jumlah token input yang harus dibayar.                                                                                           |
| amountOutMin      | `uint`    | Jumlah minimum token yang akan diterima.                                                                                         |
| path (address\[]) | `address` | Array token addresses. `path.length` harus >= 2. Pool untuk setiap pair address yang berurutan harus ada dan memiliki liquidity. |
| to                | `address` | Address penerima.                                                                                                                |
| deadline          | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi.                                                                |

### swapTokensForExactETH

```
function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
  external
  returns (uint[] memory amounts);
```

Terima jumlah ETH yang tepat untuk token input sesedikit mungkin.

| Nama              | Tipe      | Deskripsi                                                                                                                        |
| ----------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------- |
| amountOut         | `uint`    | Jumlah token input yang harus dibayar.                                                                                           |
| amountInMax       | `uint`    | Jumlah minimum token yang harus diinput.                                                                                         |
| path (address\[]) | `address` | Array token addresses. `path.length` harus >= 2. Pool untuk setiap pair address yang berurutan harus ada dan memiliki liquidity. |
| to                | `address` | Address penerima.                                                                                                                |
| deadline          | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi.                                                                |

### swapTokensForExactTokens

```
function swapTokensForExactTokens(
  uint amountOut,
  uint amountInMax,
  address[] calldata path,
  address to,
  uint deadline
) external returns (uint[] memory amounts);
```

Receive an exact amount of output tokens for as few input tokens as possible.

| Nama              | Tipe      | Deskripsi                                                                                                                        |
| ----------------- | --------- | -------------------------------------------------------------------------------------------------------------------------------- |
| amountOut         | `uint`    | Jumlah token input yang harus dibayar.                                                                                           |
| amountInMax       | `uint`    | Jumlah minimum token yang harus diinput.                                                                                         |
| path (address\[]) | `address` | Array token addresses. `path.length` harus >= 2. Pool untuk setiap pair address yang berurutan harus ada dan memiliki liquidity. |
| to                | `address` | Address penerima.                                                                                                                |
| deadline          | `uint`    | Batas waktu Unix timestamp, di mana transaksi harus dikonfirmasi.                                                                |

## Interface

```
pragma solidity >=0.6.2;

interface ILitedexRouter01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

pragma solidity >=0.6.2;

interface ILitedexRouter02 is ILitedexRouter01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}
```


# Yield Farming


# Introduction

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL4F6g475qTTJDk3zY%2F-MiL4ZSGyk2KhCzzJ8gt%2F1.%20DOCUMENTATION.svg?alt=media\&token=bbb1a422-d69d-4301-8271-d420ac46dcf7)

**Decentralized Exchange Protocol** is a blockchain based financial system which designed to provide an open financial service that are transparent without intermediaries, permissions and available to everyone without centralized authority. Instead, it uses smart contract based on blockchain technology, which allows developers to build better functions. Decentralized Exchange consist of trading, saving, lending, borrowing, and insurance services that can be accessed by anyone at any time using a smartphone or a laptop and internet connection.‌

**LITEDEX** is a decentralized exchange protocol that adopts the world's most popular blockchains; Binance Smart Chain, Ethereum Network, Huobi Eco Chain, Polygon Matic Network, Tron Network, Polkadot Network and Solana Network. As the first DeFi platform in Indonesia, LITEDEX also gained the advantages from some of the best decentralized protocols and create an ecosystem that is very beneficial for LDX Token holder. Our commitment is to build a DeFi ecosystem within the decentralized available features to provide liquidity services in one platform for higher quality assets, reliable, diverse, democratic, cost-effective and secure trading experience for DeFi users around the world.‌

### **What is** LITEDEX **Token?** <a href="#what-is-litedex-token" id="what-is-litedex-token"></a>

LITEDEX Token is a governance token built on the Binance Smart Chain (BEP20) blockchain network, created to build the DeFi ecosystem and deliver rights to all LDX holders to also manage the platform through a voting mechanism.‌

### **Why** LITEDE&#x58;**?** <a href="#why-litedex" id="why-litedex"></a>

* LITEDEX provides services that doesn't exist in Centralized Finance (CeFi) sector like Swap, Staking, Farming and NFT.
* LITEDEX platform was developed by a team of experienced crypto trader and blockchain developer, supported by professionals in project management, communication, marketing, sales and more.
* LITEDEX apply smart contracts audit to ensure highly secured transactions on the platform.
* LITEDEX develops community of crypto enthusiasts based on the value of Benefit Sharing.

### &#x20;**Features Available in LITEDEX** <a href="#features-available-in-litedex" id="features-available-in-litedex"></a>

* Swap
* Staking
* Farming
* Liquidity Pool
* Lending
* Borrowing
* NFT

All the features listed are built on the BSC and ETH Blockchain.


# Security & Audits

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL4F6g475qTTJDk3zY%2F-MiL4ggcgNxNdxkoxGMW%2F2.%20SMART%20CONTRACT%20SECURITY.svg?alt=media\&token=a3245f4a-db9f-4e15-be65-eccfda2d6713)

As a platform, LITEDEX highly prioritize security for the users. We ensure in conducting regular checks on smart contract in order to continuously improve the best security standards. The best blockchain security audit company had been commissioned for our auditing. The following is our audit evidence or process:‌

* ​[Certik](https://www.certik.com/projects/litedex) - Certified ✅

### &#x20;**Smart Contract Security** <a href="#smart-contract-security" id="smart-contract-security"></a>

**Smart contract** is an agreement between two parties in the form of computer code that runs on a blockchain network. The agreement will be stored in a public database and cannot be changed. The transactions are processed by the blockchain where the smart contract can be sent automatically without having any third party involve such as (banks, governments, brokers, etc.). Transactions will only occur if the terms of the agreement are met. Without a third party, there is no entity could execute the smart contract. With such safety features, the LITEDEX Team will keep conducting routine auditing and layered security checks.


# Roadmap

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL4F6g475qTTJDk3zY%2F-MiL4mHSFxiqOzPdxf-H%2F12.%20ROADMAP.svg?alt=media\&token=dfd9ff3f-ef74-4bf0-b228-67d8b8de4e2e)

**Roadmap** is a flexible planning technique to support strategic planning by combining both short and long-term goals. It was created in a thorough detailed and systematic way regarding the implementation of a program activities for a certain period of time. You can visit the LITEDEX Roadmap [here](https://litedex.io/).


# Get Started

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL4F6g475qTTJDk3zY%2F-MiL4wzSYWKfSYb6DF56%2F14.%20GET%20STARTED.svg?alt=media\&token=454ac1cc-ff26-4d12-8ac8-9e95a8dcd217)

Before beginning a trade, We strongly recommend the traders to understand and study how to use the trade. As such, the LITEDEX Team provides brief education for both novice and experienced traders. The following educational paths have been provided.‌

### Preparation Before Trade <a href="#preparation-before-trade" id="preparation-before-trade"></a>

Preparation before trading, traders must know what is needed to make a transaction. Transacting on a decentralized exchange, you need a wallet to store personal funds. Therefore, the LITEDEX Team provides education about Wallet:‌

1. ​[**Wallet Introduction**](/get-started/wallet-introduction)**​**
2. **​**[**How to make a Wallet**](/get-started/how-to-make-a-wallet)**​**

Once you really understand it, learn it and use it well. You can study the product guide.‌

### Guide to Use Product <a href="#guide-to-use-product" id="guide-to-use-product"></a>

If you have created a wallet and know how to use it. Please follow the guides that we have provided.‌

**1.** [**Exchange**](/products-guide/exchange) **​**‌

* ​[Token Swaps](/products-guide/exchange/token-swaps) ​
* ​[How to Trade](/products-guide/exchange/how-to-trade)​
* ​[Liquidity Pools](/products-guide/exchange/liquidity-pools)​

**2.** [**Yield Farming**](/products-guide/yield-farming)**​**‌

* ​[How to use Yield Farming](/products-guide/yield-farming/how-to-use-yield-farming)​

**3.** [**Staking**](/products-guide/staking)**​**‌

* ​[How to use Staking](/products-guide/staking/how-to-use-staking)​

**4.** [**Analytics (Info)**](/products-guide/analytics-info)**​**[<br>](https://app.gitbook.com/@litedex-1/s/litedex-documentation/roadmap)


# Wallet Introduction

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL4F6g475qTTJDk3zY%2F-MiL51vw320AQh0iIIwq%2F6.%20WALLET.svg?alt=media\&token=9b414d3b-0c81-44fc-8763-2440d7d65c86)

**Wallet** is the main feature which is use to store, send and receive various cryptocurrency tokens on the Blockchain network. LITEDEX had supported the well-known cryptocurrency wallets provided in the list.‌

**Available wallets**:‌

* Metamask
* Safepal
* TrustWallet
* TokenPocket
* HuobiWallet
* MathWallet
* And wallets supported by WalletConnect


# How to make a Wallet

Wallet is available on smartphones and desktop computers/web browsers (Android/IOS). You must use the Wallet as needed. For traders who often use the smartphones, you can install it on your smartphone. And for traders who often using desktop, you can use the Wallet on your desktop computer or web browser.

You can find Wallet information, and how to install it below.

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

![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-MfqyZLo9TZMOdnyvGhV%2FMetamask.png?alt=media\&token=9e0129ce-4201-4bc3-9498-2826a4c15290)

**Metamask** is a popular browser extension and as a cryptocurrency Wallet connected to the Ethereum blockchain. Metamask supports Decentralized Applications (DApps) and one of the best Ethereum Wallet solutions compatible with multiple browsers such as Chrome, Firefox, Brave, and Microsoft Edge.

**Guide to creating a Wallet on Metamask**

* Smartphone (Guide not available)
* Desktop/Web Browser

How to create a Metamask Wallet

1\. Visit the page <https://metamask.io/download>

2\. After visiting the website, the screen will appear as shown below.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mgt5BaQLwJkYXhvImry%2F-MgtBOpU00z2g9QAJUQt%2F2.jpg?alt=media\&token=7be9dfbf-38be-4a02-a300-88704b373937)

In this tutorial, we will provide how to install in Browser (Chrome). Click "Install Metamask for Chrome".

3\. Wait for the process, until a new tab appears with a display shown as below.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MgsjoLo5pTqGA_mqHaP%2F-Mgt4OW3L1tFnbpAvJVZ%2F3.png?alt=media\&token=f4bf5208-2a24-4d24-9169-8fcd8bd05d9f)

You can Click "Add to Chrome", then there will be a notification.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MgsjoLo5pTqGA_mqHaP%2F-Mgt4TWQRbgZBHnvFx8e%2F3-2.png?alt=media\&token=1ac4832c-34bf-4ab9-a291-5a28d93b3e11)

Click "Add extension" and wait for the extension download process to complete.

4\. The new tab displays this.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MgsjoLo5pTqGA_mqHaP%2F-Mgt4XYlllymZJOqw2zl%2F4.png?alt=media\&token=10a4d2a6-f17a-4075-9ee8-71e325e46174)

You Click "Get Started" to continue.

5\. If you already have a Metamask Wallet, you can click "Import Wallet" to import the private you previously had. But in this tutorial, we will only create a Metamask Wallet.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MgsjoLo5pTqGA_mqHaP%2F-Mgt4eq5W5ec5iR1Ljlw%2F5.png?alt=media\&token=627f2c66-dfa8-4179-b6e9-7569bde9ef6e)

You can continue creating by clicking "Create a Wallet".

6\. Metamask informs to help improve Metamask by collecting usage data.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MgsjoLo5pTqGA_mqHaP%2F-Mgt4k9HIZwh8G58GBwi%2F6.png?alt=media\&token=62ef30da-da5d-4c3f-b4f0-c27ad410d131)

If you want to help Metamask, you can click "I Agree". But In this tutorial, We will click "No Thanks".

7\. The next process is to create a password.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MgsjoLo5pTqGA_mqHaP%2F-Mgt4mypAYY4QtLhc98A%2F7.png?alt=media\&token=d8296de7-e03b-42a6-a5d9-4283bbde55ce)

We recommend to use a unique password. After you have entered the password, click the "I have read and agree to the Terms of Use" checkbox and click "Create".

8\. For security reasons, Metamask provides short videos to learn your recovery phrases, and how to keep your Wallet safe. We highly recommend watching it as to understand it well.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MgsjoLo5pTqGA_mqHaP%2F-Mgt4qRV1BQsZ4XT4jSf%2F8.png?alt=media\&token=dd4a8bf1-9f0a-4c2b-9c10-bf7d4111e609)

If you have understood well, you can click "Next".

9\. You can view the phrase by clicking "CLICK HERE TO REVEAL SECRET WORDS" and you write the displayed phrase. After that click "Next".

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MgsjoLo5pTqGA_mqHaP%2F-Mgt4uLY5VIEgliHRfpj%2F9.png?alt=media\&token=64389d5e-d6de-48d0-90ac-5e36106818db)

10\. Confirm the phrase in the order and you have them by clicking word by word. And if it has been confirmed correctly, you can click "Confirm".

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MgsjoLo5pTqGA_mqHaP%2F-Mgt4ygoZPCA7oWPzuJe%2F10.png?alt=media\&token=85e5e9b7-357c-4108-98da-85c1cd5481e5)

11\. Congratulations you have created a Metamask Wallet. You can click "All Done" to see the Metamask Wallet that has been created.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MgsjoLo5pTqGA_mqHaP%2F-Mgt51cRwM4vutClB9ug%2F11.png?alt=media\&token=df9c8b68-74b4-4850-b017-90a1f9f36711)

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MgsjoLo5pTqGA_mqHaP%2F-Mgt55J6kReghj9nRT5V%2F11-2.png?alt=media\&token=801b13df-dba4-4a24-917b-2ee0c17747bb)

If you want to know more about Metamask, you can visit the Official Website [here](https://metamask.io/).
{% endtab %}

{% tab title="MathWallet" %}
![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-MfqyUtBjb74JMkKbQrh%2FMathWallet.png?alt=media\&token=f44d92e7-2e5e-473b-873d-60e8c2e7052f)

**MathWallet** is a multi-platform (mobile/desktop/extension/hardware) universal crypto Wallet that allows storing BTC, ETH, BNB and other Coins in one Wallet.

**Guide to creat a Wallet in MathWallet**

* Smartphone (Guide not available)
* Desktop/Web Browser (Visit the guide [here](https://mathwallet.medium.com/tutorial-of-math-wallet-browser-extension-d9338f1a6f7))

If you want to know more about MathWallet, you can visit the official website, as well as download and install it [here](https://mathwallet.org/).[<br>](https://app.gitbook.com/@litedex-1/s/litedex-documentation/get-started/wallet-introduction)
{% endtab %}

{% tab title="SafePal" %}
![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-MfqyCmux1ZW3143n-ZW%2FSafePal.png?alt=media\&token=5a64768d-2ed4-48b7-a8e6-a63581aa548e)

**SafePal** is dedicated to provide a secure and user-friendly crypto management platform for the mass users to secure and grow their crypto assets safely and conveniently. This is the first hardware Wallet that Binance has invested in and supported.

**Guide to creating a Wallet in SafePal**

* Smartphone (Visit the guide [here](https://docs.safepal.io/safepal-app/how-to-create-a-safepal-software-wallet))

If you want to know more about SafePal, you can visit the Official Website [here](https://www.safepal.io/about). If you want to download and install, you can visit [safepal.io](https://www.safepal.io/download).
{% endtab %}

{% tab title="TrustWallet" %}
![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfqy6x7llnYclICLIZM%2FTrustWallet.png?alt=media\&token=7bd9a3d8-e203-409e-87cf-27e4c761ce48)

**TrustWallet** is a Decentralized Wallet that aims to make crypto more accessible and the key to ownership for cryptocurrencies. It also has access to DApps, and does not store any personal information.

**Guide to creating a Wallet on TrustWallet**

* Smartphone (Visit the guide [here](https://community.trustwallet.com/t/how-to-create-a-multi-coin-wallet/41))

If you want to know more about TrustWallet, you can visit the official website, as well as download and install it [here](https://trustwallet.com/).
{% endtab %}

{% tab title="HuobiWallet" %}
![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-Mfqy0PY6_4zrQshms0b%2FHuobiWallet.jpeg?alt=media\&token=357033e6-687a-421e-a844-b0394d0c7062)

**HuobiWallet** has a goal and vision to optimize financial services, free global wealth, and protect user privacy. HuobiWallet is a professional Multi-chain lightweight Wallet that ensures the security of users' assets and provides a simple, convenient and secure Digital Asset Management (DAM) service.

**Guide to creating a Wallet on HuobiWallet**

* Smartphone (Visit the guide [here](https://support.huobiwallet.com/hc/en-us/articles/360000135181-How-Can-I-Create-a-Wallet-))

If you want to know more about HuobiWallet, you can visit the Official Website here. If you want to download and install, you can visit [huobiwallet.com](https://www.huobiwallet.com/).
{% endtab %}

{% tab title="TokenPocket" %}

![](https://gblobscdn.gitbook.com/assets%2F-MfRSYNm8u9wGeluUhAg%2F-MfqxdDhhbc2W5eSqZOL%2F-MfqxtWAI3MUJsQxolIS%2FTokenPocket.png?alt=media\&token=bb7562b5-b9b8-45a4-8475-7403f7d60f7e)

**TokenPocket** is an easy-to-use Multi-chain Wallet, supports all leading crypto/chain currencies (Bitcoin, Ethereum, EOS, Polkadot, TRON, BSC, Heco, IOST, Cosmos, Binance, BOS, MOAC, and Jingtum) and supports more than 2200 DApps. The private key is stored on your device and protected with multiple layers of encryption.

**Guide to making a Wallet in TokenPocket**

* Smartphone (Guide not available)

If you want to know more about TokenPocket, you can visit the official website, as well as download and install it [here](https://www.tokenpocket.pro/).
{% endtab %}
{% endtabs %}


# Approval Introduction

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL4F6g475qTTJDk3zY%2F-MiL595sppmoReg53ELJ%2F13.%20APPROVAL.svg?alt=media\&token=d6b40e86-6fd8-4214-bdb6-ec10fd6d559b)

**Approval** process is a procedure in transactions, where the protocol asks the user for approval regarding the use of Wallet balances. The procedure runs when the user wants to transact via the LITEDEX protocol. And this procedure only runs during the first time when the user makes a transaction. In LITEDEX itself, this procedure has been implemented in every feature provided. Here's what the approval looks like:‌

1\. **Swap**

![(Before the Approval process)](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBdEthf8pSAg_N2T0O%2F5E8F200B-0C9C-46E0-BBD2-093BC38C5248_1_201_a.jpeg?alt=media\&token=9c838199-1cbf-4571-8e98-2d697c702fa8)

![(After the Approval procedure is done successfully)](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBdScYCVxcBW2Bqpku%2F361B82FE-F83F-4668-919E-2AEE62380059_4_5005_c.jpeg?alt=media\&token=7f6e17db-411c-4570-bbaf-d8d56806f872)

2\. **Liquidity Pool**‌

![(Before the Approval process)](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBdmvUU4WjmU8QPKfP%2FED8A3210-E752-4523-BA9E-DDE825AD2C13_1_105_c.jpeg?alt=media\&token=c69af264-6eda-4ef8-82b1-81a03c580031)

![(Approval process in progress)](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBdugAUTXYkWdr4SWf%2F3179B050-EA0F-49F9-B8C4-FA1C36A4EB6F_1_105_c.jpeg?alt=media\&token=c04bc429-fdf7-47c4-85fc-c6c1b0706508)

3\. **Staking**‌

![(The system will automatically Approve)](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBeZbJk8Im3JH0BaYS%2F51881679-C0A6-40A1-B672-57CABDF45FFE_4_5005_c.jpeg?alt=media\&token=aa29edea-85f2-4b43-a919-fa7130f3b04c)

![(After the Approval process is successful, the system will execute the staking transaction)](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBeFIQzb5S73WRAjea%2F669D2965-B83A-4909-A6D4-B9CF98FC0A77_4_5005_c.jpeg?alt=media\&token=4f33625d-ad14-48fb-a770-55fa72478b16)

4\. **Yield Farming‌**

![(The system will automatically Approve)](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBVhULiN-EToWEEcBl%2F-MhBeZbJk8Im3JH0BaYS%2F51881679-C0A6-40A1-B672-57CABDF45FFE_4_5005_c.jpeg?alt=media\&token=aa29edea-85f2-4b43-a919-fa7130f3b04c)

![(After the Approval process is successful, the system will execute the farming transaction)](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL4F6g475qTTJDk3zY%2F-MiL5jWzi9eCOQYhjN2m%2F2BFD5E74-C164-4627-936F-2A73F41E978D_4_5005_c.jpeg?alt=media\&token=c5d6af52-efba-4841-9f11-15f773a18560)

All approval procedures are carried out through Smart Contracts, which means its in high security. Therefore, LITEDEX ensure that every transaction is really secure.


# How to Add LDX Token

Before adding LDX Token, make sure you have it installed and connected to your wallet. If you haven't installed it, we provide an explanation and steps [here](/get-started/how-to-make-a-wallet).

1\. Visit [app.litedex.io/staking](https://app.litedex.io/staking) website page

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivkjlFxYL2LIf-RbO0%2F-Mivn14ozo5Zdg8eHg1f%2FCC3B4930-9158-4EC6-96D6-128AC0C98BBC_1_105_c.jpeg?alt=media\&token=5fb3593c-3661-4eda-a0b5-8e082564dbac)

2\. Click on the LDX stake line

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivkjlFxYL2LIf-RbO0%2F-Mivn7HqlPEkkJm-wjJL%2F39BE391F-ED65-4CFD-B8B9-C07D7F0113CE_1_201_a.jpeg?alt=media\&token=612b4377-90e7-4f12-9cf5-30abe26a49f0)

and details appear

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivkjlFxYL2LIf-RbO0%2F-MivnASuU3XV_-_AeMsN%2FFA043E96-DC0B-4C2F-BF12-0F807158861F_1_105_c.jpeg?alt=media\&token=9a91c33a-f275-4d17-b414-5ca826e310a3)

3\. Click "Add to Metamask"

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MivkjlFxYL2LIf-RbO0%2F-MivnEP_pKDd8DJkWTys%2F2BF6CE2D-6710-4933-99F9-ABABBC8CE45C_4_5005_c.jpeg?alt=media\&token=358d3c78-2d7f-44cf-8678-e36aab3dadbb)

4\. Confirm on your Metamask Wallet

5\. Done, LDX token is in your Metamask Wallet


# Exchange

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mk5BQ88a5yHakcEOF_L%2F-Mk5Ey4wYO-SuPI1vRIB%2F4.%20DECENTRALIZED%20PROTOCOL.svg?alt=media\&token=ed212f85-bdd2-47f1-9cb2-87854cdd0b6f)

A **decentralized exchange** is a cryptocurrency exchange that utilize smart contract to allow investors to trade between users automatically. Decentralized exchange do not use any third party, centralized authority and do not require personal data to process the transactions. An addition to it, there will be no risk of server downtime as the platform hosting is distributed through nodes and the decentralized exchange system protected from being hack because it is being use in most of the computers in the world.‌

**LITEDEX** is a decentralized protocol that use an Automated Market Maker (AMM) of the Constant Product Market Maker (CPMM) type which is represented by classic functions:‌

**x\*y=c**‌

Where **x** and **y** are defined as reserves of certain assets in the pool and **c** is a constant that cannot be changed. This serves to set the price of the selected token, which means that if the supply of **x** tokens increases, then the supply of **y** tokens decreases to maintain a constant value of **c**. This type of AMM, will always be able to provide liquidity, no matter how large the order sizes or how small the liquidity pool.‌

**Swaps/Trading**‌

Swap allows users to trade or exchange coins in a decentralized manner. All transactions are made through your own Wallet, without any third party owning your coins.‌

**Liquidity Pool**‌

Decentralized exchange only operate if there is sufficient liquidity to support trading, otherwise there is no LP at your disposal. You can provide liquidity with the tokens you placed into the Pool. As a liquidity provider, you will be rewarded in the form of trading fees to ensure there is always liquidity used by the exchange.‌

And some other features that will be discussed by points


# Token Swaps

**Swap Tokens** is a simple way to exchange one token for another via an automated liquidity pool. For example, if you only have USDT Tokens, and you want to own LDX Tokens as the LDX Token is very useful. You have to exchange the tokens from USDT to LDX in the Swap feature. And that applies to other Tokens/Coins. And if you don't find a Token that can be exchanged, for example USDT Token wants to be exchanged for ETH, but is not available in the Swap feature. That means the USDT/ETH Liquidity Pool is yet for avail.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1ZX60Kzz0YwAzKGYN%2F6DBDC1C8-57FE-4700-BA1A-A780D3A3D511_1_105_c.jpeg?alt=media\&token=817a9198-aae0-4c74-81d9-927282a2cd6c)

When you do a token exchange (trade) on an exchange, you will pay a fairly low fee of 0.30%.


# How to Trade

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL4F6g475qTTJDk3zY%2F-MiL61GoGOr54iWa8Yz0%2F7.%20HOW%20TO%20TRADE.svg?alt=media\&token=8fb0ca60-549f-4a37-9e2d-0f6f32333a97)

LITEDEX puts a lot of effort into making trading easy for both novice and experienced users. LITEDEX Team had created an easy to understand interface and teaching the steps on how to use it through the LITEDEX documentation.

**Trading preparation**

Before you make a trade, you must have a Wallet. If you don't have it, you can learn and make it [here ](/get-started/how-to-make-a-wallet)at the same time. And if you already have a Wallet, make sure you again have Tokens to trade.

**Trade on the LITEDEX exchange**

1\. Visit the exchange page [here](https://swap.litedex.io/#/swap)

2\. After visiting the Website, you must connect the Wallet to the LITEDEX platform. Click “Connect to a wallet”.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1hXIAscAbw6m-uqIF%2FB17DF27A-1177-46FA-AE3A-1147C88CDEDA_4_5005_c.jpeg?alt=media\&token=4215be50-39ef-49f8-9664-3a9dbddb0c94)

3\. Select the Token you want to trade from the drop down menu or the down arrow icon in the “From” section. In this tutorial, BSC Coin default settings. Since we are swapping on the BSC Blockchain, if you are using the ETH Blockchain, the default setting is ETH and it changes depending on Blockchain. Even though it is set by default, you can replace it with any Coin you want, for example We use BNB Coin to exchange to LDX Coin (Can be replaced with other coins). Before swapping, make sure your balance is sufficient.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1iTgPwDYBQXR8pawz%2F597046FD-FFC1-498C-8FBE-44A69DA4F97F_1_201_a.jpeg?alt=media\&token=87a37218-67ef-4585-8ff5-7c0582ab5a0f)

4\. Enter the value you want to trade in the “From” section and the BNB-LDX coin conversion will automatically be displayed.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1iu-6N2MoxvXie6Ac%2FA5A92F45-474E-4C67-BA85-19D391C39B9F_1_201_a.jpeg?alt=media\&token=e4594f37-e1a7-4354-9b50-aba8a602b7ea)

And you can estimate the number of Coins you want to exchange by looking at the “To” section which automatically results from the conversion.

5\. After you have entered the amount you need, please double check the details and click the exchange button to process.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1rZ93BPfO4WE2rCQv%2Fswap-anyway.png?alt=media\&token=6403c175-49c4-4462-809b-12520a0e85f2)

6\. And a screen will appear prompting with more details about the transaction. Double check that the details are correct.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1k-gyeBmHoQJd_ol9%2FBD440173-0996-4911-94B6-32C348F6EC53_1_201_a.jpeg?alt=media\&token=af3c130a-c324-437c-9de3-00f53722b6d0)

Once confirm, you can click the "Swap Anyway" button. And the system process with Wallet asking you to confirm the action.

7\. Done! You can click “View on BscScan” to view your transaction details in explorer.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1l69bplrNHZXGpk8S%2F5DFC93C7-F4C3-4CC2-A608-6EE618B42CD4_1_201_a.jpeg?alt=media\&token=7443a121-c42a-439e-a3f3-ba8fa566f218)

**Watch the video below :**

{% embed url="<https://youtu.be/dcqWOfDGbx0>" %}


# Liquidity Pools

**Liquidity Pool** is a smart contract that lock the tokens of its users to ensure the token liquidity on Defi Exchange. Users who use this smart contract are called Liquidity Providers (LP). Liquidity Pool provides a smart contract consisting of two tokens to form a trading pair. For example LDX and USDT, here we assume the price of 1 LDX is 10 USDT. Liquidity Provider (LP) provides the same amount of two tokens, namely 1 LDX and 10 USDT, to create / add to the liquidity pool.


# How to Add & Remove Liquidity

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL4F6g475qTTJDk3zY%2F-MiL697G-HWUGc5mAUn6%2F8.%20HOW%20TO%20ADD%20_%20REMOVE%20LIQUIDITY.svg?alt=media\&token=c0ebb5ab-7bda-41aa-8564-3e7a1a324e13)

In Liquidity, you can add each token pair via the [liquidity ](https://swap.litedex.io/#/swap)page. In return, you will receive trading fees for the token pairs that have been added and receive LP Tokens which you can stake in Yield Farming to earn LDX Token rewards.

### **How to Add Liquidity**

User must provide the selected token pair and enter the number of tokens as desired during the preparation for providing liquidity. If you need to trade for required tokens and You can visit this guide to find out more [How to trade](/products-guide/exchange/how-to-trade).

In this tutorial, we will add liquidity to BNB and LDX tokens.

1\. Visit the[ Liquidity Pool](https://swap.litedex.io/#/pool) page.

2\. Click the "Add Liquidity" button.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2F9KVYZQ31kmkxqlN%2F56316DF2-AE26-4716-A921-CE3B43F7DF66_4_5005_c.jpeg?alt=media\&token=d93e4299-aa68-4fef-a9c3-87249af6f4c4)

3\. Select the token pair that suits you by clicking "Select a token", here we will use BNB and LDX.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh1zTPMJVX-VFgj8lmC%2F0A65B666-BE7F-40CE-AA1B-BFAD94FD9910_1_105_c.jpeg?alt=media\&token=3948fe92-a0f1-45f4-a3d7-ed24d0c5d452)

4\. Enter the amount needed in the BNB section (top) or you can enter it in the LDX section (bottom). If the amount has been entered as desired, you can click "Supply" or if you have never done this, you can understand first about [Approval ](/get-started/approval-introduction)because this is part of transaction security.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh2-jUBQa-sVnKoDMeS%2FEF194B04-548B-4A96-9227-741E421FA2D4_1_105_c.jpeg?alt=media\&token=d83f6f60-0a3d-467f-a0ad-dfd33c65c4f0)

5\. The screen will appear with more details about the transaction. Double check that the details are correct. If correct, you can click "Confirm Supply".

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh208Dv4SChy404omci%2F1725172E-1587-415F-973D-6FE8983A2179_1_201_a.jpeg?alt=media\&token=23c1ec3d-9773-49d1-8cba-d6fc0d253d70)

6\. Wait for the process until your Wallet asks to confirm, click "Confirm".

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh21bRAKtlGn2H76zqM%2F064F2C87-5375-46A4-99F3-18D2407A9EBE_1_201_a.jpeg?alt=media\&token=1f2e4a39-4d0c-4a53-8f4d-376928a40bea)

7\. And your transaction can be checked by clicking "View on Bscscan".

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh2235Nwu4IQxpy_637%2F6847D8C7-4AF6-4AAF-AA75-01A47319830D_1_201_a.jpeg?alt=media\&token=18801b7a-fe6f-4a27-aa50-f78dd7bf5745)

8\. If the transaction process has been successful, you will see your LP balance on this page.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh234RRLUE2ZnW4yw4o%2FD755D3E8-AFB1-4781-812A-650138F87A86_1_201_a.jpeg?alt=media\&token=a0ff3fb1-6ab3-43de-a9f6-dbc92597b5d0)

**Watch the video below :**

{% embed url="<https://youtu.be/H2qlJ6EQp_M>" %}

### **How to Remove Liquidity**

1\. Visit the [Liquidity Pool](https://swap.litedex.io/#/pool) page.

2\. Click "Manage" on the token pair you want to delete.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh25ebYnEIXxdKcYdaw%2FD954EE0D-6F51-4087-A429-1C0C7F67A5B3_1_201_a.jpeg?alt=media\&token=618fef51-853e-407f-9206-a8d28fd3f9f0)

3\. Then click "Remove".

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh2625vCmzERRE66-29%2FD755D3E8-AFB1-4781-812A-650138F87A86_1_201_a.jpeg?alt=media\&token=b43ea1dd-e687-4fae-994d-ab8eecf6c352)

4\. You can adjust the amount you want to delete in the LP. In this stage, 100% of the BNB-LDX token pair will be remove.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh26fUo8lYwB3X0HkJq%2F843F61D1-3974-456C-92F4-B7C85900C279_1_105_c.jpeg?alt=media\&token=9d38f823-5702-4c9d-8f30-98cf51212bca)

5\. Click "Approve" once done. If you are unsure in the Approve stage, we will provide [here](/get-started/approval-introduction).

6\. Your wallet asks for confirmation, click "Confirm".

7\. When the confirmation process is complete, you can click "Remove" to continue.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh2724wyX51gdEwD6tw%2F8ACCEFCD-CB38-4C81-8579-05F1AE9CFE91_1_105_c.jpeg?alt=media\&token=94643d39-1bcf-497b-9799-c3187ad5e567)

8\. A new screen will appear asking for confirmation of this action. Click "Confirm".

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh27QWU04mHPPHJND0L%2F6DA6C8C1-0FDD-438F-A76C-3B9D655BD3DC_1_201_a.jpeg?alt=media\&token=f06c41ca-cc05-4114-8af5-b589207180b7)

9\. And reconfirm your Wallet.

10\. A success notification appears.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh1TmElVDw8pf7WOiUU%2F-Mh27mkV2VVG_bywvYpn%2F120F7744-E1AB-4634-9781-4EB7842AD185_4_5005_c.jpeg?alt=media\&token=e137f29a-b4c8-4aab-b29a-390f0f612c38)


# Staking

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL4F6g475qTTJDk3zY%2F-MiL6G626_4U0cqefIV5%2F3.%20STAKING.svg?alt=media\&token=bb64665d-1e20-4322-8f7c-134510a58560)

**Staking** is the process of locking crypto assets as a form of participation in the maintenance of the Proof-of-Stake system on the Blockchain. Users who have carried out the lock process (Stake) cannot access the locked crypto assets for a predetermined period of time. The result of this process, will be rewarded in the form of crypto assets.


# How to use Staking

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL4F6g475qTTJDk3zY%2F-MiL72gwSRIOzHrqOcTe%2F9.%20HOW%20TO%20STAKING.svg?alt=media\&token=fac342fd-6e17-4609-9afe-cb38cd72c7a4)

In Staking setup, only one token will be needed in order to start earning for rewards. The difference from Farming and Staking is that Farming needs to prepare two tokens to create LP Tokens while Staking only need one token to stake. The difference between the two could be seen in the LITEDEX interface, Farming has two tokens while Staking only with one token.‌‌

**Staking**

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2V7TjLQw1DFyIOKu7%2F626A5980-C2BE-4B30-B5ED-423956603C42_1_201_a.jpeg?alt=media\&token=de97bcf4-8e39-4121-afea-1994ed64f8d6)

**Farming**

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2VBlpiXHKvJX7F73Q%2F43181C1B-A526-4656-991E-A593C41D387C_1_201_a.jpeg?alt=media\&token=e424bed5-91a7-43d1-8c66-2090aa45f5aa)

### **Start Staking** <a href="#start-staking" id="start-staking"></a>

1\. Visit the [Staking](https://app.litedex.io/staking) page.‌

2\. Connect your Wallet with the LITEDEX platform, click “Connect Wallet” at the top right.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2WHg2UjWIekBmiiFY%2FD050B3A2-7C95-4952-AEE4-9BA007058EFF_4_5005_c.jpeg?alt=media\&token=4d127472-552d-4d33-a1c6-5cc7bd27ff4d)

3\. Select the Wallet you use. In here we use Metamask.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2X3SQHlnpRImrJ3TH%2FECAA01A7-4E71-4CB0-AD18-58DA68C83775_1_105_c.jpeg?alt=media\&token=66918dc5-147f-4fbf-a7ef-3b9c3013839f)

4\. Wallet will ask for confirmation to connect.‌

5\. Once Wallet connected, the Connect Wallet button will change to your Address button, for example it looks like this.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2XX9yS_-XKelCS9lo%2F89C43009-FAF6-4614-B50B-5EBA33E6756D_4_5005_c.jpeg?alt=media\&token=4c2b9509-cae1-4b56-9669-adfdc9fec9e7)

6\. Once your Wallet is connected, select the Token you want to stake.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2XoK3UGBpT_p6qP0u%2F626A5980-C2BE-4B30-B5ED-423956603C42_1_201_a.jpeg?alt=media\&token=e522bed6-5c8e-4cc5-93d4-5c814bd62593)

7\. In here we stake LDX tokens, make sure you have the tokens you want to stake.‌

8\. Enter the amount you want to stake. In here we enter **100** LDX then click “Stake”.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2ZxeTMS1LKCg0-Nvf%2F093F8BC6-E51B-455A-9316-DFFA0EC9F986_4_5005_c.jpeg?alt=media\&token=61fe1a04-6502-4679-8fab-8d084c0b5977)

9\. Wallet will ask for confirmation of the action. Confirm first in your Wallet, and wait a moment.‌

10\. Successful.‌

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhJegJ_F45wOj3y9itl%2F-MhJf6U_ksZWr31iaAgL%2FB1DEB526-99BA-40DA-AEDA-F4C16E72DEB7_1_201_a.jpeg?alt=media\&token=832be0fc-2b43-4497-a709-fcc27f2accf8)

**Watch the video below :**

{% embed url="<https://youtu.be/1nCKoDrQwb8>" %}

### **Add or remove Staking.** <a href="#add-or-remove-staking" id="add-or-remove-staking"></a>

If you want to Add, remove and redeem the profit of Staking, it can be easily be done as we will provide the guide to it.‌

#### Remove in Staking <a href="#remove-in-staking" id="remove-in-staking"></a>

1\. In the [Staking](https://app.litedex.io/staking) page, find your Staking place and click on any part of the page to see more details.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2h7ZzxwesqmRtRTUF%2FF706C51A-7461-49F9-BDA9-885FF6D82E6F_1_105_c.jpeg?alt=media\&token=c772c72b-0046-473b-857a-a9b52e5543bb)

2\. On the detail section on the right, click “Remove”.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2cgKU4mgXczVv_uWh%2F1E032DC4-04CC-47AD-8BD4-3DFAFBA50AD8_4_5005_c.jpeg?alt=media\&token=abffcb52-7cbc-439b-aeb0-abe89d7026ef)

3\. In Here we have Balance Staked **100** and want to reduce by **10**. Enter the amount you want to remove, then click “Remove”.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhBpGT1tTlYorOuZtge%2F-MhBxQU0PQI1a78k1JBz%2F56A02CB1-06C4-4A69-ACFE-CBD7A2B22FFD_4_5005_c.jpeg?alt=media\&token=7bc483aa-f8af-43c0-a519-1cffe74d359e)

4\. Wallet will ask for confirmation of the action. Confirm, and wait a moment.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2d9JV3gI5h9aJYVRK%2F653A3544-6CE3-444D-BF59-CFADD7CAA986_4_5005_c.jpeg?alt=media\&token=e18ae51d-5d1e-4602-a253-8ca90ab6b48d)

5\. You have successfully removed Staking. This process automatically takes staked rewards.‌

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhJcXdEyqDfwbjFqDPC%2F-MhJdErD9FiPe2ZDzt3H%2FB1DEB526-99BA-40DA-AEDA-F4C16E72DEB7_1_201_a.jpeg?alt=media\&token=06ee31d9-e7f0-4d56-bec1-2da37bf5808b)

**Watch the video below :**

{% embed url="<https://youtu.be/FGU5Q7zC5Tg>" %}

#### **Add Staking** <a href="#add-staking" id="add-staking"></a>

1\. Visit the [Staking](https://app.litedex.io/staking) page.‌

2\. Find your Staking, and click any part of the page to display the details.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2h7ZzxwesqmRtRTUF%2FF706C51A-7461-49F9-BDA9-885FF6D82E6F_1_105_c.jpeg?alt=media\&token=c772c72b-0046-473b-857a-a9b52e5543bb)

3\. In the detail section on the right, make sure the words “Stake” are in green, which means the condition is active, and vice versa if the words “Remove” are in green.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2jjFHf8cZMWyGWTYz%2F5F9779D8-9221-4693-90E2-90CD708AFE0C_4_5005_c.jpeg?alt=media\&token=f762517d-e0ba-4e23-a24b-0d6c5b8cd756)

4\. Enter the amount you added. In here we want to add **10** LDX. Then click the "Stake" button.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2kE74wvjGJCK8Wlvw%2F4A45F6C2-7CA7-4C3A-B2F4-FD227D705D8F_4_5005_c.jpeg?alt=media\&token=06a1902e-831b-458f-8e94-841ddb5476a2)

5\. Wallet will ask for confirmation of the action. Clicked Confirm.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2kpZeVlYiUwkyDuUX%2F9F0A6E16-654C-43B0-94DA-857BC10B8793_4_5005_c.jpeg?alt=media\&token=e663cda1-07c9-481a-8d5b-71a8e9f2dbe6)

6\. Successful. You have added Stakes.‌

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MhJcXdEyqDfwbjFqDPC%2F-MhJdErD9FiPe2ZDzt3H%2FB1DEB526-99BA-40DA-AEDA-F4C16E72DEB7_1_201_a.jpeg?alt=media\&token=06ee31d9-e7f0-4d56-bec1-2da37bf5808b)

**Watch the video below :**

{% embed url="<https://youtu.be/C5wMLCVx-NE>" %}

#### **To collect profit of Staking** <a href="#to-collect-profit-of-staking" id="to-collect-profit-of-staking"></a>

1\. Visit the [Staking](https://app.litedex.io/staking) page.‌

2\. Find your Staking, and click any part of the page to display the details.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2n_hjisw8ObjwUXye%2FC544A3A9-0EC0-40E8-BF4A-14C0537C9298_1_105_c.jpeg?alt=media\&token=c434a819-e915-4ed7-9bb5-244160be2153)

3\. In the detail section on the right, click “Collect” to collect all Staking rewards.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2nh4n7wdqXAYz_VGq%2FB57576AF-4E75-413F-9EDF-ADBF64612788_4_5005_c.jpeg?alt=media\&token=011dcfa2-bcf1-4ddb-bebf-f3e22de07de1)

4\. Wallet will ask for confirmation of the transaction and wait until the process is complete.‌

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2nxCJN6zaEuoINTzp%2FAEBFC007-42F2-4E4F-BECF-19E3676551CB_4_5005_c.jpeg?alt=media\&token=d756ff9e-593f-44a0-9730-7b4ee3dc3723)

5\. Profit collection successful! You can check your Wallet balance.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2o-BkBvvtFxj6ApoU%2F01218E78-2DBF-40A9-9D21-EAA501B1EE48_4_5005_c.jpeg?alt=media\&token=3649664a-3bcb-48b4-9607-ca8fbca7273d)

**Watch the video below :**

{% embed url="<https://youtu.be/bTQlUvBVSKs>" %}


# Yield Farming

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL4F6g475qTTJDk3zY%2F-MiL78MNbVwnSMCPR2jU%2F5.%20YIELD%20FARMING.svg?alt=media\&token=8f38e046-dccb-471a-9931-2c274764c491)

**Yield Farming** is basically a practice of storing and lending crypto assets, with a process called Liquidity Mining that generate crypto assets (rewards).


# How to use Yield Farming

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MiL4F6g475qTTJDk3zY%2F-MiL7DEeUvZU5At2kwJa%2F10.%20HOW%20TO%20USE%20FARMING.svg?alt=media\&token=f8694982-54c7-4cae-9614-f002de2a01be)

### **Preparation**

Yield Farming require the users to provide token pairs in order to earn the LP Tokens. LP tokens can be traded on Farming to generate LDX token rewards. And to get LP Tokens, you can add them in the Liquidity Pool. If you don't know how to add LP Tokens, you can understand this guide.

### **Choose Farming**

Visit the [Farming](https://app.litedex.io/farming) page and select the token pair you want to farm.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2pf7JSLu5nDE3n4uC%2FEAA1CE68-281D-4E72-AE22-A8D8B84525C9_1_105_c.jpeg?alt=media\&token=fd0ff453-2755-4592-974d-7c244d4ba999)

### **Providing liquidity**

Once you find the LP Tokens to farm, you need to add the liquidity to get the desired LP Tokens.

1\. After you visit the [Farming](https://app.litedex.io/farming) Website, connect your Wallet with the LITEDEX platform, click "Connect Wallet" at the top right.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2pxEhxu9_wJIkWTXa%2F9024066D-28C7-4737-9D03-71AFF50583B6_4_5005_c.jpeg?alt=media\&token=ddf2691e-e5ce-4c23-b3c2-52cce47d86e2)

2\. Select the Wallet that you use. In here, we use Metamask.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2uR_BpQX8VLZSyR22%2F155E4CAE-4686-47F9-B6C9-AD9CBA5D0546_1_105_c.jpeg?alt=media\&token=adca44b3-e507-4b3d-9369-8d59f5ae6a8e)

Then confirm your Wallet to connect to the LITEDEX platform.

3\. Once Wallet is connected, the Connect Wallet button will change to your Address button, for example it looks like this.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2uf5W-YkKyPgS78ne%2F89C43009-FAF6-4614-B50B-5EBA33E6756D_4_5005_c.jpeg?alt=media\&token=3af6eac0-11f4-423b-9d81-b8273b086667)

4\. Once the Wallet is connected, you can click the Farming row to view more details. For example, here we will choose the LDX-BNB token pair.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2vCafj59rtdTS8AGl%2F85B51AB8-9FE1-4165-AECD-46885E88202E_1_201_a.jpeg?alt=media\&token=855f49a4-494d-429f-b9c8-db21c766e8e3)

5\. In more detailed view, you will see several links. Click “Get LDX-BNB LP” on the left.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2wffJqQ9mC4pHhEOx%2F2E9B4822-D6D3-4709-8C0D-44E282E6E5EF_1_105_c.jpeg?alt=media\&token=51017043-e227-491b-8453-e69fe8aeab48)

6\. And the Add Liquidity page will open a new page for your selected token pair.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh2xtt7TbdIHLjiO8yR%2FBD7E2B36-BDE7-40F0-993A-9C1DA22B22A2_1_105_c.jpeg?alt=media\&token=6563d57e-8cfb-4148-a731-20c370915843)

**Watch the video below :**

{% embed url="<https://youtu.be/ha3eh69o6HE>" %}

If you need a guide on how to add liquidity, you can follow the [**How to Add & Remove Liquidity**](/products-guide/exchange/how-to-add-and-remove-liquidity) guide and customize it with your chosen token pair.

### **Putting LP Tokens into the Farm**

In the previous tutorial, we assumed you have Added Liquidity or already have a pair of LP Tokens.

1\. On the [Farming](https://app.litedex.io/farming) page, you can place the LP Token according to the LP Token line you have. Here we have previously owned LDX-BNB LP Tokens. Click anywhere on the line that represents your token pair.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh3-9D0T2tYv5Lk8w0z%2FC2D1385F-0068-47E3-A0A2-F0AEB0F1DF4E_1_105_c.jpeg?alt=media\&token=0f59adbc-cf94-41da-b37e-984181f4eba1)

2\. Enter the number of LP Tokens in the detail section on the right.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh3-P92pzm2RyDRdur6%2FACFBECFE-EB24-4FD2-BC67-89C80672647F_4_5005_c.jpeg?alt=media\&token=4b1889cb-e11b-47f5-87d8-494e1c93d064)

If you have entered the amount, you can click “Farm” to execute.

3\. And your Wallet will ask for confirmation of the transaction.

4\. Done! You have successfully Farm.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh3-fIBZ2ZMMU5Qquqg%2F6F23379F-CF1E-471B-91C8-A5AFA44B2A56_1_201_a.jpeg?alt=media\&token=b939a7bf-4098-46ef-b008-f00fcf497886)

**Watch the video below :**

{% embed url="<https://youtu.be/NgfI94H-OQc>" %}

### **Add or remove LP Tokens from Farming**

If you want to add, delete, reducing and withdraw from Farming, it can be easily done.

#### **Removing LP Tokens**

1\. On the [Farming](https://app.litedex.io/farming) page, search for the Farm where you have the LP Token, and click on any row to see more details.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh31n_vkSWa86Mb3SFh%2F6C6FF250-CBC6-4743-A371-DB4AD352A0B3_1_105_c.jpeg?alt=media\&token=f91672b3-48ea-4a93-9082-38e0ad25028d)

2\. In the detail section on the right, click “Remove”.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh3289j6uDTR8WdHUMR%2F46639A2E-0FA2-4660-A915-F688F8C70E7E_4_5005_c.jpeg?alt=media\&token=b626d275-5a07-4da7-8ee4-d279124832a8)

3\. Here we have Balance LP **6.362** and need to reduce by **1**. Enter the amount you want to reduce, then click “Remove”.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh32jALLUsEddvqNS_2%2F5E3C4F1B-64C8-4F40-8A40-59C4432EE574_4_5005_c.jpeg?alt=media\&token=2bfd6da5-165a-483e-bd4f-c87cff4151f7)

4\. Your wallet will ask for confirmation of the transaction. Wait for a moment until your LP balance decreases as what you have entered. Here our balance is initially **6.362** and was reduced by **1**, after the transaction completed. Our LP balance became **5.362** which means the transaction was successful. If you have released your LP Tokens, all unharvested rewards will be automatically collected.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh345mYveqq4_EfmLF8%2F52C39D19-7B3E-456A-9E40-815C86348DB7_4_5005_c.jpeg?alt=media\&token=ed86891d-fa54-431b-ab53-7b15454e9096)

**Watch the video below :**

{% embed url="<https://youtu.be/jST0VG3k2JM>" %}

#### **Adding LP Token**

1\. On the [Farming](https://app.litedex.io/farming) page, locate the Farm where you have the LP Token, and click on any row to see more details.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh35EEmNi2mV4rc5fw-%2F9EAD80EF-2A99-4E1F-AEE0-1B1F3EBF67A7_1_105_c.jpeg?alt=media\&token=43ce0263-0d87-4ecc-877d-c28cf4d0045c)

2\. In the detail section on the right, ensure the words "Farm" are in green, which means the condition is active, and vice versa if the words "Remove" are in green too.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh35dH6rET66vKF-Ywr%2F0356D7FE-8827-4AFC-9CB5-657F7D7F6C6E_4_5005_c.jpeg?alt=media\&token=47edc7ca-774c-4b89-93fa-eafe677d1f42)

3\. Enter the amount you need. In here for example we need to add 10 Balance LP. Then click "Farm".

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh35HL3IxL-N9wMkx26%2F75CBF201-8FD6-412C-BE26-241B5DC20C22_4_5005_c.jpeg?alt=media\&token=2befd0e4-11a0-4dee-ad3b-b677235aa24a)

4\. And Wallet will then ask for your confirmation.

5\. Transaction successful.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh36imvQyvEMUBXltsb%2F9DFFD30C-31AC-4050-A407-45BA91E30800_1_201_a.jpeg?alt=media\&token=e5536496-643b-46f2-bc32-d9f567b8d0e9)

**Watch the video below :**

{% embed url="<https://youtu.be/vcA_eKmFC48>" %}

#### **Redeem Profit**

1\. Visit the [Farming](https://app.litedex.io/farming) page.

2\. Find your Farming, and click on any part of the page to display the details.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh36XG9uyIym9MvMrhz%2FAEFAE284-6D49-41FB-B1D4-F696ACF5000A_1_105_c.jpeg?alt=media\&token=c0073f0a-b191-44cc-95a2-a85ee7f4044f)

3\. In the detail section on the right, click “Harvest” to collect all Farming rewards.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh36xHCFm-XP_n6HfQ3%2FD7B4FE2E-FC76-453A-ABEB-9815ED165D5C_4_5005_c.jpeg?alt=media\&token=2b18ed47-94d7-4be6-8e48-012ad4d8f69d)

4\. Wallet will ask for confirmation of the transaction and wait till the process to complete.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh379BXpPQj2sJzkuVW%2F678038EB-8A97-4F84-B626-9E8C280560B4_4_5005_c.jpeg?alt=media\&token=6212283b-a32b-4510-b82c-8d23e2948b10)

5\. Profit collection successful! You can check your Wallet for balance.

![](https://gblobscdn.gitbook.com/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mh2DdTJRJSE6iZORIeM%2F-Mh37NgFN_5Zik52Mdna%2F3CE1B41E-3FF2-4375-BD82-AB149639089C_4_5005_c.jpeg?alt=media\&token=6e8d144b-de78-4cdd-bb8c-88e049e7429b)

**Watch the video below :**

{% embed url="<https://youtu.be/IP7v5189_Y0>" %}


# Analytics (Info)

**Analytic** work as a provider of information in the form of charts or data recorded in the Blockchain. The data contains transaction volume per day, Total Liquidity, Top Token, Top Pair and others. This is an accurate information in a decentralized protocol as it is directly integrated with the Blockchain. You can visit LITEDEX Analytics [here](https://info.litedex.io/).

![Litedex Analytics](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mk5BQ88a5yHakcEOF_L%2F-Mk5E1F6gohJUlUWhFMa%2F2A212A38-1D95-4D11-9C87-ABFCDE8C3B62_1_105_c.jpeg?alt=media\&token=0ec8cb13-7611-4a2d-8a9f-01c33da25a3b)

{% hint style="info" %}
Please check our [API Docs](/developers/technical-reference/api) for integration with the Litedex Analytics data.
{% endhint %}


# Lending

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mk5BQ88a5yHakcEOF_L%2F-Mk5EL5mpa_--jPXzkOd%2F16.%20LENDING.svg?alt=media\&token=ec5359a6-feb5-4392-bfef-949ff1b854ba)

**Lending** is a decentralized lending service that operates as a protocol without the need to do KYC, crypto holders can lend on the platform to earn passive income from their holdings through interest fees paid by borrowers.


# Borrowing

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mk5BQ88a5yHakcEOF_L%2F-Mk5EiI7lPNYXffj1Eqf%2F17.%20BORROWING.svg?alt=media\&token=54114a58-466f-46b3-80ab-8070c60c2129)

**Borrowing** is a decentralized borrowing service that operates as a protocol without the need to do KYC, crypto holders can borrow and pledge their crypto to get double profit from the increase in the price of the borrowed coin and the collateralized coin.


# Non-Fungible Token (NFT)

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mk5BQ88a5yHakcEOF_L%2F-Mk5Em0pTP3fuAr8Pgwl%2F18.%20NFT.svg?alt=media\&token=3de7b88b-c593-48fa-bfb5-53cc452d71ee)

**Non-Fungible Token (NFT)** is a crypto asset or digitized version of a real asset on the blockchain network, having a unique metadata identification code and non-exchangeable token. Due to its unique nature, NFT cannot be duplicated. And utilized by the artists, musicians, and the property developer.

**LITEDEX NFT Marketplace**

LITEDEX NFT Marketplace is a marketplace that trades digital forms of art collections and real estate. The first LITEDEX NFT Marketplace is built on the Binance Smart Chain blockchain and is gradually building on the popular blockchains that have been adopted.

**Art Collection NFT**

Art Collection NFT is a digital artwork that has become a Non-fungible Token (NFT). LITEDEX's own goal is to inspire artists to create their own work and expand their work in the wider NFT market.

**Real Estate NFT**

Real Estate NFT is property in the form of land and buildings in digital/visual form. LITEDEX's goal is to introduce the power of blockchain technology to innovate in the real estate industry.


# Bridge

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mk5BQ88a5yHakcEOF_L%2F-Mk5EpyU8z7QR6JrThov%2F19.%20BRIDGE.svg?alt=media\&token=054c29c8-ab7c-40b0-b7de-b6f845101727)

**Bridge** is a link between blockchain that improve interoperability across blockchain. With the bridge, users can transfer crypto assets from different blockchain networks and support conversion (cross-chain).


# Mainnet & Testnet Network

### Mainnet Network

**Mainnet Network** is the original and functional blockchain network where the actual transactions take place in the distributed ledger and the real cryptocurrencies have real economic value in other words, mainnet refers to the actual open-source blockchain itself which is publicly verifiable.

### Testnet Network

**Testnet Network** is an alternative blockchain Network to be used for testing. The testnet coins are different from the real coins and do not have any value. This allows app developers or testers to experiment without having to use real Coins or worrying about breaking the main blockchain chain.


# Switch Network

### ETH Network

Before moving the mainnet network to testnet, make sure you have installed the metamask wallet. If you haven't installed it yet, we have provided tutorials and explanations [here](/get-started/how-to-make-a-wallet).

1\. Visit the [app.litedex.io](https://app.litedex.io) website page

2\. Click the "Connect to Wallet" button at the top right.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mivh_Gzrs86gCNnPZpt%2F-Mivi0h0W02iFBXOMAxs%2F81D7C582-BF51-4C54-B551-D7BDE99A81AB_4_5005_c.jpeg?alt=media\&token=3d9e46b9-95d3-4bb2-b06c-ba473acecefa)

3\. The website shows a pop up containing a list of wallets, click "metamask" Wallets.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mivh_Gzrs86gCNnPZpt%2F-MiviDbOKniawqmL8iDy%2F0777BB92-DD99-459B-9591-639C543643D5_1_105_c.jpeg?alt=media\&token=4e6e2120-40cc-4961-b8f3-c7b5e54e9be2)

4\. Wait a few moments until the top right button displays your address.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mivh_Gzrs86gCNnPZpt%2F-MiviJBxj-w0Y3zEtxR-%2FD5276DCC-736F-4D32-9E48-FF0135B41B0C_4_5005_c.jpeg?alt=media\&token=a394aa34-5704-4205-a4ce-924ed28fd9a6)

5\. Pay attention to this button, if your position is on the mainnet, click the testnet button.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjXEA7QcfekLhXOwkNs%2F-MjXGkA6GNcohx_roPgq%2FAB178446-611A-441C-8894-33FED21AF0C8_4_5005_c.jpeg?alt=media\&token=b49a9554-2aba-4e44-a9dd-b70958b9c57d)

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjXEA7QcfekLhXOwkNs%2F-MjXGn43zPw88FkX-NXy%2F10D06BA6-3A7F-494E-88E4-7D5AF0D8A92A_4_5005_c.jpeg?alt=media\&token=1f0895e5-a67c-408c-9e3d-de993ea32eb2)

6\. And click the ETH button.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjXEA7QcfekLhXOwkNs%2F-MjXGpf_FLOk3kmPbdek%2FD56D148A-BE58-44D6-8648-825388EE675B_4_5005_c.jpeg?alt=media\&token=303a291b-ccde-470f-af2d-71401f6ebf20)

7\. ETH network switching was successful.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjXEA7QcfekLhXOwkNs%2F-MjXH0halIPDWb0W-cx2%2F294E0A0B-B1C6-460E-B7E5-BCA3B586E56C_1_105_c.jpeg?alt=media\&token=09bddda3-3795-479a-99e3-1f4bcab3fb03)

**Watch the video below :**

{% embed url="<https://youtu.be/5ONCYg8BLco>" %}

### BSC Network

Before moving the mainnet network to testnet, make sure you have installed the metamask wallet. If you haven't installed it yet, we have provided tutorials and explanations [here](/get-started/how-to-make-a-wallet).

1\. Visit the [app.litedex.io](https://app.litedex.io) website page

2\. Click the "Connect to Wallet" button at the top right.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mivh_Gzrs86gCNnPZpt%2F-Mivi_3fiw_xWGds1flx%2F81D7C582-BF51-4C54-B551-D7BDE99A81AB_4_5005_c.jpeg?alt=media\&token=8f1ee7dc-9ed3-495d-ae1c-5e9e14e63b3e)

3\. The website shows a pop up containing a list of wallets, click "metamask" Wallets.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mivh_Gzrs86gCNnPZpt%2F-MiviezIaaRv2QvdH_Oq%2F0777BB92-DD99-459B-9591-639C543643D5_1_105_c.jpeg?alt=media\&token=35fdb0df-1f7f-4c4b-ac45-899ef706548a)

4\. Wait a few moments until the top right button displays your address.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mivh_Gzrs86gCNnPZpt%2F-MivihsXF_8oSNQ8maRW%2FD5276DCC-736F-4D32-9E48-FF0135B41B0C_4_5005_c.jpeg?alt=media\&token=b3dd39c9-f8a6-457c-9fe2-1cb1183baff7)

5\. Pay attention to this button, if your position is on the mainnet, click the testnet button.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjXEA7QcfekLhXOwkNs%2F-MjXH4Gt261OsdEDJL_z%2FAB178446-611A-441C-8894-33FED21AF0C8_4_5005_c.jpeg?alt=media\&token=863ae53e-c9f1-48b1-8bd3-07f4e6dec86f)

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjXEA7QcfekLhXOwkNs%2F-MjXH6VKsHYy2E4yECg_%2F10D06BA6-3A7F-494E-88E4-7D5AF0D8A92A_4_5005_c.jpeg?alt=media\&token=cb64280a-fefa-4e30-92d9-0dd00d9a3010)

6\. And click the BSC button.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjXEA7QcfekLhXOwkNs%2F-MjXH90v2aoAngVR4ERG%2FD56D148A-BE58-44D6-8648-825388EE675B_4_5005_c.jpeg?alt=media\&token=72b3da8d-8317-4a73-8b89-17f6d134ea6d)

7\. BSC network switching was successful.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-MjXEA7QcfekLhXOwkNs%2F-MjXHEflyuPkeS7K-55n%2FB11AAEE5-C1EB-4D25-8D0E-64C24FDF0E9A_1_105_c.jpeg?alt=media\&token=5b387421-47f7-480d-9183-dde1a8da3d42)


# Faucet Introduction

**Faucet** is a web-based service that provides free coins to testnet users who want to run features or transaction fees. This coin allows users to experiment with features, without issuing mainnet cryptocurrencies. Users will see a coin with the terms and amount specified by each blockchain (BSC, ETH).


# How to Claim Faucet

### ETH Faucet Claim (Rinkeby)

**Preparation**

Before making claims faucet, you should install metamask wallet and make sure the network is in the ETH testnet (Rinkeby) and has a twitter account.

**Starting a ETH faucet claim**

1\. Visit [app.litedex.io](https://app.litedex.io) page

2\. Click the "Claim Faucet" button

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mj3v3jVxCLP1mM5g2be%2F-Mj3w7EEE0YebDOvleya%2F9C3EDE5C-9287-44C2-B9B5-86DCF1B28D76_4_5005_c.jpeg?alt=media\&token=a9e6aa59-9dfd-42b0-bf4c-27bf66cd27b4)

3\. The website displays a pop-up and click on "Claim Now"

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mj3v3jVxCLP1mM5g2be%2F-Mj3xA_N5_smHT8MlUf7%2FB9F789E4-A3CD-4E74-80D2-465B96833068_1_201_a.jpeg?alt=media\&token=e56441ee-399d-4baa-935d-afad10bccce1)

4\. A new tab appears and displays the Rinkeby faucet page.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mivh_Gzrs86gCNnPZpt%2F-MivjbRaD8nlssdqF6P7%2F54043853-E8A1-4A65-8ECF-70CEFE74CA4C_1_105_c.jpeg?alt=media\&token=90ab92b1-6bb2-4dc8-bf6b-d93c66270518)

5\. Copy your Wallet address and paste it into your twitter account.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mivh_Gzrs86gCNnPZpt%2F-MivjgmIIC_zu4GySuq-%2FABE28C4E-97C1-40E9-B253-392EDBE87083_1_201_a.jpeg?alt=media\&token=26604693-c539-4ff3-9aed-82e296c141ac)

6\. Copy the URL of the tweet and paste it into the input of the Rinkeby faucet website page, click the "Give me Ether" button, select the amount of ether you want.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mivh_Gzrs86gCNnPZpt%2F-Mivjl98fqLxVEp2wEo2%2F8162B7A4-84BA-4E2B-AC90-8EAD17A3A315_1_201_a.jpeg?alt=media\&token=5429e666-855a-4628-9ccb-d8af7c203451)

7\. Check balances in your metamask

**Watch the video below :**

{% embed url="<https://youtu.be/iLP0hP_NCmM>" %}

### BSC Faucet Claim

**Preparation**

Before making a faucet claim, you have to install the metamask wallet and make sure the network is in the BSC.

**Starting a BSC faucet claim**

1\. Visit [app.litedex.io](https://app.litedex.io/) page

2\. Click the “Claim Faucet” button

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mj3v3jVxCLP1mM5g2be%2F-Mj3xLxl6nN_RLcrv88J%2F9C3EDE5C-9287-44C2-B9B5-86DCF1B28D76_4_5005_c.jpeg?alt=media\&token=7f8afdb2-d40b-424b-ae1b-788f857056b3)

3\. The website displays a pop up and click “Claim Now”

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mj3v3jVxCLP1mM5g2be%2F-Mj3xOoyC71VfeVoQ9O3%2FB9F789E4-A3CD-4E74-80D2-465B96833068_1_201_a.jpeg?alt=media\&token=969d5622-c60f-4ebf-892b-3e5422a44e8d)

4\. A new tab appears showing faucet input

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mivh_Gzrs86gCNnPZpt%2F-Mivk-lAYLHinHM_VCyS%2F54B3E016-2895-4675-9875-5C705C63D4C5_1_105_c.jpeg?alt=media\&token=9c67f2fb-78aa-426a-b03c-ee3b92da7d88)

5\. Copy your Wallet address, paste it into the faucet input and click the “Give me BNB” button.

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2F-Mivh_Gzrs86gCNnPZpt%2F-MivkXK8jAIwZcN60BCy%2F8C6FF5C5-9CE4-48C4-BBD4-E871EC45BE2B_1_105_c.jpeg?alt=media\&token=3477cb3b-e205-4f92-8c8f-474887a3e8c2)

6\. Wait for the BNB coin delivery process to your address

7\. And check your wallet balance

**Watch the video below :**

{% embed url="<https://youtu.be/18IwcQ_Wl64>" %}


# LDX

**LDX tokens** are tokens that provide additional benefits or rights to the token owner known also as (Hodler). Crypto asset traders, usually present on decentralized or centralized exchanges to encourage exchange adoption. The token benefits offered to token holders may vary depending on the exchange that affect the exchange's operations.


# Old Tokenomics

Litedex have 2 mechanism of create emission supply :

1. Initial Total Supply
2. Block Emission for DeFi Ecosystem

| **Mechanism**                        | **Emission Rate (LDX)** |
| ------------------------------------ | ----------------------: |
| Initial Total Supply                 |             500.000.000 |
| Block Emission                       |           \~210.240.000 |
| **Total Emission at the First Year** |           \~710.240.000 |

The more information about **Initial Total Supply** and **Block Emission** are informed in the next section.

## Initial Total Supply

The Initial Supply of Litedex's platform (LDX) is about 500 million tokens, the initial token supply is used to build an ecosystem, partnership, etc which will be used for several purposes as follows :&#x20;

| **Section**              | % of Total Supply |      Size (LDX) |                                                                               Description |
| ------------------------ | ----------------- | --------------: | ----------------------------------------------------------------------------------------: |
| Private Sale             | 18.00 %           |      90.000.000 |                                                                            Early Investor |
| Public Sale              | 12.00 %           |      60.000.000 |                                                                           ICO - IEO - IDO |
| Research & Development   | 10.00 %           |      50.000.000 | <p>Unlocked in 1 month after </p><p>platform launched and </p><p>lasts for 5 months  </p> |
| Partnership & Ecosystem  | 30.00 %           |     150.000.000 |    Provide for Partnership & Ecosystem (Liquidity Allocation, Strategic Partnership, etc) |
| Foundation               | 24.00 %           |     120.000.000 |     <p>Unlocked in 1 year after</p><p>platform launched and</p><p>lasts for 12 months</p> |
| Bug Bounty Program       | 2.00 %            |      10.000.000 |                                             <p>Provide to make </p><p>a better system</p> |
| Smart Contract Insurance | 2.00 %            |      10.000.000 |                                                        Mitigation Risk Control Management |
| Community Airdrop        | 2.00 %            |      10.000.000 |                                                <p>Provide to Litedex </p><p>Community</p> |
| **Total Supply**         | **100.00 %**      | **500.000.000** |                                                         **Provide to Build an Ecosystem** |

## Emission Rate

| **Metric**             | **Emission/block (LDX)** | **Emission/day (LDX)** |
| ---------------------- | -----------------------: | ---------------------: |
| Emission               |             20 per block |      \~376.000 per day |
| **Effective Emission** |         **20 per block** |  **\~376.000 per day** |

In addition to the above, a dynamic amount of LDX is also minted at a rate of 9.09%. This means that if 100 LDX are harvested, then 9.09 LDX is minted in addition and will be burned.

**However, all LDX minted is burned directly after harvesting** **and never enters circulation. As such, we have not included it in the above emission rate.**

## Distribution

| **Distribute to**        | <p><strong>Reward/block (% of</strong> </p><p><strong>emission)</strong></p> | <p><strong>Reward/block</strong> </p><p><strong>(LDX)</strong></p> | <p><strong>Reward/day</strong> </p><p><strong>(LDX)</strong></p> |
| ------------------------ | ---------------------------------------------------------------------------: | -----------------------------------------------------------------: | ---------------------------------------------------------------: |
| Staking                  |                                                                          40% |                                                                  8 |                                                        \~150.400 |
| Farming                  |                                                                          60% |                                                                 12 |                                                        \~225.600 |
| **Total Daily Emission** |                                                                              |                                                                    |                                                    **\~376.000** |

## **Other Deflationary Mechanism** <a href="#other-deflationary-mechanics" id="other-deflationary-mechanics"></a>

At present, LDX is also burned in the following ways:

* **9.09%** of LDX after **Yield Farm harvesting**
* **100%** of LDX raised in **ILOs**
* **100%** of LDX spent on **NFT Merchant Creation**&#x20;
* **2%** of every yield harvest in the **Auto Stake Compounding**
* **2%** of every yield harvest in the **Auto Yield Compounding**
* **100%** of LDX raised in **Burning Phase Competition**
* **1%** of LDX raised in every **NFT Transaction**&#x20;

{% hint style="info" %}
This documentation can be updated anytime.
{% endhint %}


# Current Tokenomics

## Considerations

Because we want to maintain the circulation supply to be optimal, we want to drop **The** **Emission Rate Supply**. Please check about the [Old Tokenomics](/tokenomics/ldx/tokenomics) for the information.

## Initial Total Supply

The Initial Supply of Litedex (LDX) is about 500 million tokens, the initial token supply is used to build ecosystem, strategic partnership, etc which will be used for several purposes as follows :&#x20;

| **Section**              | % of Total Supply |      Size (LDX) |                                                                               Description |
| ------------------------ | ----------------- | --------------: | ----------------------------------------------------------------------------------------: |
| Private Sale             | 18.00 %           |      90.000.000 |                                                                            Early Investor |
| Public Sale              | 12.00 %           |      60.000.000 |                                                                           ICO - IEO - IDO |
| Research & Development   | 10.00 %           |      50.000.000 | <p>Unlocked in 1 month after </p><p>platform launched and </p><p>lasts for 5 months  </p> |
| Partnership & Ecosystem  | 30.00 %           |     150.000.000 |    Provide for Partnership & Ecosystem (Liquidity Allocation, Strategic Partnership, etc) |
| Foundation               | 24.00 %           |     120.000.000 |     <p>Unlocked in 1 year after</p><p>platform launched and</p><p>lasts for 12 months</p> |
| Bug Bounty Program       | 2.00 %            |      10.000.000 |                                             <p>Provide to make </p><p>a better system</p> |
| Smart Contract Insurance | 2.00 %            |      10.000.000 |                                                        Mitigation Risk Control Management |
| Community Airdrop        | 2.00 %            |      10.000.000 |                                                <p>Provide to Litedex </p><p>Community</p> |
| **Total Supply**         | **100.00 %**      | **500.000.000** |                                                         **Provide to Build an Ecosystem** |

## **Deflationary Mechanism** <a href="#other-deflationary-mechanics" id="other-deflationary-mechanics"></a>

At present, LDX is also burned in the following ways:

* **100%** of LDX raised in **Wednesday Burning Phase**

At future, LDX will be burned in the following ways:

* **Staking Aggregator**
* **Dex Aggregator (Router Upgrade)**
* **Auto Compounding Stake**
* **Auto Compounding Farm**
* **Partnership**
* **Token Factory**
* **Initial Launchpad Offering**


# Overview

Welcome to the Litedex docs.

The pages here contain conceptual and technical documentation of the Litedex protocol.

If you are new to Litedex, you might want to check out the [Introduction](/) first.

You can also take a look at Litedex Protocol [Whitepaper](https://litedex.io/upload/documents/Litedex-Whitepaper-EN-Latest.pdf).

## Developer links

The Litedex protocol is access one repositories

* [`litedex-core`](https://github.com/Litedex-Protocol/litedex-core)


# Technical Reference

{% content-ref url="/pages/qiNgXm5idyqkXh9Bnrw0" %}
[API](/developers/technical-reference/api)
{% endcontent-ref %}

{% content-ref url="/pages/-Mgsaw9M4MN-lQhcESiN" %}
[Smart Contract](/developers/technical-reference/smart-contract)
{% endcontent-ref %}


# API

This section explains the Litedex Subgraph and how to interact with it. The Litedex subgraph indexes data from the Litedex contracts over time. It organizes data about pairs, tokens, Litedex as a whole, and more. The subgraph updates any time a transaction is made on Litedex. The subgraph runs on [The Graph](https://thegraph.com/) protocol's hosted service and can be openly queried.

{% content-ref url="/pages/qhsJNzF7ynRQnYlsaXsI" %}
[API Overview](/developers/technical-reference/api/api-overview)
{% endcontent-ref %}

{% content-ref url="/pages/zsy1Q4pOLxo7zFQziEEI" %}
[Entities](/developers/technical-reference/api/entities)
{% endcontent-ref %}

{% content-ref url="/pages/K5pfHLukgukaVPrrPt58" %}
[Queries](/developers/technical-reference/api/queries)
{% endcontent-ref %}


# API Overview

This section explains the Litedex Subgraph and how to interact with it. The Litedex subgraph indexes data from the Litedex contracts over time. It organizes data about pairs, tokens, Litedex as a whole, and more. The subgraph updates any time a transaction is made on Litedex. The subgraph runs on [The Graph](https://thegraph.com/) protocol's hosted service and can be openly queried.

### Resources[​](https://docs.uniswap.org/contracts/v2/reference/API/overview#resources) <a href="#resources" id="resources"></a>

[`Subgraph Explorer`](https://thegraph.com/hosted-service/subgraph/jieeevest/litedex-data) - sandbox for querying data and endpoints for developers.

[`Litedex Subgraph`](https://api.thegraph.com/subgraphs/name/jieeevest/litedex-data) - endpoint for deployed subgraph.

### Usage[​](https://docs.uniswap.org/contracts/v2/reference/API/overview#usage) <a href="#usage" id="usage"></a>

The subgraph provides a snapshot of the current state of Litedex and also tracks historical data. It will be used to power [`Litedex info`](https://info.litedex.io). **It is not intended to be used as a data source for structuring transactions (contracts should be referenced directly for the most reliable live data).**

### Making Queries[​](https://docs.uniswap.org/contracts/v2/reference/API/overview#making-queries) <a href="#making-queries" id="making-queries"></a>

To learn more about querying a subgraph refer to [The Graph's documentation](https://thegraph.com/docs/about/introduction).


# Entities

Entities define the schema of the subgraph, and represent the data that can be queried. Within each entity are sets of fields that store useful information related to the entity. Below is a list of the available entities within the Litedex Subgraph, and descriptions for the available fields.

To see an interactive sandbox of all entities see the [Litedex Graph Explorer](https://thegraph.com/hosted-service/subgraph/jieeevest/litedex-data).

Each entity is defined with a value type, which will always be a base AssemblyScript type, or a custom type provided by The Graph's custom TypeScript library.

#### Prod Factory[​](https://docs.uniswap.org/contracts/v2/reference/API/entities#uniswap-factory) <a href="#uniswap-factory" id="uniswap-factory"></a>

The Prod Factory entity is responsible for storing aggregate information across all Litedex pairs. It can be used to view stats about total liquidity, volume, amount of pairs and more. There is only one prodFactory entity in the subgraph.

| Field Name        | Value Type | Description                                                     |
| ----------------- | ---------- | --------------------------------------------------------------- |
| id                | ID         | factory address                                                 |
| totalPairs        | BigInt     | amount of pairs created by the Litedex factory                  |
| totalVolumeUSD    | BigDecimal | all time USD volume across all pairs (USD is derived)           |
| totalVolumeBNB    | BigDecimal | all time volume in BNB across all pairs (BNB is derived)        |
| totalLiquidityUSD | BigDecimal | total liquidity across all pairs stored as a derived USD amount |
| totalLiquidityBNB | BigDecimal | total liquidity across all pairs stored as a derived BNB amount |
| totalTransactions | BigInt     | all time amount of transactions across all pairs                |

#### Token[​](https://docs.uniswap.org/contracts/v2/reference/API/entities#token) <a href="#token" id="token"></a>

Stores aggregated information for a specific token across all pairs that token is included in.

| Field Name         | Value Type | Description                                                                                                  |
| ------------------ | ---------- | ------------------------------------------------------------------------------------------------------------ |
| id                 | ID         | token address                                                                                                |
| symbol             | String     | token symbol                                                                                                 |
| name               | String     | token name                                                                                                   |
| decimals           | BigInt     | token decimals                                                                                               |
| tradeVolume        | BigDecimal | amount of token traded all time across all pairs                                                             |
| tradeVolumeUSD     | BigDecimal | amount of token in USD traded all time across pairs (only for tokens with liquidity above minimum threshold) |
| untrackedVolumeUSD | BigDecimal | amount of token in USD traded all time across pairs (no minimum liquidity threshold)                         |
| totalTransactions  | BigInt     | amount of transactions all time in pairs including token                                                     |
| totalLiquidity     | BigDecimal | total amount of token provided as liquidity across all pairs                                                 |
| derivedBNB         | BigDecimal | BNB per token                                                                                                |
| derivedUSD         | BigDecimal | USD per token                                                                                                |

#### Pair[​](https://docs.uniswap.org/contracts/v2/reference/API/entities#pair) <a href="#pair" id="pair"></a>

Information about a pair. Includes references to each token within the pair, volume information, liquidity information, and more. The pair entity mirrors the pair smart contract, and also contains aggregated information about use.

| Field Name         | Value Type | Description                                                                                                         |
| ------------------ | ---------- | ------------------------------------------------------------------------------------------------------------------- |
| id                 | ID         | pair contract address                                                                                               |
| name               | String     | name of pair                                                                                                        |
| token0             | Token      | reference to token0 as stored in pair contract                                                                      |
| token1             | Token      | reference to token1 as stored in pair contract                                                                      |
| reserve0           | BigDecimal | reserve of token0                                                                                                   |
| reserve1           | BigDecimal | reserve of token1                                                                                                   |
| totalSupply        | BigDecimal | total supply of liquidity token distributed to LPs                                                                  |
| reserveBNB         | BigDecimal | total liquidity in pair stored as an amount of BNB                                                                  |
| reserveUSD         | BigDecimal | total liquidity amount in pair stored as an amount of USD                                                           |
| trackedReserveBNB  | BigDecimal | total liquidity with only tracked amount (see tracked amounts)                                                      |
| token0Price        | BigDecimal | token0 per token1                                                                                                   |
| token1Price        | BigDecimal | token1 per token0                                                                                                   |
| volumeToken0       | BigDecimal | amount of token0 swapped on this pair                                                                               |
| volumeToken1       | BigDecimal | amount of token1 swapped on this pair                                                                               |
| volumeUSD          | BigDecimal | total amount swapped all time in this pair stored in USD (only tracked if USD liquidity is above minimum threshold) |
| untrackedVolumeUSD | BigDecimal | total amount swapped all time in this pair stored in USD, no minimum liquidity threshold                            |
| totalTransactions  | BigInt     | all time amount of transactions on this pair                                                                        |
| timestamp          | BigInt     | timestamp contract was created                                                                                      |
| block              | BigInt     | BSC block contract was created                                                                                      |

#### Transaction[​](https://docs.uniswap.org/contracts/v2/reference/API/entities#transaction) <a href="#transaction" id="transaction"></a>

Transaction entities are created for each BNB transaction that contains an interaction within Litedex contracts. This subgraph tracks Mint, Burn, and Swap events on the Litedex core contracts. Each transaction contains 3 arrays, and at least one of these arrays has a length of 1.

| Field Name | Value Type | Description                                               |
| ---------- | ---------- | --------------------------------------------------------- |
| id         | ID         | BSC transaction hash                                      |
| block      | BigInt     | block transaction was mined in                            |
| timestamp  | BigInt     | timestamp for transaction                                 |
| mints      | \[Mint]    | array of Mint events within the transaction, 0 or greater |
| burns      | \[Burn]    | array of Burn events within transaction, 0 or greater     |
| swaps      | \[Swap]    | array of Swap events within transaction, 0 or greater     |

#### Mint[​](https://docs.uniswap.org/contracts/v2/reference/API/entities#mint) <a href="#mint" id="mint"></a>

Mint entities are created for every emitted Mint event on the Litedex core contracts. The Mint entity stores key data about the event like token amounts, who sent the transaction, who received the liquidity, and more. This entity can be used to track liquidity provisions on pairs.

| Field Name   | Value Type  | Description                                                 |
| ------------ | ----------- | ----------------------------------------------------------- |
| id           | ID          | Transaction hash plus index in the transaction mint array   |
| transaction  | Transaction | reference to the transaction Mint was included in           |
| timestamp    | BigInt      | timestamp of Mint, used to sort recent liquidity provisions |
| pair         | Pair        | reference to pair                                           |
| to           | Bytes       | recipient of liquidity tokens                               |
| liquidity    | BigDecimal  | amount of liquidity tokens minted                           |
| sender       | Bytes       | address that initiated the liquidity provision              |
| amount0      | BigDecimal  | amount of token0 provided                                   |
| amount1      | BigDecimal  | amount of token1 provided                                   |
| logIndex     | BigInt      | index in the transaction event was emitted                  |
| amountUSD    | BigDecimal  | derived USD value of token0 amount plus token1 amount       |
| feeTo        | Bytes       | address of fee recipient (if fee is on)                     |
| feeLiquidity | BigDecimal  | amount of liquidity sent to fee recipient (if fee is on)    |

#### Burn[​](https://docs.uniswap.org/contracts/v2/reference/API/entities#burn) <a href="#burn" id="burn"></a>

Burn entities are created for every emitted Burn event on the Litedex core contracts. The Burn entity stores key data about the event like token amounts, who burned LP tokens, who received tokens, and more. This entity can be used to track liquidity removals on pairs.

| Field Name   | Value Type  | Description                                               |
| ------------ | ----------- | --------------------------------------------------------- |
| id           | ID          | Transaction hash plus index in the transaction burn array |
| transaction  | Transaction | reference to the transaction Burn was included in         |
| timestamp    | BigInt      | timestamp of Burn, used to sort recent liquidity removals |
| pair         | Pair        | reference to pair                                         |
| to           | Bytes       | recipient of tokens                                       |
| liquidity    | BigDecimal  | amount of liquidity tokens burned                         |
| sender       | Bytes       | address that initiated the liquidity removal              |
| amount0      | BigDecimal  | amount of token0 removed                                  |
| amount1      | BigDecimal  | amount of token1 removed                                  |
| logIndex     | BigInt      | index in the transaction event was emitted                |
| amountUSD    | BigDecimal  | derived USD value of token0 amount plus token1 amount     |
| feeTo        | Bytes       | address of fee recipient (if fee is on)                   |
| feeLiquidity | BigDecimal  | amount of tokens sent to fee recipient (if fee is on)     |

#### Swap[​](https://docs.uniswap.org/contracts/v2/reference/API/entities#swap) <a href="#swap" id="swap"></a>

Swap entities are created for each token swap within a pair. The Swap entity can be used to get things like swap size (in tokens and USD), sender, recipient and more. See the Swap overview page for more information on amounts.

| Field Name  | Value Type  | Description                                           |
| ----------- | ----------- | ----------------------------------------------------- |
| id          | ID          | transaction hash plus index in Transaction swap array |
| transaction | Transaction | reference to transaction swap was included in         |
| timestamp   | BigInt      | timestamp of swap, used for sorted lookups            |
| pair        | Pair        | reference to pair                                     |
| sender      | Bytes       | address that initiated the swap                       |
| amount0In   | BigDecimal  | amount of token0 sold                                 |
| amount1In   | BigDecimal  | amount of token1 sold                                 |
| amount0Out  | BigDecimal  | amount of token0 received                             |
| amount1Out  | BigDecimal  | amount of token1 received                             |
| to          | Bytes       | recipient of output tokens                            |
| logIndex    | BigInt      | event index within transaction                        |
| amountUSD   | BigDecimal  | derived amount of tokens sold in USD                  |

#### Bundle[​](https://docs.uniswap.org/contracts/v2/reference/API/entities#bundle) <a href="#bundle" id="bundle"></a>

The Bundle is used as a global store of derived BNB price in USD. Because there is no guaranteed common base token across pairs, a global reference of USD price is useful for deriving other USD values. The Bundle entity stores an updated weighted average of BNB<->Stablecoin pair prices. This provides a strong estimate for the USD price of BNB that can be used in other places in the subgraph.

| Field Name | Value Type | Description                                           |
| ---------- | ---------- | ----------------------------------------------------- |
| id         | ID         | constant 1                                            |
| bnbPrice   | BigDecimal | derived price of BNB in USD based on stablecoin pairs |

### Historical Entities[​](https://docs.uniswap.org/contracts/v2/reference/API/entities#historical-entities) <a href="#historical-entities" id="historical-entities"></a>

The subgraph tracks aggregated information grouped by days to provide insights to daily activity on BNB. These entities can be used to query things like total volume on a given day, price of a token on a given day, etc.

For each DayData type, a new entity is created each day.

#### ProdDayData[​](https://docs.uniswap.org/contracts/v2/reference/API/entities#uniswapdaydata) <a href="#uniswapdaydata" id="uniswapdaydata"></a>

Tracks data across all pairs aggregated into a daily bucket.

| Field Name        | Value Type | Description                                                                  |
| ----------------- | ---------- | ---------------------------------------------------------------------------- |
| id                | ID         | unix timestamp for start of day / 86400 giving a unique day index            |
| date              | Int        | unix timestamp for start of day                                              |
| dailyVolumeBNB    | BigDecimal | total volume across all pairs on this day, stored as a derived amount of BNB |
| dailyVolumeUSD    | BigDecimal | total volume across all pairs on this day, stored as a derived amount of USD |
| totalVolumeBNB    | BigDecimal | all time volume across all pairs in BNB up to and including this day         |
| totalLiquidityBNB | BigDecimal | total liquidity across all pairs in BNB up to and including this day         |
| totalVolumeUSD    | BigDecimal | all time volume across all pairs in USD up to and including this day         |
| totalLiquidityUSD | BigDecimal | total liquidity across all pairs in USD up to and including this day         |
| totalTransactions | BigInt     | number of transactions throughout this day                                   |

#### PairDayData[​](https://docs.uniswap.org/contracts/v2/reference/API/entities#pair-day-data) <a href="#pair-day-data" id="pair-day-data"></a>

Tracks pair data across each day.

| Field Name        | Value Type | Description                                                                                     |
| ----------------- | ---------- | ----------------------------------------------------------------------------------------------- |
| id                | ID         | pair contract address and day id (day start timestamp in unix / 86400) concatenated with a dash |
| date              | Int        | unix timestamp for start of day                                                                 |
| pairAddress       | Bytes      | address for pair contract                                                                       |
| token0            | Token      | reference to token0                                                                             |
| token1            | Token      | reference to token1                                                                             |
| reserve0          | BigDecimal | reserve of token0 (updated during each transaction on pair)                                     |
| reserve1          | BigDecimal | reserve of token1 (updated during each transaction on pair)                                     |
| totalSupply       | BigDecimal | total supply of liquidity token distributed to LPs                                              |
| reserveUSD        | BigDecimal | reserve of token0 plus token1 stored as a derived USD amount                                    |
| dailyVolumeToken0 | BigDecimal | total amount of token0 swapped throughout day                                                   |
| dailyVolumeToken1 | BigDecimal | total amount of token1 swapped throughout day                                                   |
| dailyVolumeUSD    | BigDecimal | total volume within pair throughout day                                                         |
| dailyTxns         | BigInt     | amount of transactions on pair throughout day                                                   |

#### TokenDayData[​](https://docs.uniswap.org/contracts/v2/reference/API/entities#tokendaydata) <a href="#tokendaydata" id="tokendaydata"></a>

Tracks token data aggregated across all pairs that include token.

| Field Name          | Value Type | Description                                                                               |
| ------------------- | ---------- | ----------------------------------------------------------------------------------------- |
| id                  | ID         | token address and day id (day start timestamp in unix / 86400) concatenated with a dash   |
| date                | Int        | unix timestamp for start of day                                                           |
| token               | Token      | reference to token entity                                                                 |
| dailyVolumeToken    | BigDecimal | amount of token swapped across all pairs throughout day                                   |
| dailyVolumeBNB      | BigDecimal | amount of token swapped across all pairs throughout day stored as a derived amount of BNB |
| dailyVolumeUSD      | BigDecimal | amount of token swapped across all pairs throughout day stored as a derived amount of USD |
| dailyTxns           | BigInt     | amount of transactions with this token across all pairs                                   |
| totalLiquidityToken | BigDecimal | token amount of token deposited across all pairs                                          |
| totalLiquidityBNB   | BigDecimal | token amount of token deposited across all pairs stored as amount of BNB                  |
| totalLiquidityUSD   | BigDecimal | token amount of token deposited across all pairs stored as amount of USD                  |
| priceUSD            | BigDecimal | price of token in derived USD                                                             |


# Queries

The subgraph can be queried to retrieve important information about Litedex, pairs, tokens, transactions, and more. This page will provide examples for common queries.

To try these queries and run your own visit the [subgraph sandbox](https://thegraph.com/hosted-service/subgraph/jieeevest/litedex-data).

#### Global Data[​](https://docs.uniswap.org/contracts/v2/reference/API/queries#global-data) <a href="#global-data" id="global-data"></a>

To query global data you can pass in the Litedex Factory address and select from available fields.

**Global Stats**[**​**](https://docs.uniswap.org/contracts/v2/reference/API/queries#global-stats)

All time volume in USD, total liquidity in USD, all time transaction count.

```
{
  prodFactory(id: "0x716d94d0b70f5a50133a61c12d37309dad93bab4") {
    totalVolumeUSD
   	totalLiquidityUSD
   	totalTransactions
  }
}
```

#### Pair Data[​](https://docs.uniswap.org/contracts/v2/reference/API/queries#pair-data) <a href="#pair-data" id="pair-data"></a>

**Pair Overview**[**​**](https://docs.uniswap.org/contracts/v2/reference/API/queries#pair-overview)

Fetch a snapshot of the current state of the pair with common values. This example fetches the LDX/BUSD pair.

```
{
 pair(id: "0x07150f8394d5d533700758f081db1cdf519052dc"){
     token0 {
       id
       symbol
       name
       derivedUSD
     }
     token1 {
       id
       symbol
       name
       derivedUSD
     }
     reserve0
     reserve1
     reserveUSD
     trackedReserveBNB
     token0Price
     token1Price
     volumeUSD
     totalTransactions
 }
}
```

**All pairs in Litedex**[**​**](https://docs.uniswap.org/contracts/v2/reference/API/queries#all-pairs-in-uniswap)

The Graph limits entity return amounts to 1000 per query as of now. To get all pairs on Uniswap use a loop and graphql skip query to fetch multiple chunks of 1000 pairs. The query would look like this (where skip is some incrementing variable passed into your query).

```
{
 query pairs($skip: Int!) {
   pairs(first: 1000, skip: $skip) {
     id
   }
 }
}
```

**Most liquid pairs**[**​**](https://docs.uniswap.org/contracts/v2/reference/API/queries#most-liquid-pairs)

Order by liquidity to get the most liquid pairs in Uniswap.

```
{
 pairs(first: 1000, orderBy: reserveUSD, orderDirection: desc) {
   id
 }
}
```

**Recent Swaps within a Pair**[**​**](https://docs.uniswap.org/contracts/v2/reference/API/queries#recent-swaps-within-a-pair)

Get the last 100 swaps on a pair by fetching Swap events and passing in the pair address. You'll often want token information as well.

```
{
swaps(orderBy: timestamp, orderDirection: desc, where:
 { pair: "0x07150f8394d5d533700758f081db1cdf519052dc" }
) {
     pair {
       token0 {
         symbol
       }
       token1 {
         symbol
       }
     }
     amount0In
     amount0Out
     amount1In
     amount1Out
     amountUSD
     to
 }
}
```

**Pair Daily Aggregated**[**​**](https://docs.uniswap.org/contracts/v2/reference/API/queries#pair-daily-aggregated)

Day data is useful for building charts and historical views around entities. To get stats about a pair in daily buckets query for day entities bounded by timestamps. This query gets the first 100 days after the given unix timestamp on the LDX/BUSD pair.

```
{
 pairDayDatas(first: 100, orderBy: date, orderDirection: asc,
   where: {
     pairAddress: "0x07150f8394d5d533700758f081db1cdf519052dc",
     date_gt: 1669939100
   }
 ) {
     date
     dailyVolumeToken0
     dailyVolumeToken1
     dailyVolumeUSD
     reserveUSD
 }
}
```

#### Token Data[​](https://docs.uniswap.org/contracts/v2/reference/API/queries#token-data) <a href="#token-data" id="token-data"></a>

Token data can be fetched using the token contract address as an ID. Token data is aggregated across all pairs the token is included in. Any token that is included in some pair in Litedex can be queried.

**Token Overview**[**​**](https://docs.uniswap.org/contracts/v2/reference/API/queries#token-overview)

Get a snapshot of the current stats on a token in Litedex. This query fetches current stats on LDX. The allPairs field gets the first 200 pairs LDX is included in sorted by liquidity in derived USD.

```
{
 token(id: "0x8286387174b8667ae5222306a27e9ab5189b503b"){
   name
   symbol
   decimals
   derivedUSD
   tradeVolumeUSD
   totalLiquidity
 }
}
```

**All Tokens in Litedex**[**​**](https://docs.uniswap.org/contracts/v2/reference/API/queries#all-tokens-in-uniswap)

Similar to fetching all pairs (see above), you can query all tokens in Litedex. Because The Graph service limits return size to 1000 entities use GraphQL skip query. (Note this query will not work in the graph sandbox and more resembles the structure of a query you'd pass to some GraphQL middleware like [Apollo](https://www.apollographql.com/)).

```
{
 query tokens($skip: Int!) {
   tokens(first: 1000, skip: $skip) {
     id
     name
     symbol
   }
 }
}
```

**Token Transactions**[**​**](https://docs.uniswap.org/contracts/v2/reference/API/queries#token-transactions)

To get transactions that include a token you'll need to first fetch an array of pairs that the token is included in (this can be done with the allPairs field on the Token entity.) Once you have an array of pairs the token is included in, filter on that in the transaction lookup.

This query fetches the latest 30 mints, swaps, and burns involving LDX. The allPairs array could look something like this where we include the LDX/BUSD pair address.

```
allPairs = [
 "0x07150f8394d5d533700758f081db1cdf519052dc"
]
```

```
query($allPairs: [String!]) {
 mints(first: 30, where: { pair_in: $allPairs }, orderBy: timestamp, orderDirection: desc) {
   transaction {
     id
     timestamp
   }
   to
   liquidity
   amount0
   amount1
   amountUSD
 }
 burns(first: 30, where: { pair_in: $allPairs }, orderBy: timestamp, orderDirection: desc) {
   transaction {
     id
     timestamp
   }
   to
   liquidity
   amount0
   amount1
   amountUSD
 }
 swaps(first: 30, where: { pair_in: $allPairs }, orderBy: timestamp, orderDirection: desc) {
   transaction {
     id
     timestamp
   }
   amount0In
   amount0Out
   amount1In
   amount1Out
   amountUSD
   to
 }
}
```

**Token Daily Aggregated**[**​**](https://docs.uniswap.org/contracts/v2/reference/API/queries#token-daily-aggregated)

Like pair and global daily lookups, tokens have daily entities that can be queries as well. This query gets daily information for LDX. Note that you may want to sort in ascending order to receive your days from oldest to most recent in the return array.

```
{
 tokenDayDatas(orderBy: date, orderDirection: asc,
  where: {
    token: "0x8286387174b8667ae5222306a27e9ab5189b503b"
  }
 ) {
    id
    date
    priceUSD
    totalLiquidityToken
    totalLiquidityUSD
    totalLiquidityBNB
    dailyVolumeBNB
    dailyVolumeToken
    dailyVolumeUSD
 }
}
```

#### BNB Price[​](https://docs.uniswap.org/contracts/v2/reference/API/queries#eth-price) <a href="#eth-price" id="eth-price"></a>

You can use the Bundle entity to query current USD price of BNB in Litedex based on a weighted average of stablecoins.

```
{
 bundle(id: "1" ) {
   bnbPrice
 }
}
```


# Smart Contract

![](https://1169826231-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Mfq-xr1Ba1zZ4TSvXC0%2Fsync%2F9885095ebd004751fc5b9779a217ec2449a293bf.svg?generation=1631091117505943\&alt=media)

Smart contracts are simply programs stored on a blockchain that run when predetermined conditions are met. They typically are used to automate the execution of an agreement so that all participants can be immediately certain of the outcome, without any intermediary’s involvement or time loss. They can also automate a workflow, triggering the next action when conditions are met.

## Main contracts

The following links will take you to each block scanner page for Litedex's main smart contracts.

**BSC Mainnet**

* **Ticker:** LDX&#x20;
* **Name:** Litedex
* **Decimals :** 18
* **Contract Address:** [0x8286387174B8667AE5222306A27e9ab5189b503b](https://bscscan.com/token/0x8286387174B8667AE5222306A27e9ab5189b503b)
* **Network:** Binance Smart Chain (BEP20)&#x20;


# Exchange

Token swaps in Litedex are a simple way to trade one BEP-20 token for another.

For end-users, swapping is intuitive: a user picks an input token and an output token. They specify an input amount, and the protocol calculates how much of the output token they’ll receive. They then execute the swap with one click, receiving the output token in their wallet immediately.

In this guide, we’ll look at what happens during a swap at the protocol level in order to gain a deeper understanding of how Uniswap works.

Swaps in Litedex are different from trades on traditional platforms. Litedex does not use an order book to represent liquidity or determine prices. Litedex uses an automated market maker mechanism to provide instant feedback on rates and slippage.


# Factory

## Contract Information

**Contract name:** LitedexFactory\
**Contract address:** 0x716d94d0b70f5a50133a61c12d37309dad93bab4

View the Litedex: [Factory Contract on Bscscan](https://bscscan.com/address/0x716d94d0b70f5a50133a61c12d37309dad93bab4).

## Read functions

### getPair

```
function getPair(address tokenA, address tokenB) external view returns (address pair);
```

Address for `tokenA` and address for `tokenB` return address of pair contract (where one exists).

`tokenA` and `tokenB` order is interchangeable.

Returns `0x0000000000000000000000000000000000000000` as address where no pair exists.

### allPairs

```
function allPairs(uint) external view returns (address pair);
```

Returns the address of the `n`th pair (`0`-indexed) created through the Factory contract.

Returns `0x0000000000000000000000000000000000000000` where pair has not yet been created.

Begins at `0` for first created pair.

### allPairsLength

```
function allPairsLength() external view returns (uint);
```

Displays the current number of pairs created through the Factory contract as an integer.

### feeTo

```
function feeTo() external view returns (address);
```

The address to where non-LP-holder fees are sent.

### feeToSetter

```
function feeToSetter() external view returns (address);
```

The address with permission to set the feeTo address.

## Write functions

### createPair

```
function createPair(address tokenA, address tokenB) external returns (address pair);
```

Creates a pair for `tokenA` and `tokenB` where a pair doesn't already exist.

`tokenA` and `tokenB` order is interchangeable.

Emits `PairCreated` (see Events).

### setFeeTo

```
function setFeeTo(address) external;
```

Sets address for `feeTo`.

### setFeeToSetter

```
function setFeeToSetter(address) external;
```

Sets address for permission to adjust `feeTo`.

## Events

### PairCreated

```
event PairCreated(address indexed token0, address indexed token1, address pair, uint);
```

Emitted whenever a `createPair` creates a new pair.

`token0` will appear before `token1` in sort order.

The final `uint` log value will be `1` for the first pair created, `2` for the second, etc.

## Interface

```
pragma solidity =0.5.16;


interface ILitedexFactory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}
```


# Router

## Contract info

**Contract name:** LitedexRouter\
**Contract address:** 0x2813203479c8d52a0a7bf4620b9325a753fda9f8

View the Litedex: [Router Contract on Bscscan](https://bscscan.com/address/0x2813203479c8d52a0a7bf4620b9325a753fda9f8).

## Read functions

### WETH

```
function WETH() external pure returns (address);
```

Returns the canonical address for [WBNB token](https://bscscan.com/address/0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c) (WBNB being a vestige from BNB network origins).

### factory

```
function factory() external pure returns (address);
```

Returns the canonical address for [LitedexFactory](https://bscscan.com/address/0x716d94d0b70f5a50133a61c12d37309dad93bab4).

### getAmountOut

```
function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) internal pure returns (uint amountOut);
```

### getAmountIn

```
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) internal pure returns (uint amountIn);
```

### getAmountsOut

```
function getAmountsOut(uint amountIn, address[] memory path) internal view returns (uint[] memory amounts);
```

### getAmountsIn

```
function getAmountsOut(uint amountIn, address[] memory path) internal view returns (uint[] memory amounts);
```

### quote

```
function quote(uint amountA, uint reserveA, uint reserveB) internal pure returns (uint amountB);
```

## Write functions

### addLiquidity

```
function addLiquidity(
  address tokenA,
  address tokenB,
  uint amountADesired,
  uint amountBDesired,
  uint amountAMin,
  uint amountBMin,
  address to,
  uint deadline
) external returns (uint amountA, uint amountB, uint liquidity);
```

Adds liquidity to a BEP20⇄BEP20 pool.

| Name           | Type      | Description                                                       |
| -------------- | --------- | ----------------------------------------------------------------- |
| tokenA         | `address` | The contract address of one token from your liquidity pair.       |
| tokenB         | `address` | The contract address of the other token from your liquidity pair. |
| amountADesired | `uint`    | The amount of tokenA you'd like to provide as liquidity.          |
| amountBDesired | `uint`    | The amount of tokenB you'd like to provide as liquidity.          |
| amountAMin     | `uint`    | The minimum amount of tokenA to provide (slippage impact).        |
| amountBMin     | `uint`    | The minimum amount of tokenB to provide (slippage impact).        |
| to             | `address` | Address of LP Token recipient.                                    |
| deadline       | `uint`    | Unix timestamp deadline by which the transaction must confirm.    |

### addLiquidityETH

```
function addLiquidityETH(
  address token,
  uint amountTokenDesired,
  uint amountTokenMin,
  uint amountETHMin,
  address to,
  uint deadline
) external payable returns (uint amountToken, uint amountETH, uint liquidity);
```

Adds liquidity to a BEP20⇄WBNB pool.

| Name               | Type      |                                                                |
| ------------------ | --------- | -------------------------------------------------------------- |
| addLiquidityETH    | `uint`    | The payable amount in BNB.                                     |
| token              | `address` | The contract address of the token to add liquidity.            |
| amountTokenDesired | `uint`    | The amount of the token you'd like to provide as liquidity.    |
| amountTokenMin     | `uint`    | The minimum amount of the token to provide (slippage impact).  |
| amountETHMin       | `uint`    | The minimum amount of BNB to provide (slippage impact).        |
| to                 | `address` | Address of LP Token recipient.                                 |
| deadline           | `uint`    | Unix timestamp deadline by which the transaction must confirm. |

### removeLiquidity

```
function removeLiquidity(
  address tokenA,
  address tokenB,
  uint liquidity,
  uint amountAMin,
  uint amountBMin,
  address to,
  uint deadline
) external returns (uint amountA, uint amountB);
```

Removes liquidity from a BEP20⇄BEP20 pool.

| Name       | Type      |                                                                   |
| ---------- | --------- | ----------------------------------------------------------------- |
| tokenA     | `address` | The contract address of one token from your liquidity pair.       |
| tokenB     | `address` | The contract address of the other token from your liquidity pair. |
| liquidity  | `uint`    | The amount of LP Tokens to remove.                                |
| amountAMin | `uint`    | The minimum amount of tokenA to remove (slippage impact).         |
| amountBMin | `uint`    | The minimum amount of tokenB to remove (slippage impact).         |
| to         | `address` | Address of LP Token recipient.                                    |
| deadline   | `uint`    | Unix timestamp deadline by which the transaction must confirm.    |

### removeLiquidityETH

```
function removeLiquidityETH(
  address token,
  uint liquidity,
  uint amountTokenMin,
  uint amountETHMin,
  address to,
  uint deadline
) external returns (uint amountToken, uint amountETH);
```

Removes liquidity from a BEP20⇄WBNB pool.

| Name           | Type      |                                                                |
| -------------- | --------- | -------------------------------------------------------------- |
| token          | `address` | The contract address of the token to remove liquidity.         |
| liquidity      | `uint`    | The amount of LP Tokens to remove.                             |
| amountTokenMin | `uint`    | The minimum amount of the token to remove (slippage impact).   |
| amountETHMin   | `uint`    | The minimum amount of BNB to remove (slippage impact).         |
| to             | `address` | Address of LP Token recipient.                                 |
| deadline       | `uint`    | Unix timestamp deadline by which the transaction must confirm. |

### removeLiquidityETHSupportingFeeOnTransferTokens

```
function removeLiquidityETHSupportingFeeOnTransferTokens(
  address token,
  uint liquidity,
  uint amountTokenMin,
  uint amountETHMin,
  address to,
  uint deadline
) external returns (uint amountETH);
```

Removes liquidity from a BEP20⇄WBNB for tokens that take a fee on transfer.

| Name           | Type      |                                                                |
| -------------- | --------- | -------------------------------------------------------------- |
| token          | `address` | The contract address of the token to remove liquidity.         |
| liquidity      | `uint`    | The amount of LP Tokens to remove.                             |
| amountTokenMin | `uint`    | The minimum amount of the token to remove (slippage impact).   |
| amountETHMin   | `uint`    | The minimum amount of BNB to remove (slippage impact).         |
| to             | `address` | Address of LP Token recipient.                                 |
| deadline       | `uint`    | Unix timestamp deadline by which the transaction must confirm. |

### removeLiquidityETHWithPermit

```
function removeLiquidityETHWithPermit(
  address token,
  uint liquidity,
  uint amountTokenMin,
  uint amountETHMin,
  address to,
  uint deadline,
  bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountToken, uint amountETH);
```

Removes liquidity from a BEP20⇄WBNB and receives BNB, without pre-approval, via permit.

| Name           | Type      |                                                                                     |
| -------------- | --------- | ----------------------------------------------------------------------------------- |
| token          | `address` | The contract address of the token to remove liquidity.                              |
| liquidity      | `uint`    | The amount of LP Tokens to remove.                                                  |
| amountTokenMin | `uint`    | The minimum amount of the token to remove (slippage impact).                        |
| amountETHMin   | `uint`    | The minimum amount of BNB to remove (slippage impact).                              |
| to             | `address` | Address of LP Token recipient.                                                      |
| deadline       | `uint`    | Unix timestamp deadline by which the transaction must confirm.                      |
| approveMax     | `bool`    | Whether or not the approval amount in the signature is for liquidity or `uint(-1)`. |
| v              | `uint8`   | The v component of the permit signature.                                            |
| r              | `bytes32` | The r component of the permit signature.                                            |
| s              | `bytes32` | The s component of the permit signature.                                            |

### removeLiquidityETHWithPermitSupportingFeeOnTransferTokens

```
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
  address token,
  uint liquidity,
  uint amountTokenMin,
  uint amountETHMin,
  address to,
  uint deadline,
  bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountETH);
```

Removes liquidity from a BEP20⇄WBNB and receives BNB via permit for tokens that take a fee on transfer.

| Name           | Type      |                                                                                     |
| -------------- | --------- | ----------------------------------------------------------------------------------- |
| token          | `address` | The contract address of the token to remove liquidity.                              |
| liquidity      | `uint`    | The amount of LP Tokens to remove.                                                  |
| amountTokenMin | `uint`    | The minimum amount of the token to remove (slippage impact).                        |
| amountETHMin   | `uint`    | The minimum amount of BNB to remove (slippage impact).                              |
| to             | `address` | Address of LP Token recipient.                                                      |
| deadline       | `uint`    | Unix timestamp deadline by which the transaction must confirm.                      |
| approveMax     | `bool`    | Whether or not the approval amount in the signature is for liquidity or `uint(-1)`. |
| v              | `uint8`   | The v component of the permit signature.                                            |
| r              | `bytes32` | The r component of the permit signature.                                            |
| s              | `bytes32` | The s component of the permit signature.                                            |

### removeLiquidityWithPermit

```
function removeLiquidityWithPermit(
  address tokenA,
  address tokenB,
  uint liquidity,
  uint amountAMin,
  uint amountBMin,
  address to,
  uint deadline,
  bool approveMax, uint8 v, bytes32 r, bytes32 s
) external returns (uint amountA, uint amountB);
```

Removes liquidity from a BEP20⇄BEP20, without pre-approval, via permit.

| Name           | Type      |                                                                                     |
| -------------- | --------- | ----------------------------------------------------------------------------------- |
| tokenA         | `address` | The contract address of one token from your liquidity pair.                         |
| tokenB         | `address` | The contract address of the other token from your liquidity pair.                   |
| liquidity      | `uint`    | The amount of LP Tokens to remove.                                                  |
| amountTokenMin | `uint`    | The minimum amount of the token to remove (slippage impact).                        |
| amountETHMin   | `uint`    | The minimum amount of BNB to remove (slippage impact).                              |
| to             | `address` | Address of LP Token recipient.                                                      |
| deadline       | `uint`    | Unix timestamp deadline by which the transaction must confirm.                      |
| approveMax     | `bool`    | Whether or not the approval amount in the signature is for liquidity or `uint(-1)`. |
| v              | `uint8`   | The v component of the permit signature.                                            |
| r              | `bytes32` | The r component of the permit signature.                                            |
| s              | `bytes32` | The s component of the permit signature.                                            |

### swapETHForExactTokens

```
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
  external
  payable
  returns (uint[] memory amounts);
```

Receive an exact amount of output tokens for as little BNB as possible.

| Name                  | Type      |                                                                                                                                      |
| --------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| swapETHForExactTokens | `uint`    | Payable BNB amount.                                                                                                                  |
| amountOut             | `uint`    | The amount tokens to receive.                                                                                                        |
| path (address\[])     | `address` | An array of token addresses. `path.length` must be >= 2. Pools for each consecutive pair of addresses must exist and have liquidity. |
| to                    | `address` | Address of recipient.                                                                                                                |
| deadline              | `uint`    | Unix timestamp deadline by which the transaction must confirm.                                                                       |

### swapExactETHForTokens

```
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
  external
  payable
  returns (uint[] memory amounts);
```

Receive an as many output tokens as possible for an exact amount of BNB.

| Name                  | Type      |                                                                                                                                      |
| --------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| swapExactETHForTokens | `uint`    | Payable BNB amount.                                                                                                                  |
| amountOutMin          | `uint`    | The minimum amount tokens to receive.                                                                                                |
| path (address\[])     | `address` | An array of token addresses. `path.length` must be >= 2. Pools for each consecutive pair of addresses must exist and have liquidity. |
| to                    | `address` | Address of recipient.                                                                                                                |
| deadline              | `uint`    | Unix timestamp deadline by which the transaction must confirm.                                                                       |

### swapExactETHForTokensSupportingFeeOnTransferTokens

```
function swapExactETHForTokensSupportingFeeOnTransferTokens(
  uint amountOutMin,
  address[] calldata path,
  address to,
  uint deadline
) external payable;
```

Receive an as many output tokens as possible for an exact amount of BNB. Supports tokens that take a fee on transfer.

| Name                                               | Type      |                                                                                                                                      |
| -------------------------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| swapExactETHForTokensSupportingFeeOnTransferTokens | `uint`    | Payable BNB amount.                                                                                                                  |
| amountOutMin                                       | `uint`    | The minimum amount tokens to receive.                                                                                                |
| path (address\[])                                  | `address` | An array of token addresses. `path.length` must be >= 2. Pools for each consecutive pair of addresses must exist and have liquidity. |
| to                                                 | `address` | Address of recipient.                                                                                                                |
| deadline                                           | `uint`    | Unix timestamp deadline by which the transaction must confirm.                                                                       |

### swapExactTokensForETH

```
function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
  external
  returns (uint[] memory amounts);
```

Receive an as much BNB as possible for an exact amount of input tokens.

| Name              | Type      |                                                                                                                                      |
| ----------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| amountIn          | `uint`    | Payable amount of input tokens.                                                                                                      |
| amountOutMin      | `uint`    | The minimum amount tokens to receive.                                                                                                |
| path (address\[]) | `address` | An array of token addresses. `path.length` must be >= 2. Pools for each consecutive pair of addresses must exist and have liquidity. |
| to                | `address` | Address of recipient.                                                                                                                |
| deadline          | `uint`    | Unix timestamp deadline by which the transaction must confirm.                                                                       |

### swapExactTokensForETHSupportingFeeOnTransferTokens

```
function swapExactTokensForETHSupportingFeeOnTransferTokens(
  uint amountIn,
  uint amountOutMin,
  address[] calldata path,
  address to,
  uint deadline
) external;
```

Receive an as much BNB as possible for an exact amount of tokens. Supports tokens that take a fee on transfer.

| Name              | Type      |                                                                                                                                      |
| ----------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| amountIn          | `uint`    | Payable amount of input tokens.                                                                                                      |
| amountOutMin      | `uint`    | The minimum amount tokens to receive.                                                                                                |
| path (address\[]) | `address` | An array of token addresses. `path.length` must be >= 2. Pools for each consecutive pair of addresses must exist and have liquidity. |
| to                | `address` | Address of recipient.                                                                                                                |
| deadline          | `uint`    | Unix timestamp deadline by which the transaction must confirm.                                                                       |

### swapExactTokensForTokens

```
function swapExactTokensForTokens(
  uint amountIn,
  uint amountOutMin,
  address[] calldata path,
  address to,
  uint deadline
) external returns (uint[] memory amounts);
```

Receive an as many output tokens as possible for an exact amount of input tokens.

| Name              | Type      |                                                                                                                                      |
| ----------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| amountIn          | `uint`    | Payable amount of input tokens.                                                                                                      |
| amountOutMin      | `uint`    | The minimum amount tokens to receive.                                                                                                |
| path (address\[]) | `address` | An array of token addresses. `path.length` must be >= 2. Pools for each consecutive pair of addresses must exist and have liquidity. |
| to                | `address` | Address of recipient.                                                                                                                |
| deadline          | `uint`    | Unix timestamp deadline by which the transaction must confirm.                                                                       |

### swapExactTokensForTokensSupportingFeeOnTransferTokens

```
function swapExactTokensForTokensSupportingFeeOnTransferTokens(
  uint amountIn,
  uint amountOutMin,
  address[] calldata path,
  address to,
  uint deadline
) external;
```

Receive an as many output tokens as possible for an exact amount of input tokens. Supports tokens that take a fee on transfer.

| Name              | Type      |                                                                                                                                      |
| ----------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| amountIn          | `uint`    | Payable amount of input tokens.                                                                                                      |
| amountOutMin      | `uint`    | The minimum amount tokens to receive.                                                                                                |
| path (address\[]) | `address` | An array of token addresses. `path.length` must be >= 2. Pools for each consecutive pair of addresses must exist and have liquidity. |
| to                | `address` | Address of recipient.                                                                                                                |
| deadline          | `uint`    | Unix timestamp deadline by which the transaction must confirm.                                                                       |

### swapTokensForExactETH

```
function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
  external
  returns (uint[] memory amounts);
```

Receive an exact amount of ETH for as few input tokens as possible.

| Name              | Type      |                                                                                                                                      |
| ----------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| amountOut         | `uint`    | Payable amount of input tokens.                                                                                                      |
| amountInMax       | `uint`    | The minimum amount tokens to input.                                                                                                  |
| path (address\[]) | `address` | An array of token addresses. `path.length` must be >= 2. Pools for each consecutive pair of addresses must exist and have liquidity. |
| to                | `address` | Address of recipient.                                                                                                                |
| deadline          | `uint`    | Unix timestamp deadline by which the transaction must confirm.                                                                       |

### swapTokensForExactTokens

```
function swapTokensForExactTokens(
  uint amountOut,
  uint amountInMax,
  address[] calldata path,
  address to,
  uint deadline
) external returns (uint[] memory amounts);
```

Receive an exact amount of output tokens for as few input tokens as possible.

| Name              | Type      |                                                                                                                                      |
| ----------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| amountOut         | `uint`    | Payable amount of input tokens.                                                                                                      |
| amountInMax       | `uint`    | The minimum amount tokens to input.                                                                                                  |
| path (address\[]) | `address` | An array of token addresses. `path.length` must be >= 2. Pools for each consecutive pair of addresses must exist and have liquidity. |
| to                | `address` | Address of recipient.                                                                                                                |
| deadline          | `uint`    | Unix timestamp deadline by which the transaction must confirm.                                                                       |

## Interface

```
pragma solidity >=0.6.2;

interface ILitedexRouter01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

pragma solidity >=0.6.2;

interface ILitedexRouter02 is ILitedexRouter01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}
```


# Staking

Staking in the context of decentralized finance (DeFi) refers to the process of holding and locking up a cryptocurrency, usually in a specific wallet or smart contract, in order to participate in the operation of a blockchain network and earn rewards.

Staking is a way for individuals and organizations to support the security and decentralization of a blockchain network by providing their own computing resources, such as processing power or storage, to validate transactions and produce new blocks. In return for their contribution, stakers are typically rewarded with a share of the transaction fees and/or a portion of the new cryptocurrency that is created as part of the block production process.

Staking can be seen as an alternative to mining, which is the process of producing new blocks on a blockchain network using specialized hardware. Unlike mining, staking does not require expensive hardware or a lot of electricity, and it can be done using a standard computer or a mobile device.


# Locked Staking

Locked staking refers to the process of holding and locking up a cryptocurrency in a specific wallet or smart contract in order to participate in the operation of a blockchain network and earn rewards. The term "locked" refers to the fact that the staked cryptocurrency is not available for use or transfer until the staking period has ended and the lockup period has expired.

### Litedex Saving (Locked Staking) List

***-> BNB Smart Chain***

<table><thead><tr><th>Name</th><th>Contract Address</th><th>Duration</th><th>Status</th><th data-type="content-ref"></th></tr></thead><tbody><tr><td>Litedex Saving 30 Days</td><td>0x4771fd5ad93945f9b442b8fab2791b7dd75c7b74</td><td>30 Days</td><td>Closed</td><td><a href="https://bscscan.com/address/0x4771fd5ad93945f9b442b8fab2791b7dd75c7b74">https://bscscan.com/address/0x4771fd5ad93945f9b442b8fab2791b7dd75c7b74</a></td></tr><tr><td>Litedex Saving 90 Days V1</td><td>0x020d2497deef2376be5bd63ad80ff9de5685e80f</td><td>90 Days</td><td>Closed</td><td></td></tr><tr><td>Litedex Saving 180 Days V1</td><td>0x30d22e6459087f7627367129c5be9508c5bdf860</td><td>180 Days</td><td>Closed</td><td></td></tr><tr><td>Litedex Saving 365 Days</td><td>0xe1f9a10d322b563b4e08829bbe6327c5d87f35f2</td><td>365 Days</td><td>Closed</td><td></td></tr><tr><td>Litedex Saving 2 Years</td><td>0xe64d9e3c1242c0c00bbd3bade392fda894b18bed</td><td>2 Years</td><td>Closed</td><td></td></tr><tr><td>Litedex Saving 90 Days V2</td><td>0x997a230df95560b5a09bd6b71d0964443efcde0a</td><td>90 Days</td><td>Closed</td><td></td></tr><tr><td>Litedex Saving 180 Days V2</td><td>0x66a04253f1acd384c0fe6127fecada2adfaf06ea</td><td>180 Days</td><td>Closed</td><td></td></tr></tbody></table>

{% hint style="info" %}
The Contract's list can be update anytime. Please join our [Telegram](https://t.me/litedexprotocol) for the lastest announcement.
{% endhint %}


# Flexible Staking

Flexible Staking refers to a type of staking system in which users can choose to stake their tokens for a specific amount of time, and can also choose to unstake their tokens before the end of the staking period. This allows users to have more control and flexibility over their staked tokens, and can be a useful feature for those who may need to access their tokens for various reasons before the end of the staking period.

### Litedex Flexible Staking List

<table><thead><tr><th width="197">Name</th><th width="257">Contract Address</th><th width="179">Final Block Number</th><th>Status</th></tr></thead><tbody><tr><td>Litedex Flexible Staking (LDX/LDX)</td><td>0xf883188d78d4a5204b1ec1fd016e26f1c39147fb</td><td><a href="https://bscscan.com/block/countdown/29282170">29282170⏱</a></td><td>Active</td></tr></tbody></table>

{% hint style="info" %}
The Contract's list can be update anytime. Please join our [Telegram](https://t.me/litedexprotocol) for the lastest announcement.
{% endhint %}


# Security Preventive

#### Definition of Centralization Risks

Centralization risks are vulnerabilities that can be exploited both by malicious developers of a project as well as malicious outside attackers. They can be taken advantage of in rug pulls, infinite minting exploits, and many other types of attacks.\
\
**Litedex implement two securities to mitigate the problem.**\
\
*Network : BSC Mainnet*

{% tabs %}
{% tab title="Multi-signature wallets" %}
***`Litedex Assign the privileged roles to multi-signature wallets (3 of 5 signers).`***

***Multi-signature proxy address :** 0x76111cC93b32F9B83C45E0d3155995C6f40916aE*

***Internal multi-signature address.***

* ***Signer 1 :** 0x3b63E928047A7Ec4fA54f226503522964d690a95*&#x20;
* ***Signer 2 :** 0x1651ceCaA1870a595282680F0f773ad34B142Fd0*
* ***Signer 3 :** 0x067e2EdABEF143773A5748e5483EbEB0247961e1*
* ***Signer 4 :** 0xCE0e6F69eB6D0BFe6149d8e6FaD87961Be31C4B2*
* ***Signer 5 :** 0xF822eA79E74634F4bcad0D41E7f58bE3242c85C7*
  {% endtab %}

{% tab title="Timelock 6-hours" %}
***`Litedex implement Time-lock with 6 hours latency, for awareness of privileged operations.`***\
\
***Timelock Address :*** 0xA06b1A094A3d84f4D67d6210dD3e121870faaDAF\
***Proposer Address :** 0x76111cC93b32F9B83C45E0d3155995C6f40916aE*\
***Admin Address :** 0x76111cC93b32F9B83C45E0d3155995C6f40916aE*\
***Executor Address :** 0x76111cC93b32F9B83C45E0d3155995C6f40916aE*
{% endtab %}
{% endtabs %}


