2.1 KiB
Darkfi collateral-backed stablecoin (Nun1 )
Collateral backed stablecoin with low volatility redemption price (based-off Dai) over darkfi blockchain requires:
- Governance DAO for managing safes/vaults parameters.
- Order book exchange of DAO governance token (Nut2 ) with Nun anonymously.
- Blind debt/surplus auction for selling, and buying Nun, and Nut.
- Price oracles.
Governance Dao
In order for the Nun governing Dao community to vote on proposals using Darkfi dao, it's needed to commit to protocol proposal statements hash, or collateral vault contract call data, otherwise passed proposals could be faked.
Blind auction
Initialization
Auction initiate contract for storing commitment to auction duration, bids, bid opening time limit, winning proof.
Bid commitment
Bidders commit to bid x as through homomorphically encrypted commitment with blind term r as cm(x,r).
Bid opening
Opening bid x, and bliding term r with the Auctioneer using it's public key
winning proof
Bids can be sorted by homomorphic property cm_{i,j} = \frac{cm_i}{cm_j} = cm(x_i-x_j), the order can serve as winning zk proof.
Price oracle
Although price oracle can be challenging in anonymous exchange, renegade3 dark pool reveal price midpoint pair at match phase, and can be used as price oracle.
variable redemption price.
Pegging redemption price to 1 dollar is good for the time being for storing value in a low volatility coin as long as the dollar is holding value, this assumption can't be maintained for any fiat currency at time of erosion of dollar hegemony, alternatively redemption price can be set by feedback loop similar to Rai4 can help Nun hold value during times of high inflation of fiat currency.
-
deep darkness of cosmic ocean. ↩︎
-
governing sky ↩︎
-
https://raw.githubusercontent.com/reflexer-labs/whitepapers/master/English/rai-english.pdf ↩︎