scrtlabs / Grants

Repository for grant proposal submissions
41 stars 22 forks source link

SILK - Private Algorithmic Stable Coin #22

Open mohammedpatla opened 3 years ago

mohammedpatla commented 3 years ago

Silk

https://github.com/securesecrets/shade

Project Description

Secure Secrets will create Silk, the world’s first native privacy-preserving stablecoin built on the Secret Network. Launching in tandem to Silk is Shade - the governance and utility token of Shade Protocol that helps algorithmically maintain the $1 Silk peg. Secure Secrets has already developed a pre-MVP demo that includes Keplr integration, a front-end built on the Griptape framework, Vue3, and secret contracts for minting Silk by burning sSCRT.

Pre-MVP photos (complete UI overhaul will be on the way):

image image image

New Branding: image

Problem / Solution

Current stablecoins such as TerraUSD have been designed based on protocol level architecture and incentives - relying on validators to maintain positions despite short term price volatility in return for inflationary governance token rewards that exist to resolve peg disparities. While a protocol level design has certain advantages, having the supply of the stablecoin be tied to validators (as conduits for token expansion) limits the long term viability and effectiveness of the stablecoin for two reasons: decentralization of the stablecoin expansion is tied to the validator set, and the total supply of both the stablecoin and the governance token is contingent upon indefinite inflation so as to properly incentivize validators. Additionally, these systems have no underlying collateral or intrinsic value outside of the maintenance of the peg and continued demand for the underlying stablecoin. Finally, there is no stablecoin in DeFi with transactional privacy by default. Silk is the solution to this problem - built on Secret Network as a native privacy-preserving algorithmic stablecoin using the SNIP-20 token standard. The Silk architecture is designed using a dual burn minting process for both the governance token Shade and the stablecoin Silk. Total stablecoin supply is limited by initial Shade distribution as well as Total Value Burned (TVB) in the minting process of both Shade & Silk (which are convertible with each other). Native AMM support in combination with Shade and Silk convertibility resolves peg disparities.

Additionally, Secret Network has a distinct liquidity problem when it comes to position changes on SecretSwap as it pertains to stablecoins. Slippage ranges from 10% - 1500% depending on position sizes, making it difficult for users to exit into stable value. As a result, the majority of large position changes are in the form of SNIP-20 -> sETH -> Binance -> stablecoin.

Part of the difficulty with liquidity on DEXs in Secret Network is that the value of the underlying liquidity is competing against a range of DeFi protocols external to Secret Network. While volume begets volume, users are currently actively struggling with this core liquidity issue.

Solution As such, this grant team proposes the creation of a native algorithmic burn-based stablecoin that can be natively minted by burning SCRT, IBC tokens, and SNIP-20 tokens. As more value is burned into this ecosystem, the more liquidity that will be available for use on DEXs on Secret Network. In essence, Secret Network will be able to natively generate stablecoin liquidity as opposed to having to pull it in from an external ecosystem. Additionally, Silk will have a significant amount of flexibility with expanding its implementation and capabilities over time as it pertains to integration with Secret DeFi and future Shade Products.

image

Contracts 3 & 4 (Conversion Minting) are identical to other algorithmic stablecoin pegs such as TerraUSD / Luna. Silk is not innovating with the peg resolve mechanisms. The significant innovation that is made with this particular MVP iteration of Shade Protocol has to do with the burn-based entry (known as “Entry Minting”) into the Shade ecosystem.

Alice can burn $50 worth of sSCRT for 50 Silk. Each Silk is worth a stable $1 of value, whereas the value of sSCRT can fluctuate based on larger market movements. Additionally, Alice has the option to burn $50 sSCRT to mint $50 worth of Shade. Arbitrage mechanisms that user’s can execute help maintain the peg at $1, as is demonstrated by the bottom right of the graphic above. Note that these peg arbitrage mechanisms are identical to TerraUSD/Luna which are what keep the stablecoin price maintained at $1 for Silk.

Burn based entry into the Shade ecosystem is distinctly different from other algorithmic stablecoin alternatives such as Terra because there is no indefinite block-based inflation attached to Shade Protocol. While Terra is limited in its protocol design because it needs a set of validators to execute transactions and resolve peg mechanisms, Shade Protocol does not need tokenomics specifically tied to the underlying validator set on Secret Network. This increases the amount of decentralization as with this iteration of Shade Protocol anyone has the opportunity to directly mint the governance token (Shade) as well as the stablecoin itself. This is a radically new architecture that has never been executed by any stablecoin design to date. This architecture not only creates a supply sink for assets that enter into Shade Protocol, but it also simultaneously increases decentralization of the underlying system. Where Terra is contingent upon inflationary rewards to resolve contraction based events, Shade Protocol instead relies on users to entry mint into Shade or using existing Shade in order to resolve contractionary peg disparities (as opposed to relying on a limited inflation based validator set).

Silk whitepaper (subject to change): https://32184fa2-0116-41dd-971d-2057a7b58cc8.filesusr.com/ugd/b34138_a782412307fe4810a7923e7ceeb7b23b.pdf

Detailed product description

Broad MVP Deliverables:

The end result of the MVP is a fully functioning and test stablecoin that will be launched on mainnet. Additionally, all contracts will be extendable for future Shade Product releases as well as features (such as Global Yield Derivation outlined in the Silk whitepaper).

This development team will commit to bi-weekly updates on development progress, as well as regular meetings.

Go-to-Market plan

Initial Shade Distribution (ISD) once Shade Protocol is ready to be launched with v1 of the mainnet launch (an iteration that occurs after the completion of this MVP) will strongly incentivize individuals to burn tokens to enter into the Shade Protocol ecosystem. This will include a Shade Atom staking airdrop as well a SCRT staking airdrop. Double liquidity providing (Shade + DEX gov tokens such as SEFI or Sienna) will incentivize users to acquire Silk and Shade in particular. Additionally, a % of ISD will be dedicated to minting incentives for those that choose to mint Silk and Shade. Marketing will involve the various BizDev members attached to the core dev team, as well as various external entities and marketing initiatives to draw awareness and demand for Silk and Shade.

Value capture for Secret Network ecosystem

The main KPIs for Secret Network are as follows:

A successfully launched Silk & Shade will bring in a whole host of new users from the Atom airdrop, increased usage for DEXs, attract new liquidity to the Secret Network ecosystem, as well as a distinct supply sink for SCRT because of the burn-based entry of Shade Protocol. A natively generated stablecoin can serve as the basis for a host of Secret Network DeFi applications. Finally, this grant will empower an existing developer team to continue to build and share their expertise with the developer ecosystem.

Developers

(1) Mohammed Patla (Project Lead) (2) Carter Woetzel (Grant Lead / Developer) (3) Austin Woetzel (Front-end Developer) (4) Roman Sanine (Front-end Developer) (5) Guy Garcia (Secret Contract Developer) (6) Jack Swenson (Secret Contract Developer)

Other Shade Protocol contributors separate from grant

Jeremy (BizDev), Dalton (Marketing), Stephany Wood (Graphics), .

Dev’s experience

Secure Secrets is one of the oldest teams in the Secret Network ecosystem, with both the founder and co-founder in the blockchain privacy domain since 2017. Secure Secrets contributes to the opensource Secret Network website, has built out scrt.learn documentation, and has created 65+ pieces of educational community content. While Secure Secrets is relatively young as an organization, we are fully committed to creating valuable Secret Network application-layer products for the Secret Network community.

Team Code Repos

https://github.com/securesecrets https://github.com/mohammedpatla https://github.com/AustinWoetzel https://github.com/FloppyDisck https://github.com/DrPresident https://github.com/CarterLWoetzel

Team LinkedIn Profiles

Development Roadmap

This project will require a full 14 weeks to bring from the pre-MVP demo which already exists, all the way to a full mainnet launch. 4 developers at $42.75 an hour 20 hours per week 14 weeks ~ $47,880. Lead researcher + project manager ~ $42.00 20 hours 6 weeks = $5,040. The total cost is ~$52,920 (paid in SCRT). Current price places this around ~33,000 - 35,000 SCRT.

Cost basis is paid out in SCRT based off of a rolling 2 week average price.

Detailed Milestones:

Initial MVP release (weeks 0 - 4) - $13,090

Synthesis and UI (weeks 4 - 8) - $17,374

Testing and Governance (weeks 8 - 14) - $22,414

Full Document

guyz commented 3 years ago

This is a much needed project, well done! We've discussed this offline and this version is approved.

mohammedpatla commented 3 years ago

https://www.youtube.com/watch?v=oxrO8AMoVCE