Differences

This shows you the differences between two versions of the page.

Link to this comparison view

fob:laboratoare:07 [2022/12/08 13:14]
costin.carabas
fob:laboratoare:07 [2022/12/14 20:06] (current)
costin.carabas
Line 1: Line 1:
-===== DeFi - Liquidity Pools =====+===== DeFi - Introduction to Liquidity Pools ===== 
 + 
 +Liquidity pools are crucial for peer-to-peer trading in DeFi. 
 +Liquidity is the ability of an asset to be sold or exchanged quickly and without affecting the price. In other words, liquidity is a measure of how easily an asset can be converted. 
 + 
 +Traditional exchanges use order books: 
 + 
 +{{:​fob:​laboratoare:​tradeville_trade_list.png?​500|}} 
 + 
 +Q: What if I want to buy/sell large amounts? 
 + 
 +Problem 1: Price moves for several levels. 
 + 
 +Problem 2: There may not be enough liquidity. 
 + 
 +Why are liquidity pools useful? 
 +  * enable users to trade on DEXs 
 +  * eliminate middlemen and centralized entities 
 +  * Liquidity providers get incentives 
 + 
 +{{:​fob:​laboratoare:​liquidity_pools.png?​500|}} 
 + 
 + 
 +==== Liquidity Providers ==== 
 + 
 +<note important>​Go to Devnet Wallet and use the Faucent tool to get some xEGLD.</​note>​ 
 + 
 +Use [[https://​devnet.maiar.exchange/​|Devnet Maiar DEX]] to be a liquidity provider: 
 +  - Login with your wallet; 
 +  - Go to **Swap** tab; 
 +  - Swap 1 EGLD to USDC. //Who provided the USDC for you to swap?// 
 +  - Go to **Liquidity** tab; 
 +  - Add Liquidity: Use EGLD and USDC tokens; 
 +  - Perform several swaps; 
 +  - Remove Liquidity;​ 
 +  - Compare tokens in (provided when added liquidity) to tokens out (obtained when removed liquidity). If swaps were made in between, you should have gained some value from fees.  
 + 
 + 
  
  
fob/laboratoare/07.1670498089.txt.gz · Last modified: 2022/12/08 13:14 by costin.carabas
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0