This project is an implementation of a stablecoin based on the Cyfrin Foundry DeFi Stablecoin project. It is part of the full Solidity course provided by Cyfrin, which can be found here or here. This is a personal learning project aimed at enhancing my understanding of Solidity and decentralized finance (DeFi).
-
Relative Stability: Anchored or Pegged
- Utilizes Chainlink price feeds.
- Includes functions to exchange ETH and BTC for USD.
-
Stability Mechanism (Minting): Algorithmic (Decentralized)
- Users can only mint stablecoins if they provide sufficient collateral.
-
Collateral: Exogenous (Crypto)
- Accepts wETH (Wrapped Ether).
- Accepts wBTC (Wrapped Bitcoin).
- Version
- Imports
- Interfaces, Libraries, Contracts
- Errors
- Type Declarations
- State Variables
- Events
- Modifiers
- Functions
- Constructor
- Receive Function (if exists)
- Fallback Function (if exists)
- External Functions
- Public Functions
- Internal Functions
- Private Functions
- View & Pure Functions
To get started with the project, clone the repository and follow the instructions provided in the course materials.
This project is licensed under the MIT License. See the LICENSE file for details.