Sat. Nov 27th, 2021
    Broxus, TON Swap, TON Crystal, Free TON

    Broxus has developed a detailed guide for clients on how to use the mechanism for making money with cryptocurrencies on their platform.

    Attention! The updated instructions are available in English. You can’t use addresses in the old instructions

    Guide

    Welcome to the official yield farming guide on tonswap.io by the Broxus team. You will learn about farming with both Uniswap LP tokens and native LP tokens obtained using the TON Swap platform.

    Glossary

    First of all, we want to explain the terminology.

    A pool is an exchange pool created by providing liquidity to both sides of the transaction. It is a special smart contract that allows you to get an exchange rate and make an exchange.
    Vault is a special smart contract that securely stores all the tokens deposited with Dex.
    An account is your personal smart contract that is needed to provide liquidity to the pool.
    A swap is an exchange transaction.
    The farming pool is a special smart contract that distributes the provided value proportionally to everyone who sent a certain LP token to this contract.
    Crystal Wallet is a Chrome browser extension that works as your personal wallet and uses TON to interact with dApp.

    It’s pretty simple, isn’t it?

    Preparation

    Install Crystal Wallet in Google Chrome and restore your wallet using the seed phrase. If you have previously used the Crystal Wallet desktop app with a 24-word seed phrase, choose the wallet type WalletV3.

    After that, click on Select assets and select all the assets you have.

    If you don’t see them on the screen, don’t worry: you can add them manually by entering the root token contract address.

    Update

    TON Swap and TON Bridge are developing very quickly. This means that we need to update the token standards and smart contracts used in our applications from time to time.

    If you are familiar with the first version of the farming pool you used some time ago, you probably have some Uniswap LP tokens as well as WTON tokens.

    TON Swap takes care of you — the first time you connect your Crystal Wallet to the website, it will scan your account for old versions of tokens and offer to update them.

    After you click Upgrade, TON Swap will ask you to confirm it via Crystal Wallet.

    After that, be patient — in a few seconds you will receive an updated version of your tokens.

    If you don’t see them after a while, make sure you have enabled the tokens in the Assets section.

    Wrapped TON

    TON Swap only works with Wrapped TON. Please do not send your regular TONs to pool addresses as you will simply lose them.

    The easiest way to get WTON is to use the WTON.IO interface. You can find detailed instructions on how to use it here.

    Another less convenient way is to send your TONs to the smart contract address below (WTON Vault) with another TON attached as gas, and after a while you will add your WTONs to your wallet.

    If you are doing this for the first time, it may take a little longer to deploy your personal WTON contract.

    WTON Storage Address

    0:d0936a9fc29b5175487208b1d07ab8042ce7ddbc2de7e271c4087ca833b865cc

    Get Ethereum Tokens in TON Swap

    Use TON Bridge to get the second part of the pool equation (we mean Ethereum tokens). You can find a detailed guide on how to do this in our knowledge base.

    Providing liquidity

    This is the most difficult part; be careful.

    Go to the Pools section and follow the instructions.

    Select a pool

    Well, it’s obvious: select the tokens you want to provide.

    Connect an account

    If you haven’t created an account yet, TON Swap will ask you to do so.

    It will deploy the contract through Crystal Wallet — you just need to confirm the transaction and pay the network fee.

    Connect the pool

    Now you need to establish a connection between your account and the pool. The algorithm is the same: click Connect, confirm the transaction in Crystal Wallet, wait a bit until it is completed.

    Some people report that the circle spins for a long time — you can safely refresh the page and select the pool again. You won’t need to pay twice.

    Providing liquidity

    Enter the number of both tokens that you are going to provide. Please note that this may affect the exchange rate.

    After you enter the first amount, TON Swap will automatically adjust the second amount according to the current exchange rate.

    However, it is possible to provide only one part of the pair. In this case, TON Swap will automatically perform the exchange in the background to get the required amount of the second token.

    Now a small feature: you need to transfer your tokens to your account. If you don’t have enough funds in your account, TON Swap will prepare the transfer and ask you to confirm it in Crystal Wallet separately for each token (as shown on the screen below).

    Once your account balance is sufficient, the system will allow you to provide liquidity by clicking the Supply button.

    After you’ve done everything, you’ll get a Supply receipt — a confirmation of successful liquidity provision with the number of LP tokens you’ve received in return.

    Withdrawing LP Tokens To The Wallet

    LP tokens are stored in your account, do you remember? This means you have to recall them first before you can add them to the farming contract stake.

    Go to the pool page, scroll down, tap the arrow next to LP Tokens and confirm the transaction.

    Farming, finally

    Go to Farming section in TON Swap and click on the icon on the right, next to the corresponding farming pool name.

    Now the easiest part: enter the number of LP tokens you want to deposit into the farming pool and confirm the transaction through Crystal Wallet. After a while, you will see that your share in this pool has changed.

    To get the deposited liquidity back, simply follow these steps in reverse order.

    We are here to help you

    Are you having problems? Join our friendly and competent Broxus chat room on Telegram and we’ll do our best to help you.

    6
    0