Skip to content

dhanesh24g/foundry-defi-stablecoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeFi StableCoin

Stablecoin Architecture -

  1. Relative Stability: Anchored or Pegged -> $1.00
    1. Chainlink Price feed to retrieve data.
    2. Set a function to exchange ETH/BTC to $$
  2. Stability Mechanism (Minting): Algorithmic
    1. People can mint only with enough collateral (Coded)
  3. Collateral: Exogenous (Using Crypto)
    1. wETH
    2. wBTC

Testing -

  1. Standard tests
  2. Fuzz tests
  3. Invariant tests

About

My implementation of StableCoin with Liquidation Support

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published