Stacks
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:
Last updated