Skip to content

corwinthill/foundry-defi-stablecoin-lesson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code is adapted from Patrick Collin's Foundry Course

Making a Stable Coin

  1. Relative Stability - Anchored or pegged to $1
    1. Chainlink Price feed
    2. Set a function to exchange ETH and BTC
  2. Stability Mechanism - Algorithmic (Decentralized)
    1. People can only mint stablecoin with enough collateral (coded)
  3. Collateral: Exogenous (Crypto)
    1. wETH
    2. wBTC

About

Most of this is code from Patrick Collin's Foundry Course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published