Skip to content

The Decentralized Stablecoin (DSC) Protocol is a DeFi project that enables users to mint and burn stablecoins pegged to $1.00. It uses exogenous collateral like wETH and wBTC, ensuring security through robust smart contracts and decentralized mechanisms. The project emphasizes scalability, transparency, and security, showcasing advanced blockchain

Notifications You must be signed in to change notification settings

anurags10/DeFi-Stable-Coin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decentralized Stablecoin (DSC) Protocol

The Decentralized Stablecoin (DSC) Protocol is a blockchain-based platform for minting and burning stablecoins. This protocol ensures a decentralized, trustless system for collateral management, liquidations, and monitoring user health factors. The project demonstrates a robust implementation of DeFi principles and provides a foundation for secure, scalable financial systems.


Features of the Stablecoin

  • Relative Stability

    • The stablecoin is anchored or pegged to a value of $1.00, maintaining relative stability through decentralized mechanisms.
  • Stability Mechanism (Minting)

    • Algorithmic (Decentralized): Minting of the stablecoin is governed by an algorithmic mechanism that ensures the system remains decentralized and transparent.
  • Collateral

    • The stablecoin is backed by exogenous collateral, currently supporting the following assets:
      1. wETH (Wrapped Ethereum)
      2. wBTC (Wrapped Bitcoin)
  • Testing Framework

    • Built and tested using Foundry, ensuring high-quality smart contracts with robust unit and integration testing.

Why This Project?

This project showcases my journey as a blockchain developer, emphasizing my skills in smart contract development, decentralized finance (DeFi), and security practices. It is designed to be a foundational tool for anyone interested in decentralized stablecoin systems.


Technology Stack

  • Development Tools: Foundry
  • Programming Languages: Solidity
  • Testing Framework: Foundry for unit and integration tests
  • Deployment: Designed for Ethereum-compatible chains

Contributing

Contributions are welcome! To contribute to the project, follow these steps:

  1. Fork the Repository

    • Click the "Fork" button at the top right of this repository to create your own copy.
  2. Clone the Forked Repository

    • Use the following command to clone the repository to your local machine:
      git clone https://github.com/<your-username>/Decentralized-Stablecoin.git
      cd Decentralized-Stablecoin
  3. Create a New Branch

    • Create a branch for your feature or bug fix:
      git checkout -b feature/your-feature-name
  4. Make Your Changes

    • Implement your feature, fix bugs, or improve documentation.
    • Ensure that your code follows the project's coding standards.
  5. Run Tests

    • Before submitting your changes, ensure all tests pass:
      forge test
  6. Commit Your Changes

    • Commit your changes with a clear and concise message:
      git commit -m "Add: Description of your feature or fix"
  7. Push Your Branch

    • Push the branch to your forked repository:
      git push origin feature/your-feature-name
  8. Open a Pull Request

    • Go to the original repository and click "Pull Requests" > "New Pull Request".
    • Select your branch and provide a detailed description of your changes.

Contribution Guidelines

  • Ensure code is well-documented and tested.
  • Follow the coding style and standards of the project.
  • Be respectful and collaborative in code reviews and discussions.

Thank you for your contributions!

About

The Decentralized Stablecoin (DSC) Protocol is a DeFi project that enables users to mint and burn stablecoins pegged to $1.00. It uses exogenous collateral like wETH and wBTC, ensuring security through robust smart contracts and decentralized mechanisms. The project emphasizes scalability, transparency, and security, showcasing advanced blockchain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published