Skip to content

Deployment of a Pegged, Algorithmic, and Exogenously collateralized Stablecoin

Notifications You must be signed in to change notification settings

numacoding/w3-algorithmic-stablecoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decentralized Stablecoin project

The purpose of this repository is to create an overcollateralized stablecoin with the following properties:

  1. (Relative Stability) Anchored or Pegged to USD
    1. Chainlink Price Feed
    2. Set a function to exchange ETH & BTC for whatever that USD equivalent is
  2. Stability Mechanism (Minting): Algorithmic (Decentralized)
    1. People can only mint the stablecoin with enough collateral (coded)
  3. Collateral: Exogenous (Crypto)
    1. wETH
    2. wBTC

Requirements

  • git
    • You'll know you did it right if you can run git --version and you see a response like git version x.x.x
  • foundry
    • You'll know you did it right if you can run forge --version and you see a response like forge 0.2.0 (8c11482 2023-11-16T00:32:37.968294000Z)

Roadmap

  • Code ERC20 contract (DecentralizedStableCoin.sol)
  • Code Decentralized Stablecoin Engine (DSCEngine.sol).
    • deposit collateral function
    • mint function
    • deposit collateral & mint function
    • redeem collateral function
    • redeem collateral for DSC function
    • burn DSC function
    • liquidate function
  • Deploy Script
  • HelperConfig Script
  • Testing

About

Deployment of a Pegged, Algorithmic, and Exogenously collateralized Stablecoin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published