LogoLogo
  • 👋Welcome
  • Introduction
    • About Granite
    • Key Benefits
    • Stacks and sBTC
      • Stacks
      • sBTC
    • Audits and Bug Bounties
    • Quick Links
  • Core Protocol Features
    • Getting Started
      • Wallet Setup
      • Connecting to Granite
      • Assets
      • Bridging aeUSDC
      • Network Selection
      • Security Tips
    • Borrowing
      • How to Borrow
      • Managing Your Position
      • Liquidations
      • Position Monitoring & Alerts
    • Liquidity Provisioning
      • How to Supply
      • How to Withdraw
      • Interest Rate Model
  • Protocol Mechanics
    • Isolated Markets
      • Single Asset Pools
      • Benefits
    • No Rehypothecation
    • Interest Rates
      • Utilization Rate
      • Rate Calculation
      • Market Dynamics
    • Safety Mechanism
      • Risk Parameters
      • Protocol Reserve
      • Safety Module
    • Oracle Implementation
  • Protocol Infomation
  • Additional Resources
Powered by GitBook
On this page
  1. Introduction
  2. Stacks and sBTC

Stacks

PreviousStacks and sBTCNextsBTC

Last updated 3 months ago

Granite is built on Stacks, a Bitcoin L2 that enables smart contract functionality while inheriting Bitcoin’s security. Applications in Stacks are written in Clarity, a smart contracting language specifically designed for high-stakes DeFi applications. Clarity prioritizes predictability and security through limited expressivity, which reduces the attack surface and prevents common smart contract vulnerabilities like re-entrancy attacks. It also includes post conditions and human-readable code on the blockchain, providing an additoinal layer of user protections.

Learn more about:

Stacks
Clarity