LogoLogo
Launch App
  • ⚡Get Started
    • 1️⃣Step 1: Connect Your Wallet
      • 💳Wallets: Best Web3 Options
      • 💰FOUR Ways to Get Funds onto the Shade App
      • 💰How to move tokens from a CEX to Shade
    • 2️⃣Step 2: Create a Viewing Key
    • 3️⃣Step 3a: Hit The Button -> Buy SHD in >30 seconds
    • 3️⃣Step 3b: Bridge
      • How to bridge to Secret Network
      • How to bridge assets from Secret Network to another chain
    • 4️⃣Step 4: Swap Assets
    • 5️⃣Step 5: Use our Features
      • 💲Bonds Feature
        • How to Claim Bond Rewards
        • How to Purchase a Bond
      • 🏦Borrow Feature
        • Borrow (Silk): How to take out and repay a loan
        • Borrow (Silk Earn): How to Deposit and Withdraw
        • Borrow FAQ
      • 📈Derivatives Feature
      • 📖History Feature
        • What is a transaction hash
        • How to view transaction history
      • 💧Pools Feature
        • How to Enter and Exit Liquidity Pools
        • How to Stake and Unstake
        • How to Claim Rewards
        • 'Mint LP Shares and Stake' vs. 'Mint LP Shares'
        • Liquidity Pool FAQ
      • 💹Portfolio Feature
      • ➡️Send Feature
      • 🔵SILK Feature
        • How to Buy Silk
        • SILK's Peg
        • SILK FAQ
      • 📍Stake Feature
        • How to Stake and Unstake
        • What is stkd-SCRT
      • ⚙️Utilities Feature
      • 🔁Wrap Feature
      • 💠NFTs
        • How to Purchase a Shade NFT
        • How to Verify NFT Ownership
        • How to Sell an NFT
        • How to Bid on an NFT
    • 6️⃣Step 6: Connect with Community
    • 📚Beginner Resources
      • What is SCRT
      • Convert SCRT <> sSCRT
      • ⛽Gas Fees
        • How to Increase Gas Fees:
  • 🌑Advanced Topics: Shade Metaengine
    • 🌑What is SHD
    • 🖥️Tech Stack
    • ✍️Principles
    • ⚕️Ethos
    • 🏛️Governance
    • 🏦ShadeDAO
    • 💰Tokenomics
    • 🌀SHD
    • ✔️Brand
    • 📜Tutorials
  • 🌑Advanced Topics: Apps
    • 🔵SILK
      • Minting & Redemption
        • Overcollateralized Minting
        • Collateral Redemptions
        • Bonds
      • Basket Composition
      • Peg Migration
      • Governance
      • Tutorials
    • 🌉Bridge
    • 💱ShadeSwap
      • Trading
      • Liquidity Providing
      • LP Staking
      • Asymmetric, Concentrated Liquidity
      • Shade Swap Contracts
    • 🦅Lend
      • Stability Mechanisms
      • Risks and Fees
    • 📓Bonds
      • Bond Types
      • Collateral Types
      • Illiquid Markets
      • Issuance Policy
      • Bond Tokenomics
      • Tutorials
    • ♟️stkd-SCRT
      • Feautures
      • User Stories
      • Governance & Validators
      • Tutorials
      • FAQ
    • 💱ShadeX - Money Market
      • Liquidations
      • Logs and Transparency
      • Risk Management
      • Configurations and Restrictions
      • Fees
      • Contracts
  • 💳Wallets
    • Keplr
      • Install Keplr
      • Create Keplr Wallet
      • Import a Keplr Account
      • Import a Ledger Account
    • Fina Mobile
  • Research
    • Audit Log
    • Stablecoins
Powered by GitBook
On this page
  • Data Privacy
  • Private Smart Contracts
  • Oracle Solutions
  • Secret Token (SNIP) Standard

Was this helpful?

  1. Advanced Topics: Shade Metaengine

Tech Stack

Description of the Shade Protocol tech stack.

PreviousWhat is SHDNextPrinciples

Last updated 1 month ago

Was this helpful?

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.

Data Privacy

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.

Private Smart Contracts

Oracle Solutions

Band Protocol

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

  • Open-source

  • Audited

  • Operated by a wide array of decentralized professional node operators

SupraOracles

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

  • Decentralized

Secret Token (SNIP) Standard

  • Private transactions

  • Private smart contract interactions

  • IBC interoperable

Shade Protocol applications are built on top of . To achieve data privacy, the Secret Network protocol leverages the following:

Shade Protocol smart contracts are coded in Rust - a , . Rust emphasizes the following:

Rust enforces —that is, that all point to valid memory—without requiring the use of a or present in other memory-safe languages. To simultaneously enforce memory safety and prevent concurrent , Rust's borrow checker tracks the and of all in a program during .

Shade Protocol smart contract uses the contract framework which adds a private computation module to the well-known - which was built with a specific focus on security and testing:

Shade Protocol leverages two oracle solutions: & . Currently, the SupraOracles implementation is under active research.

Shade Protocol leverages the 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:

🌑
🖥️
Secret Network
Key management
Encryption protocols
Trusted Execution Environments (TEEs)
multi-paradigm
general-purpose programming language
Performance
Type safety
Concurrency
memory safety
references
garbage collector
reference counting
data races
object lifetime
variable scope
references
compilation
SecretWasm
CosmWasm contract framework
Band Protocol
SupraOracles
Secret Token
Viewing keys
Band Standard Dataset - Versatile feed secured by Band oraclesBand Standard Dataset - Versatile feed secured by Band oracles
About - SupraSupra
Logo
213KB
Secret Network Whitepaper.pdf
pdf
10,000 foot view of CosmWasm
Band Protocol
Logo