Description of the Shade Protocol tech stack.
The Shade Apps are made possible from the following key tech stack pieces:
- Data Privacy
- Private Smart Contracts
- Oracle Solutions
- Secret Token (SNIP) Standard
Ultimately, the above underlying tech components are what empower the unique value proposition of the performant, privacy-preserving DeFi known as Shade Protocol.
TEEs are part of the hardware specification for all validator nodes of the network, guaranteeing that nodes are unable to view computations that occur within the trusted environment - preserving the privacy of the underlying data during the computation. Shade Protocol implements programmable privacy, which is defined as arbitrarily complex data privacy controls within Shade Apps.
Secret Network Whitepaper.pdf
Rust enforces memory safety—that is, that all references point to valid memory—without requiring the use of a garbage collector or reference counting present in other memory-safe languages. To simultaneously enforce memory safety and prevent concurrent data races, Rust's borrow checker tracks the object lifetime and variable scope of all references in a program during compilation.
Band Protocol is a cross-chain data oracle platform that aggregates and connects real-world data and APIs to smart contracts. This allows data from other blockchains as well as real-world data to be directly used by Shade Protocol for Silk, ShadeSwap, Bonds, and the many various Shade Apps. Band Protocol was implemented for the following reasons:
- Easy to integrate
- Cosmos native
- Operated by a wide array of decentralized professional node operators
Shade Protocol partnered with SupraOracles in 2022 - a long term initiative to further decentralize Shade Protocol's existing oracle solutions. SupraOracles implementation is being pursued for the following reasons:
- 3-5 second finality
- Cross-chain interoperability
- Cutting edge cryptography
- Data provider rotations
Shade Protocol leverages the Secret Token standard for Silk and SHD. The SNIP standard is a specification for private fungible tokens based on CosmWasm on the Secret Network. The name and design is loosely based on Ethereum’s ERC-20 & ERC-777 standards, and a superset of CosmWasm’s CW-20. Key additions to this spec over the CW-20 specification are mostly for privacy-focused features, and as such will strive to maintain compatibility. Features of SNIP tokens are as follows:
- Private transactions
- Private smart contract interactions
- IBC interoperable