Code is adapted from Patrick Collin's Foundry Course
Making a Stable Coin
- Relative Stability - Anchored or pegged to $1
- Chainlink Price feed
- Set a function to exchange ETH and BTC
- Stability Mechanism - Algorithmic (Decentralized)
- People can only mint stablecoin with enough collateral (coded)
- Collateral: Exogenous (Crypto)
- wETH
- wBTC