{"id":803,"date":"2023-01-04T13:43:26","date_gmt":"2023-01-04T13:43:26","guid":{"rendered":"https:\/\/www.bbcode.org\/?p=803"},"modified":"2023-01-06T19:37:52","modified_gmt":"2023-01-06T19:37:52","slug":"djed","status":"publish","type":"post","link":"https:\/\/www.bbcode.org\/djed.php","title":{"rendered":""},"content":{"rendered":"<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\">\n<div class=\"col-lg-12 col-md-12 col-xs-12 col-sm-12\">\n<h1 class=\"color5-color\"><span style=\"color: #000000;\">How Djed stablecoin works (extended Djed)<\/span><\/h1>\n<div class=\"row bg-editor-hr-wrap\">\n<div class=\"col-md-12 col-sm-12 col-xs-12 col-lg-12\">\n<div>\n<hr class=\"bg-hr\">\n<\/div>\n<\/div>\n<\/div>\n<p class=\"\">Today we will learn how the stable coin Djed works.&nbsp;There are two models: minimal and extended Djed.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/2-1.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-804\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/2-1.jpg?resize=619%2C452&#038;ssl=1\" alt=\"\" width=\"619\" height=\"452\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/2-1.jpg?w=619&amp;ssl=1 619w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/2-1.jpg?resize=300%2C219&amp;ssl=1 300w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><\/a><\/p>\n<p class=\"\">In this article I will try to explain the most robust and complete model: the extended Djed.&nbsp;So, let&#8217;s understand some important concepts to avoid confusion.<\/p>\n<p class=\"\">First, it is important to understand the difference between buying stablecoins from other users on exchanges&nbsp;and buying stablecoins directly from the autonomous bank that manages the stablecoin.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/4-1.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-805\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/4-1.jpg?resize=630%2C463&#038;ssl=1\" alt=\"\" width=\"630\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/4-1.jpg?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/4-1.jpg?resize=300%2C220&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/a><\/p>\n<p class=\"\">When you buy stablecoins on exchanges, you are just exchanging one token for another, For example, you sell ADAs in exchange for Djeds.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/5-1.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-806\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/5-1.jpg?resize=629%2C463&#038;ssl=1\" alt=\"\" width=\"629\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/5-1.jpg?w=629&amp;ssl=1 629w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/5-1.jpg?resize=300%2C221&amp;ssl=1 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/p>\n<h2 class=\"\">What is the difference of buying stablecoins from the autonomous bank?<\/h2>\n<p class=\"\">When you buy from a autonomous bank, you don&#8217;t sell your ADAs you just leave them locked up as collateral to issue Djeds.&nbsp;<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/6-1.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-807\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/6-1.jpg?resize=638%2C463&#038;ssl=1\" alt=\"\" width=\"638\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/6-1.jpg?w=638&amp;ssl=1 638w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/6-1.jpg?resize=300%2C218&amp;ssl=1 300w\" sizes=\"auto, (max-width: 638px) 100vw, 638px\" \/><\/a><\/p>\n<p class=\"\">The logic is the same as we saw in the article about the <a href=\"https:\/\/www.bbcode.org\/dai.php\">DAI cryptocurrency<\/a>. It is a loan. You deposit a guarantee and borrow stablecoins.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/7-1.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-808\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/7-1.jpg?resize=627%2C465&#038;ssl=1\" alt=\"\" width=\"627\" height=\"465\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/7-1.jpg?w=627&amp;ssl=1 627w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/7-1.jpg?resize=300%2C222&amp;ssl=1 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<p class=\"\">That way, when you return the stablecoins to the bank, your ADAs will return to you. For those who need dollars today and don&#8217;t want to have to sell their ADAs borrowing Djed might be a good idea.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/8-1.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-809\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/8-1.jpg?resize=631%2C457&#038;ssl=1\" alt=\"\" width=\"631\" height=\"457\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/8-1.jpg?w=631&amp;ssl=1 631w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/8-1.jpg?resize=300%2C217&amp;ssl=1 300w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/a><\/p>\n<p class=\"\">The ADAs deposited as collateral form the bank&#8217;s reserve.&nbsp;The Djed coins have value in the market because at any time you can go to the bank and return these Djeds to get your ADAs back.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/10.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-811\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/10.jpg?resize=631%2C463&#038;ssl=1\" alt=\"\" width=\"631\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/10.jpg?w=631&amp;ssl=1 631w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/10.jpg?resize=300%2C220&amp;ssl=1 300w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/a><\/p>\n<p class=\"\">By establishing that 1 Djed is equivalent to 1 dollar, the amount of Djeds you can issue at the bank depends on the current value of the ADA coin.&nbsp;If 1 ADA is worth 2 dollars, theoretically 1 ADA would allow you to issue 2 Djeds.&nbsp;<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/11-1.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-812 size-full\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/11-1.jpg?resize=629%2C461&#038;ssl=1\" alt=\"issuing djed on the autonomous bank\" width=\"629\" height=\"461\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/11-1.jpg?w=629&amp;ssl=1 629w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/11-1.jpg?resize=300%2C220&amp;ssl=1 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/p>\n<p class=\"\">But this would be very risky for the protocol, because if the market value of ADA fell below $2, the bank would not have enough reserves to pay the user who returned their 2 Djeds, implying that the market value of Djed would be less than $1 in this scenario.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/12-1.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-813\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/12-1.jpg?resize=627%2C463&#038;ssl=1\" alt=\"\" width=\"627\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/12-1.jpg?w=627&amp;ssl=1 627w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/12-1.jpg?resize=300%2C222&amp;ssl=1 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<p class=\"\">To avoid this situation and not suffer from ADA price fluctuations&nbsp;the dollar value of the bank&#8217;s total reserve needs to be greater than the total value of Djeds issued.<\/p>\n<p class=\"\">If the dollar value of the total reserve of ADAs is 1,5 times the total value of issued Djeds.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/13.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-814\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/13.jpg?resize=630%2C461&#038;ssl=1\" alt=\"\" width=\"630\" height=\"461\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/13.jpg?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/13.jpg?resize=300%2C220&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/a><\/p>\n<p class=\"\">It means that the price of ADA can be 0,67 times lower in the market without compromising the parity of the Djed.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/14.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-815\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/14.jpg?resize=634%2C463&#038;ssl=1\" alt=\"\" width=\"634\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/14.jpg?w=634&amp;ssl=1 634w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/14.jpg?resize=300%2C219&amp;ssl=1 300w\" sizes=\"auto, (max-width: 634px) 100vw, 634px\" \/><\/a><\/p>\n<p class=\"\">After all, 0,67 * 1,5 = 1. Note that the more reserves, the more secure parity becomes.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/15.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-816\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/15.jpg?resize=629%2C463&#038;ssl=1\" alt=\"\" width=\"629\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/15.jpg?w=629&amp;ssl=1 629w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/15.jpg?resize=300%2C221&amp;ssl=1 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/p>\n<p class=\"\">Now consider this, if the dollar equivalent value of the bank&#8217;s reserve is decreasing,<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/16.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-817\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/16.jpg?resize=627%2C465&#038;ssl=1\" alt=\"\" width=\"627\" height=\"465\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/16.jpg?w=627&amp;ssl=1 627w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/16.jpg?resize=300%2C222&amp;ssl=1 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<p class=\"\">users should ideally be encouraged to deposit more reserves without issuing new Djeds. The protocol allows this by buying &#8220;Reserve Coins&#8221;.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/17.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-818 size-full\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/17.jpg?resize=627%2C465&#038;ssl=1\" alt=\"reserve coins rc\" width=\"627\" height=\"465\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/17.jpg?w=627&amp;ssl=1 627w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/17.jpg?resize=300%2C222&amp;ssl=1 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<p class=\"\">It works like this: Imagine that the dollar value of the bank&#8217;s total reserve is 1 million and there are 700.000 Djeds in circulation. This means that the bank has a surplus of $300.000,00 at the moment.<\/p>\n<p class=\"\">Now consider that there is a coin called RC and that there are 1.000 such coins in circulation.&nbsp;This coin will represent the surplus of the bank, because its value depends on the surplus the bank has.&nbsp;If the surplus is $300.000,00 and there are 1.000 RCs in circulation, each RC is worth approximately $300,00.<\/p>\n<p class=\"\">In practice it is not exactly that as there are more fees and parameters involved,&nbsp;but we will talk about them later.&nbsp;You can buy RCs directly from the autonomous bank.&nbsp;The bank sets the price of the RC and you provide ADAs in exchange.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/18.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-819 size-full\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/18.jpg?resize=631%2C461&#038;ssl=1\" alt=\"reserve coin price\" width=\"631\" height=\"461\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/18.jpg?w=631&amp;ssl=1 631w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/18.jpg?resize=300%2C219&amp;ssl=1 300w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/a><\/p>\n<p class=\"\">Consider also that RC gets cheaper and cheaper as the surplus approaches zero. But RC is never worth zero.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/19.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-820\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/19.jpg?resize=634%2C465&#038;ssl=1\" alt=\"\" width=\"634\" height=\"465\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/19.jpg?w=634&amp;ssl=1 634w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/19.jpg?resize=300%2C220&amp;ssl=1 300w\" sizes=\"auto, (max-width: 634px) 100vw, 634px\" \/><\/a><\/p>\n<p class=\"\">I put on the image some exaggerated values just to illustrate, but in practice the reference point is not the surplus reaching zero but the surplus reaching a limit value considered safe by the protocol. This safe value is defined by a parameter that we will discuss later.&nbsp;<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/20.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-821\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/20.jpg?resize=629%2C465&#038;ssl=1\" alt=\"\" width=\"629\" height=\"465\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/20.jpg?w=629&amp;ssl=1 629w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/20.jpg?resize=300%2C222&amp;ssl=1 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/p>\n<p class=\"\">Back to our example, let&#8217;s look at the implications.<\/p>\n<p class=\"\">If the bank surplus has decreased, it means that the price of RC has decreased. So users may want to buy RC because it is cheap and may increase in price later.&nbsp;The lower the bank&#8217;s surplus value, the more attractive it will be for users to buy RCs, which counterbalances and increases the surplus.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/21.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-822\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/21.jpg?resize=633%2C465&#038;ssl=1\" alt=\"\" width=\"633\" height=\"465\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/21.jpg?w=633&amp;ssl=1 633w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/21.jpg?resize=300%2C220&amp;ssl=1 300w\" sizes=\"auto, (max-width: 633px) 100vw, 633px\" \/><\/a><\/p>\n<p class=\"\">Similarly, if there is too much surplus in the bank, the value of the RC will be high,&nbsp;which will encourage users to sell their RCs to realize profits.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/22.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-823\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/22.jpg?resize=631%2C461&#038;ssl=1\" alt=\"\" width=\"631\" height=\"461\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/22.jpg?w=631&amp;ssl=1 631w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/22.jpg?resize=300%2C219&amp;ssl=1 300w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/a><\/p>\n<p class=\"\">Note that every time a user buys or sells RCs with the bank, the bank is issuing or burning RCs.<\/p>\n<p class=\"\">Since the value of RC depends on the bank&#8217;s surplus and the total number of RCs in circulation,&nbsp;a purchase or sale of RCs should not have much impact on the RC price. After all each transaction changes both the value of the surplus and the amount of RCs in circulation,&nbsp;and the price of RC coin is somehow proportional to this ratio.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/23.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-824 size-full\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/23.jpg?resize=631%2C463&#038;ssl=1\" alt=\"bank surplus\" width=\"631\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/23.jpg?w=631&amp;ssl=1 631w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/23.jpg?resize=300%2C220&amp;ssl=1 300w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/a><\/p>\n<p class=\"\">On the other hand, fluctuations in the value of ADA change the value of RC&nbsp;as they directly impact the value of the surplus.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/24.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-825\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/24.jpg?resize=629%2C465&#038;ssl=1\" alt=\"\" width=\"629\" height=\"465\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/24.jpg?w=629&amp;ssl=1 629w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/24.jpg?resize=300%2C222&amp;ssl=1 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/p>\n<p class=\"\">If there are too many RCs in circulation, increases in the surplus will represent a very small gain for RC holders.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/25.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-826\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/25.jpg?resize=629%2C467&#038;ssl=1\" alt=\"\" width=\"629\" height=\"467\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/25.jpg?w=629&amp;ssl=1 629w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/25.jpg?resize=300%2C223&amp;ssl=1 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/p>\n<p class=\"\">Therefore, to avoid this dilution, there is a disincentive to buy RCs after a certain threshold&nbsp;through a fee that makes these purchases more expensive.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/26.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-827\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/26.jpg?resize=629%2C465&#038;ssl=1\" alt=\"\" width=\"629\" height=\"465\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/26.jpg?w=629&amp;ssl=1 629w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/26.jpg?resize=300%2C222&amp;ssl=1 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/p>\n<p class=\"\">Similarly, this dynamic fee makes RCs cheaper and cheaper as the surplus approaches a threshold value.&nbsp;This threshold is a parameter that determines how much surplus the autonomous bank should have in reserves.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/27.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-828\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/27.jpg?resize=627%2C463&#038;ssl=1\" alt=\"\" width=\"627\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/27.jpg?w=627&amp;ssl=1 627w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/27.jpg?resize=300%2C222&amp;ssl=1 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<p class=\"\">The buying and selling prices of RCs are determined by two equations that basically try to make the system converge to this optimal point&nbsp;where the amount of reserves the autonomous bank should have is optimal considering all factors.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/28.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-829\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/28.jpg?resize=623%2C463&#038;ssl=1\" alt=\"\" width=\"623\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/28.jpg?w=623&amp;ssl=1 623w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/28.jpg?resize=300%2C223&amp;ssl=1 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/a><\/p>\n<p class=\"\">&nbsp;<\/p>\n<h2 class=\"\">Ok, but what would happen in very adverse scenarios?<\/h2>\n<p class=\"\">If the value of reserves falls so low that there is no longer a surplus and the stable coin loses parity, users can still sell stable coins to the autonomous bank.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/29.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-830\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/29.jpg?resize=629%2C461&#038;ssl=1\" alt=\"\" width=\"629\" height=\"461\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/29.jpg?w=629&amp;ssl=1 629w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/29.jpg?resize=300%2C220&amp;ssl=1 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/p>\n<p class=\"\">But instead of receiving the equivalent value of 1 dollar per Djed, they will receive the proportional value of the amount of reserves in relation to the total number of Djeds in circulation. The difference in this amount relative to $1 is made up by giving users RCs, increasing the number of RCs in circulation.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/30.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-831\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/30.jpg?resize=629%2C457&#038;ssl=1\" alt=\"\" width=\"629\" height=\"457\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/30.jpg?w=629&amp;ssl=1 629w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/30.jpg?resize=300%2C218&amp;ssl=1 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/p>\n<p class=\"\">&nbsp;<\/p>\n<p class=\"\">The lower the reserves, the more discouraged users are from selling RCs,&nbsp;according to the RC selling equation, and more encouraged to buy, according to the RC buying equation.<\/p>\n<p class=\"\">In summary, one of the key ideas for maintaining Djed parity with 1 dollar is to counterbalance a possible loss in value of reserves with an increasingly interesting opportunity to buy RCs, representing high profits should the system stabilize again.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/31.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-832 size-full\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/31.jpg?resize=631%2C461&#038;ssl=1\" alt=\"djed stablecoin dynamics\" width=\"631\" height=\"461\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/31.jpg?w=631&amp;ssl=1 631w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/31.jpg?resize=300%2C219&amp;ssl=1 300w\" sizes=\"auto, (max-width: 631px) 100vw, 631px\" \/><\/a><\/p>\n<p class=\"\">I have omitted several aspects of the protocol in this article trying to bring a generic and simplified explanation,&nbsp;but all the details and equations can be checked in the official paper. This is the first stable coin protocol that has gone through formal verification.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/32.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-833\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/32.jpg?resize=629%2C463&#038;ssl=1\" alt=\"\" width=\"629\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/32.jpg?w=629&amp;ssl=1 629w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/32.jpg?resize=300%2C221&amp;ssl=1 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/p>\n<p class=\"\">In this example I used ADA as a reserve and dollar as parity,&nbsp;but the concept can be applied to any asset that you want to hold parity or reserves allowing the most diverse types of stable coins.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/33.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-834\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/33.jpg?resize=627%2C463&#038;ssl=1\" alt=\"\" width=\"627\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/33.jpg?w=627&amp;ssl=1 627w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/33.jpg?resize=300%2C222&amp;ssl=1 300w\" sizes=\"auto, (max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<p class=\"\">If we think about the DAI stable coin, it is managed by the Maker project within the Ethereum platform.<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/34.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-835 size-full\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/34.jpg?resize=630%2C467&#038;ssl=1\" alt=\"dai ethereum maker\" width=\"630\" height=\"467\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/34.jpg?w=630&amp;ssl=1 630w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/34.jpg?resize=300%2C222&amp;ssl=1 300w\" sizes=\"auto, (max-width: 630px) 100vw, 630px\" \/><\/a><\/p>\n<p class=\"\">In the case of Djed, the COTI project will be responsible for managing the protocol within the Cardano platform. A small portion of the fees from these protocols goes to the project that manages them.&nbsp;<\/p>\n<p class=\"\"><a href=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/35.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-836 size-full\" src=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/35.jpg?resize=629%2C463&#038;ssl=1\" alt=\"djed cardano coti\" width=\"629\" height=\"463\" srcset=\"https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/35.jpg?w=629&amp;ssl=1 629w, https:\/\/i0.wp.com\/www.bbcode.org\/wp-content\/uploads\/2023\/01\/35.jpg?resize=300%2C221&amp;ssl=1 300w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/a><\/p>\n<p class=\"\">In the case of COTI, the project has pursued several partnerships and licenses with financial solutions,&nbsp;and will be able to use this expertise to drive the adoption of Djed.<\/p>\n<p class=\"\">Cardano, on the other hand, benefits from having a robust stablecoin running under its architecture&nbsp;similar to what happens with Ethereum in relation to DAI.&nbsp;But the integration of Djed into the Cardano ecosystem will be even deeper.<\/p>\n<p class=\"\">One of the goals is to use Djed as a reference for charging fees on the platform, making predictability easier for pool operators and users by introducing the concept of stable fees.<\/p>\n<p class=\"\"><strong>References: <\/strong><\/p>\n<ul class=\"\">\n<li><strong>Oficial paper:<\/strong> https:\/\/eprint.iacr.org\/2021\/1069.pdf<\/li>\n<li><strong>IOHKs post<\/strong>: https:\/\/iohk.io\/en\/blog\/posts\/2021\/08\/18\/djed-implementing-algorithmic-stablecoins-for-proven-price-stability\/<\/li>\n<li><strong>Presentation by Bruno Paleo<\/strong>: https:\/\/www.youtube.com\/watch?v=zG-rxMCDIa0&amp;t=8366s<\/li>\n<li><strong>Stable fees concept:<\/strong> https:\/\/iohk.io\/en\/blog\/posts\/2021\/06\/10\/stablefees-and-the-decentralized-reserve-system\/<\/li>\n<li><strong>Coti blog:<\/strong> https:\/\/medium.com\/cotinetwork\/why-being-the-issuer-of-djed-cardanos-official-stablecoin-is-a-game-changer-for-coti-f4945494fc40<\/li>\n<li><strong> Djed website<\/strong>: https:\/\/djed.xyz\/<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How Djed stablecoin works (extended Djed) Today we will learn how the stable coin Djed works.&nbsp;There are two models: minimal and extended Djed. In this article I will try to explain the most robust and complete model: the extended Djed.&nbsp;So, let&#8217;s understand some important concepts to avoid confusion. First, it is important to understand the &#8230; <a title=\"\" class=\"read-more\" href=\"https:\/\/www.bbcode.org\/djed.php\" aria-label=\"More on \">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"table_tags":[],"class_list":["post-803","post","type-post","status-publish","format-standard","hentry","category-web3"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bbcode.org\/wp-json\/wp\/v2\/posts\/803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bbcode.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bbcode.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bbcode.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bbcode.org\/wp-json\/wp\/v2\/comments?post=803"}],"version-history":[{"count":4,"href":"https:\/\/www.bbcode.org\/wp-json\/wp\/v2\/posts\/803\/revisions"}],"predecessor-version":[{"id":1007,"href":"https:\/\/www.bbcode.org\/wp-json\/wp\/v2\/posts\/803\/revisions\/1007"}],"wp:attachment":[{"href":"https:\/\/www.bbcode.org\/wp-json\/wp\/v2\/media?parent=803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bbcode.org\/wp-json\/wp\/v2\/categories?post=803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bbcode.org\/wp-json\/wp\/v2\/tags?post=803"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/www.bbcode.org\/wp-json\/wp\/v2\/table_tags?post=803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}