Skip to content

A minimal implementation of a defi protocol in Foundry, a pegged, algorithmic and exogenous stablecoin

License

Notifications You must be signed in to change notification settings

0xkryvon/defi-stablecoins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeFi Stablecoins

Author: @Lyes-Boudjabout

License: MIT

DeFi Stablecoins – A minimal, overcollateralized, algorithmically-stable cryptocurrency system inspired by MakerDAO’s DSS, pegged 1:1 to the USD, and backed exclusively by exogenous collateral (WETH & WBTC). Designed without governance or fees, the system ensures stability and decentralization through collateral-backed minting and redemption.

Features

  • Exogenous Collateral – Supports ETH & BTC as backing assets
  • USD Peg – Maintains 1 DSC = $1 peg at all times
  • Algorithmic Stability – No centralized price control
  • Overcollateralization – Ensures safety of peg
  • Minimal Governance – No fees, no complex DAO structure
  • ERC20 Stablecoin Contract – Fully compatible with DeFi protocols

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 (816e00b 2023-03-16T00:05:26.396218Z)

Run Locally

Clone the project

  git clone https://github.com/Lyes-Boudjabout/defi-stablecoins

Go to the project directory

  cd defi-stablecoins

Install dependencies

  forge install openzeppelin/openzeppelin-contracts smartcontractkit/chainlink-brownie-contracts

Foundry Documentation

https://book.getfoundry.sh/

📬 Reach Me Out

I’m always open to discussions, collaborations, and feedback. Feel free to connect with me through any of the channels below:

GitHub: @Lyes-Boudjabout | LinkedIn: Lyes Boudjabout | Email: nl_boudjabout@esi.dz

About

A minimal implementation of a defi protocol in Foundry, a pegged, algorithmic and exogenous stablecoin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published