SlideShare a Scribd company logo
1 of 33
What the Duck Is DeFi:
Lending, Borrowing and Farming for Crypto
• Reimagining legacy financial products as
decentralized primitives using smart contracts
• Money markets, lending, borrowing,
derivatives and much more
• Composable, protocols become “money
legos” allowing stackable financial products
• It’s (whisper it…) fun
What is Decentralized Finance (DeFi)?
Almost $80 billion locked in DeFi
Back to $51 billion locked in DeFi!
DeFi has launched
DeFi = Open Finance?
• Permissionless
• Trustless
• Decentralized
DeFi Jargon
• Stablecoins
• Wrapping
• AMM
• LP
• Liquidity mining/Farm/
• Impermanent Loss
• Composability
• Layer 2
• Bridge
Stablecoins
• Not ideal in most financial transactions to
use a cryptocurrency that has price
volatility e.g. taking out a loan
• Stablecoins aim to reduce price volatility
(many pegged to USD)
• Centralized stablecoins backed 1:1 by fiat
in a bank account e.g. USDC
• Decentralized stablecoins can be crypto
collateralized or algorithmic
Maker
• Decentralized stablecoin on Ethereum that is
overcollateralized by crypto
• Stablecoin DAI can be minted by anyone through
locking up crypto as collateral to take out a DAI
loan e.g. lock up $200 of ETH to borrow $100 of
DAI
• If price of collateral drops, then assets are seized
and liquidated
• Common use case is leverage
Wrapping
• Wrapping creates a tokenized version of one
token in the form of another
• It’s pegged to the value of the asset it
represents and typically can be redeemed for
it (unwrapped) at any point.
• It usually represents an asset that doesn’t
natively live on the blockchain that it’s
issued on.
Automated Market Maker
• An automated market maker (AMM) is a
type of decentralized exchange (DEX)
protocol that relies on a mathematical
formula to price assets.
• Instead of using an order book like a
traditional exchange, assets are priced
according to a pricing algorithm.
• Market makers help you get a good price
and tight bid-ask spread on an order book
exchange like Binance.
LP - Liquidity Provider
• Users called liquidity providers (LP) add an
equal value of two tokens in a pool to create a
market.
• In exchange for providing their funds, they
earn trading fees from the trades that happen
in their pool, proportional to their share of the
total liquidity.
• As anyone can be a liquidity provider, AMMs
have made market making more accessible.
Liquidity mining
• Projects distribute governance tokens
to community
• Often reward adding liquidity through
“liquidity mining”
• Different levels of rewards based on
requirements e.g. lock up for longer,
reward vesting, retroactive rewards
Farming
• Staking or locking up cryptocurrencies in return
for rewards.
• Individuals can earn tokens in exchange for
their participation in DeFi applications. Yield
farming can also be called liquidity mining.
• As each new project that emerges offers new
tokens or ways to earn rewards, users have
been flocking to it, hoping to get a cut of the
yield on offer.
• In turn, this creates a demand that pushes up
the value invested in the project and the
tokens.
Farming
Farms
Impermanent Loss
• A temporary loss of funds occasionally
experienced by liquidity providers because of
volatility in a trading pair.
• This also illustrates how much more money
someone would have had if they simply held
onto their assets instead of providing liquidity.
• The loss only becomes permanent if a provider
decides to withdraw their liquidity for good.
Composability
• Enables products and services to interlock
permissionlessly, which expands the
innovation vector outside of a siloed
company.
• Entrepreneurs don’t need to build things
that already exist, but only use existing
products to make something new.
• So far, tokens and smart contract calls are
the best examples of DeFi composability
Layer 2
• Layer 2 refers to a secondary framework
or protocol that is built on top of an
existing blockchain system.
• These protocols are designed to solve the
transaction speed and scaling difficulties
of major cryptocurrency networks.
• Two major examples of layer 2 solutions
are the Bitcoin Lightning Network and the
Ethereum Plasma.
Bridge
• Blockchain bridges enable interoperability
between vastly different networks such as
Bitcoin and Ethereum.
• It either operates under different consensus
rules or inherits its security from the parent
blockchain (e.g., rollups built on Ethereum).
• Deploy digital assets hosted on one blockchain
to dapps on another.
• Conduct fast, low-cost transactions of tokens
hosted on otherwise less scalable chains.
• Execute dapps across more than one platform.
What can we do with DeFi?
• Lending and Borrowing
• Decentralized Exchanges
• Token governance
• Flash loans
• Composability (Money Legos)
• Magic...
Decentralized lending and borrowing
• Lend or borrow directly from smart
contract
• Some have interest rates that
dynamically change based on supply
and demand e.g. Compound and Aave
• Provide collateral in crypto in order to
borrow funds (loan needs to be
overcollateralized)
Lending as a savings account
• Anchor offers 20% fixed interest on UST
• Tranched products offer degrees of
exposure allowing for fixed rates of return
on lending (Barnbridge, Saffron Finance)
Decentralized exchange (DEX)
• Anyone can trade assets that conform to
token standard (e.g. ERC-20, ERC-721)
• Can have decentralized order books that
look like traditional exchange e.g. 0x,
dYdX
• Automated market maker (AMM)
provides pricing algorithmically based on
liquidity available and will always provide a
price e.g. Uniswap, Sushiswap
• Aggregators pull liquidity from all e.g.
Matcha, 1inch
Over $60 billion in monthly DEX volume
Token governance
• Token holders vote on direction of project or various parameter settings e.g. Maker
(MKR) holders can vote on parameters such as fees charged
• Can be referred to as a decentralized autonomous organization (DAO)
Flash loans
• Someone can borrow funds
and repay in same transaction
• If not repaid in same
transaction, then it fails
• Enables uncollateralized loans
• Common use case is for
arbitrage opportunities in DeFi
Composability with DeFi
• Interesting possibilities when
combining DeFi building blocks or
“money legos”
• Refinancing loans
• Leveraged positions
Composability enabling sophisticated hacks
Using Flash Loans to refinance a loan
• A debt is taken from a Compound protocol at a 9.5%
interest rate.
• But there is another protocol that offers debt at 7%
interest. The smart contract contains logic that can
explore these rates and refinance your debt at 7%.
• This can be accomplished using these money lego
components:
• Take out a flash loan using the Aave protocol
• Pay the debt on the Compound protocol
• Borrow from the 7% debt offer
• Payback the flash loan on the Aave protocol
All this happens in a single transaction.
Magic...
• DeFi can accomplish what looks like magic
• Realise future gains right now (for a price)
• Turn illiquid assets into liquid ones
Walk in my shoes
• DefiRate
• Coingecko
• Daily Ape
• Loanscan
• Bankless
• Zapper
We are living in a simulation
Head over to defisaver.com

More Related Content

What's hot

An Overview of Stablecoin
An Overview of StablecoinAn Overview of Stablecoin
An Overview of Stablecoin
101 Blockchains
 
Blockchain Explained | How Does A Blockchain Work | Blockchain Explained Simp...
Blockchain Explained | How Does A Blockchain Work | Blockchain Explained Simp...Blockchain Explained | How Does A Blockchain Work | Blockchain Explained Simp...
Blockchain Explained | How Does A Blockchain Work | Blockchain Explained Simp...
Simplilearn
 
Introduction to bitcoin
Introduction to bitcoinIntroduction to bitcoin
Introduction to bitcoin
Wolf McNally
 
Introduction to Decentralized Finance (DeFi)
Introduction to Decentralized Finance (DeFi)Introduction to Decentralized Finance (DeFi)
Introduction to Decentralized Finance (DeFi)
101 Blockchains
 

What's hot (20)

Decentralized Finance (DeFi) - Understanding Risks in an Emerging Financial P...
Decentralized Finance (DeFi) - Understanding Risks in an Emerging Financial P...Decentralized Finance (DeFi) - Understanding Risks in an Emerging Financial P...
Decentralized Finance (DeFi) - Understanding Risks in an Emerging Financial P...
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
DeFi 101
DeFi 101DeFi 101
DeFi 101
 
Blockchain Tokenization
Blockchain TokenizationBlockchain Tokenization
Blockchain Tokenization
 
Introduction to Decentralized Finance - DeFi
Introduction to Decentralized Finance - DeFiIntroduction to Decentralized Finance - DeFi
Introduction to Decentralized Finance - DeFi
 
Understanding Bitcoin
Understanding BitcoinUnderstanding Bitcoin
Understanding Bitcoin
 
An Overview of Stablecoin
An Overview of StablecoinAn Overview of Stablecoin
An Overview of Stablecoin
 
Blockchain Explained | How Does A Blockchain Work | Blockchain Explained Simp...
Blockchain Explained | How Does A Blockchain Work | Blockchain Explained Simp...Blockchain Explained | How Does A Blockchain Work | Blockchain Explained Simp...
Blockchain Explained | How Does A Blockchain Work | Blockchain Explained Simp...
 
Introduction to bitcoin
Introduction to bitcoinIntroduction to bitcoin
Introduction to bitcoin
 
Introduction to Decentralized Finance (DeFi)
Introduction to Decentralized Finance (DeFi)Introduction to Decentralized Finance (DeFi)
Introduction to Decentralized Finance (DeFi)
 
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
Blockchain 101 | Blockchain Tutorial | Blockchain Smart Contracts | Blockchai...
 
Stablecoin
StablecoinStablecoin
Stablecoin
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain and DeFi: Overview
Blockchain and DeFi: OverviewBlockchain and DeFi: Overview
Blockchain and DeFi: Overview
 
All about Bitcoins!
All about Bitcoins!All about Bitcoins!
All about Bitcoins!
 
What's cryptocurrency ?
What's cryptocurrency ?What's cryptocurrency ?
What's cryptocurrency ?
 
Introduction to Cryptocurrency (Bitcoin)
Introduction to Cryptocurrency (Bitcoin)Introduction to Cryptocurrency (Bitcoin)
Introduction to Cryptocurrency (Bitcoin)
 
Bitcoin
BitcoinBitcoin
Bitcoin
 
Bitcoin Final Year Seminar Report
Bitcoin Final Year Seminar ReportBitcoin Final Year Seminar Report
Bitcoin Final Year Seminar Report
 
DAOs on Ethereum: The Future of Venture Finance
DAOs on Ethereum: The Future of Venture FinanceDAOs on Ethereum: The Future of Venture Finance
DAOs on Ethereum: The Future of Venture Finance
 

Similar to What the Duck is DeFi

Similar to What the Duck is DeFi (20)

DeFi Series – Webinar 3 – The DeFi Use Cases (DEX, Lending)
DeFi Series – Webinar 3 – The DeFi Use Cases (DEX, Lending)DeFi Series – Webinar 3 – The DeFi Use Cases (DEX, Lending)
DeFi Series – Webinar 3 – The DeFi Use Cases (DEX, Lending)
 
DeFi Series – Webinar 2- DeFi Primitives
DeFi Series – Webinar 2- DeFi PrimitivesDeFi Series – Webinar 2- DeFi Primitives
DeFi Series – Webinar 2- DeFi Primitives
 
Fantom DeFi chain modules 10 November 2019
Fantom DeFi chain modules 10 November 2019Fantom DeFi chain modules 10 November 2019
Fantom DeFi chain modules 10 November 2019
 
Bitcoin, Blockchain, and current trends in China
Bitcoin, Blockchain, and current trends in ChinaBitcoin, Blockchain, and current trends in China
Bitcoin, Blockchain, and current trends in China
 
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
How to raise $100M for your healthcare startup via ICO: Breaking the myths of...
 
Unbundling Of Financial Services: The Blockchain(s) Revolution
Unbundling Of Financial Services: The Blockchain(s) RevolutionUnbundling Of Financial Services: The Blockchain(s) Revolution
Unbundling Of Financial Services: The Blockchain(s) Revolution
 
Digital Tokens: Accountability & Transparency Framework
Digital Tokens: Accountability & Transparency FrameworkDigital Tokens: Accountability & Transparency Framework
Digital Tokens: Accountability & Transparency Framework
 
Webinar-Dubai DeFi Series-Webinar 1-The Basics of DeFi
Webinar-Dubai DeFi Series-Webinar 1-The Basics of DeFiWebinar-Dubai DeFi Series-Webinar 1-The Basics of DeFi
Webinar-Dubai DeFi Series-Webinar 1-The Basics of DeFi
 
BASIS MARKETS - DAO_proposal_1_-_The_BASIS_Token.pdf
BASIS MARKETS - DAO_proposal_1_-_The_BASIS_Token.pdfBASIS MARKETS - DAO_proposal_1_-_The_BASIS_Token.pdf
BASIS MARKETS - DAO_proposal_1_-_The_BASIS_Token.pdf
 
The future of crowdfunding
The future of crowdfundingThe future of crowdfunding
The future of crowdfunding
 
Cryptocurrency; The future of Money?
Cryptocurrency; The future of Money?Cryptocurrency; The future of Money?
Cryptocurrency; The future of Money?
 
Decentralised Exchanges - An Introduction
Decentralised Exchanges - An IntroductionDecentralised Exchanges - An Introduction
Decentralised Exchanges - An Introduction
 
Learn Fundamentals of Decentralized Finance - 101blockchains
Learn Fundamentals of Decentralized Finance - 101blockchainsLearn Fundamentals of Decentralized Finance - 101blockchains
Learn Fundamentals of Decentralized Finance - 101blockchains
 
BlockChain-1.pptx
BlockChain-1.pptxBlockChain-1.pptx
BlockChain-1.pptx
 
DFS22_Training_Bart Bours_Febelfin Academy_041022
DFS22_Training_Bart Bours_Febelfin Academy_041022DFS22_Training_Bart Bours_Febelfin Academy_041022
DFS22_Training_Bart Bours_Febelfin Academy_041022
 
Cryptochrome - Community Staking and Liquidity Mining Platform
Cryptochrome - Community Staking and Liquidity Mining PlatformCryptochrome - Community Staking and Liquidity Mining Platform
Cryptochrome - Community Staking and Liquidity Mining Platform
 
World wirestablecoinbusinessconsiderations v21
World wirestablecoinbusinessconsiderations v21World wirestablecoinbusinessconsiderations v21
World wirestablecoinbusinessconsiderations v21
 
2021 successful de fi based startups and its unique features
2021 successful de fi based startups and its unique features2021 successful de fi based startups and its unique features
2021 successful de fi based startups and its unique features
 
thestateofdecentralizedperpetualprotocols-230621062118-7b6d9979.pdf
thestateofdecentralizedperpetualprotocols-230621062118-7b6d9979.pdfthestateofdecentralizedperpetualprotocols-230621062118-7b6d9979.pdf
thestateofdecentralizedperpetualprotocols-230621062118-7b6d9979.pdf
 
The State of Decentralized Perpetual Protocols | CoinGecko
The State of Decentralized Perpetual Protocols | CoinGeckoThe State of Decentralized Perpetual Protocols | CoinGecko
The State of Decentralized Perpetual Protocols | CoinGecko
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 

What the Duck is DeFi

  • 1. What the Duck Is DeFi: Lending, Borrowing and Farming for Crypto
  • 2. • Reimagining legacy financial products as decentralized primitives using smart contracts • Money markets, lending, borrowing, derivatives and much more • Composable, protocols become “money legos” allowing stackable financial products • It’s (whisper it…) fun What is Decentralized Finance (DeFi)?
  • 3. Almost $80 billion locked in DeFi
  • 4. Back to $51 billion locked in DeFi!
  • 6. DeFi = Open Finance? • Permissionless • Trustless • Decentralized
  • 7. DeFi Jargon • Stablecoins • Wrapping • AMM • LP • Liquidity mining/Farm/ • Impermanent Loss • Composability • Layer 2 • Bridge
  • 8. Stablecoins • Not ideal in most financial transactions to use a cryptocurrency that has price volatility e.g. taking out a loan • Stablecoins aim to reduce price volatility (many pegged to USD) • Centralized stablecoins backed 1:1 by fiat in a bank account e.g. USDC • Decentralized stablecoins can be crypto collateralized or algorithmic
  • 9. Maker • Decentralized stablecoin on Ethereum that is overcollateralized by crypto • Stablecoin DAI can be minted by anyone through locking up crypto as collateral to take out a DAI loan e.g. lock up $200 of ETH to borrow $100 of DAI • If price of collateral drops, then assets are seized and liquidated • Common use case is leverage
  • 10. Wrapping • Wrapping creates a tokenized version of one token in the form of another • It’s pegged to the value of the asset it represents and typically can be redeemed for it (unwrapped) at any point. • It usually represents an asset that doesn’t natively live on the blockchain that it’s issued on.
  • 11. Automated Market Maker • An automated market maker (AMM) is a type of decentralized exchange (DEX) protocol that relies on a mathematical formula to price assets. • Instead of using an order book like a traditional exchange, assets are priced according to a pricing algorithm. • Market makers help you get a good price and tight bid-ask spread on an order book exchange like Binance.
  • 12. LP - Liquidity Provider • Users called liquidity providers (LP) add an equal value of two tokens in a pool to create a market. • In exchange for providing their funds, they earn trading fees from the trades that happen in their pool, proportional to their share of the total liquidity. • As anyone can be a liquidity provider, AMMs have made market making more accessible.
  • 13. Liquidity mining • Projects distribute governance tokens to community • Often reward adding liquidity through “liquidity mining” • Different levels of rewards based on requirements e.g. lock up for longer, reward vesting, retroactive rewards
  • 14. Farming • Staking or locking up cryptocurrencies in return for rewards. • Individuals can earn tokens in exchange for their participation in DeFi applications. Yield farming can also be called liquidity mining. • As each new project that emerges offers new tokens or ways to earn rewards, users have been flocking to it, hoping to get a cut of the yield on offer. • In turn, this creates a demand that pushes up the value invested in the project and the tokens.
  • 16. Farms
  • 17. Impermanent Loss • A temporary loss of funds occasionally experienced by liquidity providers because of volatility in a trading pair. • This also illustrates how much more money someone would have had if they simply held onto their assets instead of providing liquidity. • The loss only becomes permanent if a provider decides to withdraw their liquidity for good.
  • 18. Composability • Enables products and services to interlock permissionlessly, which expands the innovation vector outside of a siloed company. • Entrepreneurs don’t need to build things that already exist, but only use existing products to make something new. • So far, tokens and smart contract calls are the best examples of DeFi composability
  • 19. Layer 2 • Layer 2 refers to a secondary framework or protocol that is built on top of an existing blockchain system. • These protocols are designed to solve the transaction speed and scaling difficulties of major cryptocurrency networks. • Two major examples of layer 2 solutions are the Bitcoin Lightning Network and the Ethereum Plasma.
  • 20. Bridge • Blockchain bridges enable interoperability between vastly different networks such as Bitcoin and Ethereum. • It either operates under different consensus rules or inherits its security from the parent blockchain (e.g., rollups built on Ethereum). • Deploy digital assets hosted on one blockchain to dapps on another. • Conduct fast, low-cost transactions of tokens hosted on otherwise less scalable chains. • Execute dapps across more than one platform.
  • 21. What can we do with DeFi? • Lending and Borrowing • Decentralized Exchanges • Token governance • Flash loans • Composability (Money Legos) • Magic...
  • 22. Decentralized lending and borrowing • Lend or borrow directly from smart contract • Some have interest rates that dynamically change based on supply and demand e.g. Compound and Aave • Provide collateral in crypto in order to borrow funds (loan needs to be overcollateralized)
  • 23. Lending as a savings account • Anchor offers 20% fixed interest on UST • Tranched products offer degrees of exposure allowing for fixed rates of return on lending (Barnbridge, Saffron Finance)
  • 24. Decentralized exchange (DEX) • Anyone can trade assets that conform to token standard (e.g. ERC-20, ERC-721) • Can have decentralized order books that look like traditional exchange e.g. 0x, dYdX • Automated market maker (AMM) provides pricing algorithmically based on liquidity available and will always provide a price e.g. Uniswap, Sushiswap • Aggregators pull liquidity from all e.g. Matcha, 1inch
  • 25. Over $60 billion in monthly DEX volume
  • 26. Token governance • Token holders vote on direction of project or various parameter settings e.g. Maker (MKR) holders can vote on parameters such as fees charged • Can be referred to as a decentralized autonomous organization (DAO)
  • 27. Flash loans • Someone can borrow funds and repay in same transaction • If not repaid in same transaction, then it fails • Enables uncollateralized loans • Common use case is for arbitrage opportunities in DeFi
  • 28. Composability with DeFi • Interesting possibilities when combining DeFi building blocks or “money legos” • Refinancing loans • Leveraged positions
  • 30. Using Flash Loans to refinance a loan • A debt is taken from a Compound protocol at a 9.5% interest rate. • But there is another protocol that offers debt at 7% interest. The smart contract contains logic that can explore these rates and refinance your debt at 7%. • This can be accomplished using these money lego components: • Take out a flash loan using the Aave protocol • Pay the debt on the Compound protocol • Borrow from the 7% debt offer • Payback the flash loan on the Aave protocol All this happens in a single transaction.
  • 31. Magic... • DeFi can accomplish what looks like magic • Realise future gains right now (for a price) • Turn illiquid assets into liquid ones
  • 32. Walk in my shoes • DefiRate • Coingecko • Daily Ape • Loanscan • Bankless • Zapper
  • 33. We are living in a simulation Head over to defisaver.com