Telcoin x DeFi: How to put your TEL to work on Uniswap

Telcoin
9 min readAug 7, 2020

Phase one of our DEX roadmap is simple: create new markets and teach TEL holders how to use them.

By Parker Spann

DEXes are one of the key building blocks Telcoin is using to bring TEL remittances, and every other future complementary financial product, to the masses. Uniswap is the most successful DEX in the world. This article first outlines key reasons why we chose to integrate DEXes into the Telcoin application, touches on how we will release each phase of our DEX roadmap, and goes into detail on how Uniswap works and how to use it.

Telcoin & DEXes

In Diving into DeFi Volume 2, we explored the decentralized exchange (DEX) market, and announced our intention to utilizes DEXes as a key infrastructure layer of the Telcoin application. We made this design choice in order to:

  • Create open, accessible, and highly liquid markets for TEL
  • Satisfy consumer demand for TEL-denominated remittances and future product offerings
  • Enable existing TEL holders to participate in providing liquidity to TEL remittance users, while earning fees
  • Ensure execution, clearing, and settlement takes place automatically, on chain, without middlemen

There is simply no better way to offer a global crypto remittance product for the masses than by combining what Telcoin has already built with the added functionality of DEXes. And currently, the most successful DEX is Uniswap.

Education x Digicel Moncash in Haiti

As a company that is constantly working to develop new mobile money partnerships, we often hear interesting stories about novel ways companies were able to bootstrap users and bring their product to the mass market.

One such company, Digical MonCash in Haiti, had quite an inspirational story for us. As you can imagine, bringing new financial products to developing countries like Haiti is no easy task. As the poorest country in Latin America, and one of the poorest in the world, one might think creating a money transfer market in Haiti would be next to impossible!

Digicel probably thought that too when, after launching their first mobile money product “Tcho Tcho Mobile” in Haiti in 2010, it flopped. In 2015, Digicel re-launched the system with a fresh name — “MonCash.” Armed with a new user acquisition game plan, the product was a massive commercial success.

This time, Digicel decided to host over 3,000 education clinics throughout Haiti to teach customers how mobile money works. Between March 2015 and March 2019, MonCash increased their customer base from 59,000 to 1.2 million daily users today.

Our product releases will follow a similar roadmap: build something that truly helps people, but make sure you help them understand how to use it first.

DEX Phase One

Phase One of our DEX roadmap is simple: create liquid markets across the ethereum ecosystem and teach TEL holders how to participate in both the supply side and demand side.

We will be consistently and periodically sharing new markets and the next phases in our product roadmap as they are released, until we have a fully live TEL economy.

The rest of this article is meant to help our users understand what Uniswap, the most popular and successful DEX in the world, is; how it works; and how TEL holders can participate in (and get paid for) creating, trading, and servicing new TEL markets.

Uniswap Overview

Website: https://uniswap.org/

Exchange Interface: https://app.uniswap.org/#/swap

Pool Interface: https://app.uniswap.org/#/pool

TEL-USDC Pool: https://uniswap.info/pair/0x9d29EBcA6bbB56148C64448746Ced96e7912bb76

TEL-ETH Pool: https://uniswap.info/pair/0x291c69fdaebd3CBE953843DA243F8605A766a268

Github: https://github.com/Uniswap

Description: Uniswap is a protocol for automated token exchange on ethereum that lets anyone quickly swap ERC-20 tokens, while earning fees by providing liquidity.

How Uniswap works

Uniswap smart contracts hold liquidity reserves of various tokens, and trades are executed directly against these reserves. Reserves are pooled between a network of liquidity providers who supply the system with tokens in exchange for a proportional share of transaction fees.

Liquidity pools are smart contracts that hold balances of two unique tokens and enforce rules around depositing and withdrawing them. Liquidity providers (LPs) deposit an equivalent value of each token in a given pool and traders swap their assets against the pool.

Liquidity providers can add and remove their pooled liquidity at any time. Anyone can trade or become a liquidity provider on Uniswap without KYC or additional steps.

Fees

Traders pay a 0.3 percent fee per trade.

Liquidity providers earn those trading fees, which are distributed proportionally based on their pool ownership.

Examples

Trading - Chad owns ETH and wants to exchange it for TEL. Chad swaps his ETH for TEL in the TEL-ETH Uniswap pool, incurring a 0.3 percent trading fee, and immediately receives the TEL in his wallet.

Adding Liquidity - Karen owns TEL and ETH and wants to market make on Uniswap to earn trading fees. Karen supplies equivalent values of TEL and ETH to the TEL-ETH uniswap pool. Karen then receives an LP token, which is a non speculative token that denotes her proportionate share of the TEL-ETH trading pool.

Removing Liquidity- Karen wants to remove her TEL-ETH liquidity from the liquidity pool in order to collect her assets and accrued trading fees. Karen removes her liquidity from the TEL-ETH trading pool by burning her LP token. Her TEL and ETH are returned directly to her wallet along with her accrued trading fees.

Cost Benefit Analysis

Before diving into this section, we recommend reading our most recent blog post on decentralized exchanges, Diving into DeFi Volume 2, in order to fully understand why DEXes like Uniswap are valuable and important. This guide is meant to illustrate the advantages and disadvantages of using Uniswap today. Numerous other benefits will be presented in phases as Telcoin builds and delivers a fully-fledged platform.

Trader Pros & Cons

Pros

Traders are guaranteed liquidity at every price level when enough liquidity is pooled, and can simply swap and receive assets instantly in one click while maintaining full custody.

Cons

When liquidity pools are low compared to trading volume, significant slippage can be incurred. Gas costs can be overly expensive when ethereum is congested.

Liquidity Provider Returns & Risks

Returns

Uniswap incentivizes users to add liquidity to pools by rewarding providers with fees on trades. Market making, in general, is a complex activity which has the risk of losing money (compared to holding) in the case of big directional moves of the underlying asset prices. Uniswap liquidity pool returns vary based on the volatility between the two pooled assets and the overall trading volume in the pool.

Please refer to https://uniswap.org/docs/v2/advanced-topics/understanding-returns/ for more information.

Risks

Impermanent loss or the percentage by which a pool is worth less than what one would have if they had instead just held the tokens outside the pool, is the main risk associated with providing liquidity on Uniswap.

Please refer to (and feel free to copy) Telcoin’s worksheet entitled Uniswap Liquidity Pool Returns to calculate the impermanent loss incurred by providing liquidity without accounting for trading volume.

To further understand the risks associated with providing liquidity you can read https://medium.com/@pintail/uniswap-a-good-deal-for-liquidity-providers-104c0b6816f2 to get an in-depth look at how to conceptualize a liquidity position.

Pricing

Prices are set automatically using the constant product market maker mechanism x*y=k, which keeps overall reserves in relative equilibrium. The price is determined by the ratio of the two assets in the pool. If the ratio doesn’t reflect market price, arbitrageurs will step in and swing the pool back towards market price.

For further research into Uniswap pricing:

https://uniswap.org/docs/v2/advanced-topics/pricing/

What explains the rise of AMMs

Uniswap Pricing Walkthrough

Uniswap: How to use it

This guide walks through four functionalities available on Uniswap today:

  1. Adding liquidity
  2. Removing liquidity
  3. Swapping Assets
  4. Creating new pools

What you’ll need

  • Metamask or another Web3 wallet. Download Metamask here: https://metamask.io/download.html
  • If you are unsure how use Metamask, please refer to the Metamask FAQs or this Metamask guide.
  • To become a TEL liquidity provider, you will need an equivalent amount of TEL and the other asset you’d like to pool, e.g. to add US$500 worth of TEL to the TEL-USDC pool, you will need US$500 worth of TEL and US$500 worth of USDC.
  • If this is your first time using uniswap, click select token and paste the TELcoins list https://raw.githubusercontent.com/telcoin/token-lists/master/telcoins.json in the search box. This will make TEL a default token in your front end interface in uniswap.

How to add liquidity to an existing TEL pool on uniswap (e.g TEL-ETH)

  1. Navigate to the TEL-ETH pool at: https://app.uniswap.org/#/add/0x467Bccd9d29f223BcE8043b84E8C8B282827790F/ETH.

2. Input the amount you would like to supply of each asset.

3. Click “Supply.”

4. Review the amounts and rates.

5. Click “Confirm Supply.”

6. A Metamask notification will pop up in your browser. If the gas fees are reasonable, click confirm and the transaction will complete.

How to remove liquidity from the TEL-ETH pool on Uniswap

  1. Navigate to the pool interface found at https://app.uniswap.org/#/pool.
  2. Select your TEL/ETH LP token.

3. Select “Remove.”

4. Select the amount you would like to remove from the pool and hit “Approve.”

5. Sign the Metamask notification.

How to trade ETH for TEL on Uniswap

  1. Navigate to the exchange interface found at https://app.uniswap.org/#/swap.
  2. Connect with Metamask and you’re in. There are no log-ins or KYC requirements. This does not cost any gas.

In the top right select ETH from the drop down and in the bottom right hand corner select TEL. If this is your first time using TEL on Uniswap, paste the TELcoins list https://raw.githubusercontent.com/telcoin/token-lists/master/telcoins.json under “Select a List” in the “Search name or paste address” space & Select TEL from the dropdown list.

4. Once you have properly inputted the correct tokens in the “From” and “To” fields, insert the amount of ETH you would like to swap for TEL.

5. Click the “Swap” button at the bottom.

6. On the next screen, review the details of the swap, and if satisfactory, click “Confirm Swap.”

7. A Metamask notification will pop up on your screen. Review the gas fee and total costs. If satisfactory, click “Confirm” in the bottom right hand corner of the box.

How to create a new TEL liquidity pool on Uniswap

  1. Navigate to https://app.uniswap.org/#/pool.
  2. Connect with Metamask and you’re in. There are no log-ins or KYC requirements. This does not cost any gas.
  3. Click “Add Liquidity.”
  4. On the top input click the down arrow.
  5. Insert the TEL token address, 0x467bccd9d29f223bce8043b84e8c8b282827790f, in the “Search name or paste address” box.
  6. Click on TEL.
  7. In the box at the bottom, click “Select a Token.”
  8. Search for the token you’d like to pair.
  9. Insert an equal amount of TEL in the top input and the token pair in the bottom input.
  10. Verify that Uniswap prices reflect market prices.
  11. Click “Supply and confirm.”
  12. On the Metamask notification box, review the gas prices and click “Confirm.”

Additional links & resources

Uniswap FAQ

Stuck transaction? Here’s how to unstick it — ETH Gas Station

Uniswap Pool ROI Calculator

DeFi Pulse Uniswap Page

DEX Activity Analysis

The Ultimate Guide to Uniswap (V1)

--

--