over budget
Djed Osiris Decentralized Stablecoin on Cardano's EVM Sidechain Milkomeda
Current Project Status
Unfunded
Amount
Received
₳0
Amount
Requested
₳499,030
Percentage
Received
0.00%
Solution

We have researched and implemented the Osiris version of the Djed stablecoin protocol to Milkomeda. The Osiris version improves the Minimal version in ways that make it more robust.

Problem

Cardano and Milkomeda lacked a fully autonomous, zero-governance, decentralized, censorship-resistant, transparent and reliable stablecoin protocol. We have successfully addressed this need.

Impact Alignment
Feasibility
Value for money

Team

1 member

Djed Osiris Decentralized Stablecoin on Cardano's EVM Sidechain Milkomeda

Please describe your proposed solution.

The Djed family of stablecoin protocols is characterized by being crypto-backed and autonomous. Users can buy and sell stablecoins and reservecoins by interacting with the contract for prices that depend on an oracle and on the reserve ratio. The contract's algorithm aims to keep the reserve ratio significantly greater than 100%, thus ensuring that every stablecoin is backed by significantly more than 1 USD worth of ADA and can absorb significant price shocks. Stability theorems have been mathematically proven and formally verified, and the paper was accepted at the IEEE International Conference on Blockchain and Cryptocurrency.

Djed Operations

This implementation of a stablecoin protocol on Milkomeda is based on the Osiris version of Djed, which improves the Minimal version by allowing the sale of reservecoins even when the reserve ratio is below the minimum threshold, provided that stablecoins are simultaneously sold in a proportion that increases the reserve ratio. This makes it easier for the reserve ratio to recover and for the peg in secondary markets to be restored even in situations where the demand for stablecoins is high and the demand for reservecoins is low following a price shock (a situation that is currently affecting SigmaUSD and COTI's Djed, making them trade above the peg at secondary markets). This version also introduces maximum transaction limits, in order to reduce the wholesale discount effect described in the paper.

Our solution is composed of:

  • Fully immutable smart contracts, running on Milkomeda.
  • A frontend (accessible here: https://milkomeda-c1.djed.one) that has also been deployed to IPFS (InterPlanetary File System) and that can also be run locally by anyone.

Therefore, it is fully autonomous, zero-governance, not operated by anyone, censorship resistant, transparent (with code open to inspection and contributions), audited and rent-seeking-free.

To know more, watch our whiteboard animation video.

To reduce the friction for users of Cardano to use this deployment of Djed on Milkomeda, we will do two things:

  • Integrate Milkomeda's Wrapped Smart Contract functionality, which will allow users to interact with Milkomeda Djed contract directly from their cardano wallets (Flint, Eternl, Nami and NuFi will be supported), with no need to manually bridge ADA from Cardano to Milkomeda.
  • The distribution of delegation rewards to the reserve of the contract.

Please define the positive impact your project will have on the wider Cardano community.

Stablecoins are explicitly listed here (<https://cardano.ideascale.com/c/campaigns/348/about>) as being of a type of project addressing the Products & Integrations challenge within the DeFi category.

As the challenge states, "Cardano needs a thriving ecosystem of different products and integrations for the community to use that increasingly become the better alternatives over current centralised providers". Djed Osiris on Milkomeda is the first fully decentralized (operator-free, governance-free, fully imutable) stablecoin protocol in the Cardano ecosystem, and thus directly addresses the challenge's statement.

Stablecoins are a foundational building block to enable DeFi to flourish on Cardano. Djed Osiris ensures that this foundation is strong and reliable.

What is your capability to deliver your project with high levels of trust and accountability? How do you intend to validate if your approach is feasible?

The Djed Alliance is the guardian of the Djed stablecoin protocol and is supportive of all faithful Djed deployments. This proposal is focused on one particular deployment (Milkomeda Djed Osiris) of Djed, a community-driven implementation of Djed that has counted with the contributions from numerous anonymous contributors and by people affiliated with the following teams:

Bloxico: a company founded in 2018 by several blockchain and fintech experts with the goal of creating second to none software products in fintech and Web3 domain. Bloxico is focused on continuous innovation, always searching for new solutions that use Blockchain to revolutionize the way Business is done, with quality as a top priority. Bloxico has enjoyed an astonishing growth of 1152% since its inception. It currently gathers a team of 100+ highly skilled professionals and was recognized internationally by being ranked 9th on the Deloitte Technology Fast 50 Central Europe list. Bloxico is IOG’s known partner that contributed to several strategic projects, including COTI's Djed implemented in Plutus on the Cardano Blockchain.

AOSSIE: the Australian Open Source Software Innovation and Education association, a not-for-profit registered charity founded in 2016 and funded by Google Summer of Code every year to mentor students in open source software development of innovative projects.

Thespian: a full-cycle software development company founded in 2015.

Vacuum Labs: building across the fintech landscape for organizations of all sizes – from startups and scaleups, to leading corporations, since 2012.

dcSpark: The company that built Milkomeda and that was founded by 2 members of the original 5-person team that did the research and development of Djed.

This decentralized team of teams has faced unspeakable challenges in the delivery of this deployment of Djed. To overcome these challenges, high opportunity costs were incurred. We hope the Cardano community will appreciate it. The Djed alliance is proud to support this deployment of Djed.

What are the key milestones you need to achieve in order to complete your project successfully?

Refactoring and simplification of the Minimal Djed smart contract.

>Implementation of the Djed Osiris features (simultaneous sale of stablecoins and reservecoins, transaction limits and decreasing treasury fee) in the smart contract.

>Refactoring of the frontend, to conform with the new interface of the improved and upgraded smart contract.

>Audit of the smart contract.

>Implement Wrapped Smart Contract integration.

>Implement distribution of delegation rewards to the reserve of the contract.

Who is in the project team and what are their roles?

This project benefitted from contributions by people and teams who wish to remain anonymous and by people and teams whose identity and participation in the project is known. Below we list only the latter.

Please provide a cost breakdown of the proposed work and resources.

  • Refactoring of Minimal Djed smart contract: 15000 USD.
  • Implementation of auxiliary contracts: 900 USD.
  • Research of Djed Osiris features: 30000 USD.
  • Implementation of Djed Osiris features: 15000 USD.
  • Research of Improvements for Milkomeda's Open Oracle (MOO): 15000 USD.
  • Implementation of Improvements for Milkomeda's Open Oracle (MOO): 11000 USD.
  • Implementation of a better Oracle poster script: 1180 USD.
  • Refactoring of the frontend: 22000 USD.
  • Testing and Devops: 5535 USD.
  • Audits: 9600 USD.
  • Marketing : 15240 USD.
  • Business development (for adoption by DEXes on Milkomeda): 10000 USD
  • Infographic: 105 USD.
  • White Board Animation: 263 USD.
  • Djed Alliance Logo: 89 USD.
  • Domain Purchase: 100 USD.
  • Home-Page: 2600 USD.
  • Implementation of oracle adapters: 10000 USD
  • Implementation of wrapped smart contracts: 20000 USD
  • Implementation of delegation rewards: 20000 USD

Total: 199612 USD

Total: 499030 ADA

(Assuming 1 ADA = 0.4 USD)

How does the cost of the project represent value for money for the Cardano ecosystem?

This project significantly enhances the user experience for people on Cardano who need a decentralized stablecoin, by making Milkomeda Djed Osiris available directly on Cardano's mainnet. This will provide a solid foundation for Cardano's DeFi to flourish.

The software development costs were calculated by carefully tracking each contributor's spent time and multiplying it by his or her hourly rate. Contributors were from countries where rates are (un)fortunately low, such as: Serbia, Poland, Mexico and India…

close

Playlist

  • EP2: epoch_length

    Authored by: Darlington Kofa

    3m 24s
    Darlington Kofa
  • EP1: 'd' parameter

    Authored by: Darlington Kofa

    4m 3s
    Darlington Kofa
  • EP3: key_deposit

    Authored by: Darlington Kofa

    3m 48s
    Darlington Kofa
  • EP4: epoch_no

    Authored by: Darlington Kofa

    2m 16s
    Darlington Kofa
  • EP5: max_block_size

    Authored by: Darlington Kofa

    3m 14s
    Darlington Kofa
  • EP6: pool_deposit

    Authored by: Darlington Kofa

    3m 19s
    Darlington Kofa
  • EP7: max_tx_size

    Authored by: Darlington Kofa

    4m 59s
    Darlington Kofa
0:00
/
~0:00