Skip to content

Zaira111111/Stablecoin-Algorithmic-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

49 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸͺ™ Stablecoin Algorithmic Engine

A decentralized, exogenous collateralized algorithmic stablecoin system, similar to DAI but simplified.

πŸš€ How it Works

  • Collateral: Users deposit ETH or BTC (wrapped).
  • Minting: Users can mint stablecoins against their collateral.
  • Stability: The system uses Chainlink Oracles to maintain the price peg ($1).
  • Liquidation: If collateral value drops below a threshold, the system triggers liquidation to remain solvent.

πŸ› οΈ Tech Stack

  • Solidity (Smart Contracts)
  • Foundry / Hardhat (Development Framework)
  • Chainlink (Price Oracles)

πŸ“ Key Contracts

  1. DSCEngine.sol: The core logic for minting/burning and collateral management.
  2. StableCoin.sol: The ERC20 token contract.

πŸ”§ Setup

  1. Clone: git clone [Your-Repo-Link]
  2. Install: forge install or npm install
  3. Test: forge test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published