Introduction
Stacks: The leading Bitcoin L2.


Stacks: The TL;DR
Stacks activates the Bitcoin economy. Bitcoin is the most adopted, most valuable, and most decentralized cryptocurrency. The Stacks L2 enables fast, cheap BTC and full-featured smart contracts on the L2 without modifying Bitcoin itself. Users and developers can use BTC in their apps and pay gas fees with BTC. All transactions on Stacks L2 are secured by Bitcoin L1 with 100% finality, enabling you to build apps and digital assets that are integrated with Bitcoin security.
The Stacks layer for smart contracts has the following innovations that make it unique:
S: Secured by the entire hash power of Bitcoin (Bitcoin finality). T: Trust-minimized Bitcoin peg mechanism; write to Bitcoin. A: Atomic BTC swaps and assets owned by BTC addresses. C: Clarity language for safe, decidable smart contracts. K: Knowledge of full Bitcoin state; read from Bitcoin. S: Scalable, fast transactions that settle on Bitcoin.
All of this is accomplished by three core components:
Proof of Transfer
Proof of Transfer (PoX) is the block production mechanism of the Stacks chain. Essentially, it attempts to recreate the block production patterns of PoW programmatically. Stacks miners spend BTC for a chance to mine new Stacks blocks. Under the hood, this block production mechanism anchors Stacks blocks to Bitcoin blocks, making it as hard to reverse a Stacks block as it is to reverse a Bitcoin block. That's a big claim, and we unpack it in further detail in the sections on Nakamoto block production.
Clarity
Clarity is the smart contract language that Stacks uses. It has been designed from the ground up to make it easier for developers to write safe, secure smart contracts. Additionally, since it has been purpose-built for Stacks and Bitcoin, there are built-in functions for reading Bitcoin state, which means you can use Bitcoin state to perform actions in Clarity. For example, you could set up a check to make sure a particular Bitcoin transaction has occurred before executing a mint function in Clarity, which just so happens to be what happens with the third component: sBTC.
sBTC
sBTC is the trust-minimized 2-way Bitcoin peg on the Stacks layer. sBTC is the key to making Bitcoin programmable and bringing full smart contract functionality to Bitcoin via Stacks. sBTC is not a federation, but operates as an open-network, decentralized 2-way peg solution to bring smart contract functionality to Bitcoin with as little counterparty risk as possible.
Why you need to learn the fundamentals of Stacks?
Stacks fundamentals give you the intuition to build apps that are safer, more Bitcoin-aligned, and more future-proof. A developer who learns the basics doesn’t just write Clarity—they build apps that actually feel like Bitcoin apps.
You'll build apps that actually leverage Bitcoin
You'll avoid costly design mistakes
You'll write better smart contracts
You'll use sBTC and Bitcoin writes correctly
What to learn next?
Additional Resources
[Stacks YT] How Stacks Will Grow In 2025 With Stacks Founder Muneeb Ali
[Token2049 Dubai] Muneeb Ali - Building Bitcoin’s Future: The Role of Stacks L2
Last updated
Was this helpful?
