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.
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.