₿ Bitcoin Layer 2 Mainnet 2021 14 min read

Stacks (STX) — Smart Contracts for Bitcoin, Backed by Bitcoin

Bitcoin holds $700 billion but can't run DeFi. Stacks changes that. It's a programmable Layer anchored to Bitcoin — smart contracts settled by the most secure blockchain in the world, with stakers earning real BTC as yield. STX is the token that makes it all work.

Last updated:
Current Price
$0.85
Fallback price
Market Cap
$1.2B
Circulating Supply
1.47B
of 1.82B max
24h Volume
$55M

⚡ Quick Summary

  • Brings smart contracts and DeFi to Bitcoin — the largest crypto asset by market cap
  • Proof of Transfer — unique consensus where STX stakers earn real BTC yield, not new tokens
  • sBTC — trust-minimized Bitcoin peg for use in Stacks DeFi (launched 2024)
  • First SEC-regulated token sale — $47M raised in 2017 with full regulatory compliance
  • Nakamoto upgrade (2024) gives every Stacks block Bitcoin-level finality
  • All-time high: $3.84 (Nov 9, 2021) — currently 78% below peak

STX Price Statistics

MetricPrice (USD)Notes
Current Price$0.85Refreshed on page load
All-Time High (ATH)$3.84Nov 9, 2021
All-Time Low (ATL)$0.0453Mar 13, 2020
1-Year High$3.35Last 12 months
1-Year Low$0.58Last 12 months
Market Cap~$1.2BBased on circulating supply

Price data sourced from CoinGecko. Historical figures are approximate.

What is Stacks?

Bitcoin is the most secure, most decentralized, most widely trusted blockchain in the world. It's also intentionally limited — it can't run smart contracts or DeFi applications. Satoshi designed it to be a currency, not a computer.

Stacks changes this by building a programmable layer that settles on Bitcoin. It's not changing Bitcoin. It's not forking Bitcoin. It's adding a layer above Bitcoin that anchors every single block's history into Bitcoin's immutable ledger — giving Stacks smart contracts the security and finality of the world's most battle-tested blockchain.

💡 Think of it this way: Bitcoin is a vault. Stacks is the office complex built above it. Deals are negotiated and executed in the office (smart contracts, DeFi, NFTs) — but all final agreements are stamped and filed in the vault below (Bitcoin). The vault's security guarantees apply to everything stored in it.

Stacks (STX) at a Glance

TypeBitcoin Layer 2 / Smart Contracts
TickerSTX
Founded2013 (Muneeb Ali & Ryan Shea)
Mainnet v2January 2021
ConsensusProof of Transfer (PoX)
Smart ContractsClarity language
Max Supply1,818,000,000 STX
NotableFirst SEC-compliant token sale ($47M)

Bitcoin DeFi: How Stacks Unlocks Smart Contracts on Bitcoin

Stacks is a Layer 2 for Bitcoin — a blockchain that adds smart contracts and DeFi capabilities to the most secure, most trusted cryptocurrency in the world, without changing Bitcoin itself. Bitcoin was deliberately kept simple and secure; its community has consistently rejected suggestions to add smart contract complexity to the base layer. Stacks builds that functionality on top of Bitcoin, inheriting its security while enabling programmable financial applications.

The core mechanism is Proof of Transfer (PoX): Stacks miners don't burn electricity like Bitcoin miners — they transfer Bitcoin directly. To mine a Stacks block, you bid BTC. The winning miner earns STX as the block reward. The BTC you transferred goes to STX holders who have "stacked" (staked) their tokens — creating a mechanism where STX holders earn real Bitcoin yield, approximately 5–10% APY, paid in BTC. Every Stacks block is anchored to a corresponding Bitcoin block, meaning Stacks' full history is permanently recorded in Bitcoin's ledger.

Stacks holds a unique regulatory distinction: it was the first digital asset to complete an SEC-regulated Reg A+ token sale in 2019, raising $47 million legally in the United States — before it was cool to be regulatory compliant. This background gives Stacks credibility with regulators and institutions that more experimental crypto projects lack. The smart contract language Clarity was designed for auditability (contracts are readable by humans) rather than full Turing completeness — a deliberate choice for financial safety over maximum expressiveness.

Stacks at a Glance

Founded2017 (Muneeb Ali, Ryan Shea)
ConsensusProof of Transfer (PoX)
Stacking yield~5–10% APY paid in BTC
Regulatory statusSEC Reg A+ compliant ($47M)
Smart contract langClarity (human-readable)
Security anchorBitcoin's full PoW chain

How Does Stacks Work?

Stacks' architecture has several uniquely clever components:

1

Proof of Transfer (PoX) — miners pay BTC

Stacks miners don't spend electricity or lock up collateral. They transfer Bitcoin to participate. Each block cycle, miners compete by bidding BTC. The winning miner produces the next Stacks block and receives STX as the block reward. The Bitcoin they transferred goes to STX stakers — creating a real BTC yield for holders.

2

Bitcoin anchoring — every block stamped into Bitcoin

Every Stacks block header is written into a Bitcoin transaction. This means the history of Stacks is permanently recorded in Bitcoin's ledger. Once Stacks data is buried in Bitcoin blocks, it benefits from Bitcoin's full proof-of-work security. Rewriting Stacks history would require rewriting Bitcoin history — computationally infeasible.

3

Clarity smart contracts — readable and predictable

Stacks smart contracts use Clarity, a language designed for security. Unlike Solidity (which compiles to bytecode that hides what a contract actually does), Clarity contracts run exactly as written — auditors can read the source code and know with certainty what a contract will do. Reentrancy attacks — the vulnerability that wiped out hundreds of millions in EVM hacks — are architecturally impossible in Clarity.

4

sBTC — bringing Bitcoin into DeFi trustlessly

With the Nakamoto upgrade and sBTC launch in 2024, Bitcoin holders can now lock BTC and receive sBTC on Stacks — a 1:1 synthetic asset backed by decentralized signers (STX stakers), not a centralized custodian. sBTC can be used in any Stacks DeFi protocol. When you want your BTC back, you burn the sBTC and receive Bitcoin in your wallet.

What is STX Used For?

⛽ Gas Fees for Stacks Transactions

Every smart contract call, token transfer, or NFT mint on Stacks requires a small STX fee. As the Stacks ecosystem grows (more DeFi, more users, more sBTC), fee demand for STX increases naturally.

₿ Stacking (Staking) to Earn Bitcoin

This is STX's most unique value proposition. By stacking ("staking") STX in the PoX protocol, holders receive real Bitcoin as rewards — not synthetic wBTC, not new STX tokens, but actual BTC from the miners competing for Stacks blocks. Historically 5–15% APY paid in BTC. Minimum threshold applies for direct stacking; pools allow smaller holders to participate.

🔐 sBTC Backing (Nakamoto upgrade)

Post-Nakamoto, STX stakers serve as the decentralized signers who back sBTC. They collectively control the Bitcoin wallet holding deposited BTC. This gives stakers additional importance in the ecosystem beyond just earning BTC yield — they're the custodians securing the Bitcoin peg.

🗳️ Governance and Protocol Voting

STX holders participate in governance of the Stacks protocol through Stacks Improvement Proposals (SIPs). Major protocol changes — like the Nakamoto upgrade and sBTC parameters — are voted on by the community. Long-term, governance becomes increasingly important as the protocol matures.

Bitcoin Layer 2 Comparison

Stacks isn't the only project trying to add functionality to Bitcoin. Here's how the main Bitcoin L2 and scaling solutions compare:

FeatureStacksLightning NetworkRootstock (RSK)Liquid Network
Primary useSmart contracts + DeFiMicropaymentsSmart contracts (EVM)Asset issuance
BTC yield for holders✅ 5–10% in BTC
Turing complete contracts✅ (Clarity)❌ (payments only)✅ (EVM)Limited
Bitcoin security anchor✅ Every block on Bitcoin✅ On-chain settlementFederated pegFederated
Ecosystem sizeLargest Bitcoin DeFiLarge (payments)SmallSmall

The History of Stacks

The Stacks story begins not with blockchain but with a simple frustration: the internet's core infrastructure (DNS, authentication, data storage) is controlled by corporations. Muneeb Ali's PhD thesis at Princeton proposed rebuilding this infrastructure on a blockchain.

The 2017 SEC-regulated token sale was a watershed moment for the entire industry. Most ICOs at the time existed in a legal gray zone. Blockstack became the first project to raise money from US retail investors through a fully registered SEC offering under Regulation A+ — setting a precedent and demonstrating that compliant fundraising was possible.

The real breakthrough came with Stacks 2.0 in January 2021. Proof of Transfer was a genuinely novel mechanism — perhaps the first new consensus algorithm since Proof of Stake that solved a real problem differently. The introduction of the Clarity language and Bitcoin stacking yield attracted serious developer attention. STX's price run to $3.84 that November reflected the market's recognition of a real product.

Key Events Timeline

2013 Q4

Muneeb Ali and Ryan Shea meet at Princeton. Ali is completing his PhD on decentralized systems. They begin researching a decentralized internet layer — the seed of what becomes Blockstack (later Stacks).

2017 Jul

Blockstack raises $47M in one of the first SEC-approved token sales (a Reg A+ offering). This was a landmark legal event — the first time a token sale was conducted with full regulatory compliance in the US.

2019 Jul

Blockstack raises additional funding, launches Stacks 1.0 mainnet. This initial version was limited — Bitcoin anchoring but no smart contract functionality.

2021 Jan

Stacks 2.0 launches — the major upgrade that introduced Clarity (a smart contract language), Proof of Transfer (PoX) consensus, and the ability for STX holders to earn BTC by participating in the protocol. STX reaches ATH of $3.84 in November.

2022 Q1

The ecosystem begins rebranding from "Blockstack" to "Stacks". NFT collections on Stacks gain traction. DeFi protocols launch. The "Bitcoin DeFi" narrative begins forming.

2023 Q3

Stacks announces the Nakamoto upgrade and sBTC — a trust-minimized Bitcoin peg that allows BTC to be used in Stacks DeFi with 1:1 backing. This is seen as the key to unlocking Bitcoin's ~$700B+ in capital for DeFi.

2024 Q2

Nakamoto upgrade activates on mainnet, bringing Bitcoin-finality to Stacks. Every Stacks block is now anchored to a Bitcoin block, making the history as final and secure as Bitcoin itself.

2024 Q4

sBTC launches, allowing users to mint synthethic BTC on Stacks with minimal trust assumptions. Bitcoin DeFi TVL on Stacks begins growing materially.

2025 Q1

The broader "Bitcoin L2" narrative heats up alongside Bitcoin activity. Stacks remains the dominant smart contract platform anchored to Bitcoin, competing with new entrants like Babylon and CoreDAO.

Stacks vs. Other Bitcoin L2s

FeatureStacksLightning NetworkRSK/Rootstock
Smart Contracts✅ Clarity✅ Solidity (EVM)
BTC Yield for Holders✅ PoX stacking
Use CaseDeFi, NFTs, DAppsBTC paymentsDeFi (EVM-compat.)
Trust-minimized BTC peg✅ sBTCN/A (native BTC)✅ RBTC (federated)
Ecosystem SizeLargest (most apps)MediumSmall/stagnant

STX Tokenomics and the PoX Model

STX has a maximum supply of approximately 1,818,000,000 tokens — a fixed cap, like Bitcoin. What makes STX unique economically is that stacking (staking) rewards are paid in real Bitcoin, not in newly-minted STX tokens.

MetricDetailNotes
Max Supply1.818B STXFixed hard cap — like Bitcoin
Mining Inflation~5% annuallyNew STX minted to PoX block winners
Stacking yield sourceReal BTCMiners bid BTC to mine STX blocks
sBTC supply1:1 BTC-backedNot inflationary to STX supply
Stacking cycle~2 weeksLock-up period per reward cycle

Why BTC yield is different: Most staking rewards pay in the same token you're staking, creating circular value — your yield can depreciate just as fast as your principal. STX stacking pays in Bitcoin. Your yield comes from a completely independent, historically appreciating asset. It's structurally unlike any other staking yield in crypto.

Stacks DeFi Ecosystem

Stacks has the largest developer ecosystem of any Bitcoin L2 — by a wide margin. The sBTC launch in 2024 catalyzed a new wave of protocols using real Bitcoin as collateral in on-chain applications:

🔄 ALEX DeFi

The largest DEX and DeFi hub on Stacks. ALEX combines an AMM with fixed-yield lending, yield farming, and a launchpad — effectively Stacks' Uniswap + Aave + IDO platform in one protocol. It held ~$50M TVL at peak and remains the core liquidity venue for all Stacks tokens.

💰 Zest Protocol

Zest enables Bitcoin holders to deposit sBTC as collateral and borrow stablecoins against it. This is the Bitcoin DeFi dream: keep your BTC, convert it to sBTC, borrow against it in DeFi, deploy the cash — without ever selling your Bitcoin.

📊 StackingDAO

Liquid stacking protocol that issues stSTX — a liquid receipt earning BTC stacking yield automatically. stSTX remains usable in DeFi as collateral or for swapping, solving the liquidity problem of traditional 2-week stacking lock-ups.

🔁 Bitflow

A stableswap DEX on Stacks optimized for low-slippage trading between pegged assets (sBTC, USDA, USDT). Bitflow provides the stable liquidity infrastructure that deeper DeFi protocols need to function — the bedrock that makes the rest of the Stacks ecosystem possible.

Risks and Considerations

Bitcoin L2 competition

Stacks isn't the only team building on Bitcoin. Lightning Network, Rootstock (RSK), Babylon, BitVM, and Layer 2 protocols all compete for Bitcoin L2 developer attention. While Stacks has a first-mover advantage in smart contracts, the space is evolving fast.

PoX stacking lock-up

Stacking STX to earn BTC yield requires locking your STX for stacking cycle lengths (roughly 2 weeks). During a market downturn, you can't sell locked STX. If you need liquidity, you must either wait for the cycle to end or use liquid stacking derivatives.

BTC yield depends on protocol fees

The BTC paid to STX stackers comes from Stacks miners who pay BTC to mine new STX blocks. This yield is sustainable only while demand for STX mining remains high. Low miner competition reduces stacking BTC yield.

Clarity language learning curve

Stacks uses Clarity rather than Solidity for smart contracts. While more secure by design, Clarity is a niche language that requires developers to learn from scratch. This limits Stacks' developer pool vs. EVM-compatible chains.

Where to Buy STX

STX trades on major global exchanges. If you plan to stack (stake) STX for BTC yield, you'll transfer to a Stacks wallet like Hiro Wallet. See our crypto buying guide for step-by-step instructions.

Pros and Cons of Stacks

✅ Pros

  • Real BTC yield — stacking earns Bitcoin, not tokens
  • Bitcoin security — final settlement on most secure blockchain
  • sBTC — trust-minimized BTC peg for DeFi
  • Regulatory track record — SEC-compliant since 2017
  • Largest Bitcoin L2 ecosystem — most developers, most apps

❌ Cons

  • Not pure L2 — technically a separate chain, debate continues
  • Clarity — less developer tooling than Solidity/Rust
  • 78% from ATH — significant price correction
  • Bitcoin L2 competition increasing rapidly
  • Speed — Stacks block times tied to Bitcoin's ~10 min blocks (pre-Nakamoto)

Frequently Asked Questions

Is Stacks really a Bitcoin Layer 2?
This is debated. Technically, Stacks is more accurately described as a Layer 1.5 anchored to Bitcoin rather than a pure L2 like Ethereum rollups. Here's the distinction: a true L2 inherits Bitcoin's security for its execution — if a Stacks transaction is invalid, users could theoretically force Bitcoin to resolve it. With the Nakamoto upgrade, Stacks gets Bitcoin finality (history becomes irreversible once buried in Bitcoin), but Stacks still has its own validator set. The "Bitcoin L2" label is broadly accepted in the ecosystem, even if technically imprecise.
What is Proof of Transfer (PoX)?
Proof of Transfer is Stacks' novel consensus mechanism. Instead of miners competing with electricity (Proof of Work) or capital lockup (Proof of Stake), Stacks miners transfer Bitcoin to participate. Here's the flow: (1) Miners bid BTC to win the right to mine a Stacks block. (2) The winning miner produces a block and receives new STX tokens. (3) The BTC spent by miners goes to STX holders who've "stacked" (staked) their tokens. Result: Bitcoin miners fund the Stacks network; STX stakers earn actual BTC as yield — not new tokens, but real Bitcoin.
What is sBTC and why does it matter?
sBTC is a decentralized, 1:1 Bitcoin-backed asset on the Stacks chain. Unlike WBTC (which relies on a centralized custodian, BitGo), sBTC is governed by a rotating set of "stackers" — STX holders who bond their tokens to back the peg. Depositing BTC gives you sBTC on Stacks. Redeeming sBTC gives you BTC back. This allows Bitcoin holders to participate in Stacks DeFi without trusting a centralized custodian with their Bitcoin.
What is Clarity and why not Solidity?
Stacks uses Clarity as its smart contract language instead of Solidity (Ethereum) or Rust (Solana). Clarity was designed for Bitcoin-style security values: (1) It's interpreted rather than compiled — you can read exactly what a contract does from its source code, no hidden bytecode. (2) It's decidable — you can always determine in advance how much gas a transaction costs. (3) It has no reentrancy — the contract vulnerability that caused the 2016 DAO hack is architecturally impossible. These properties align with Bitcoin's conservatism.
How does stacking (staking) STX earn Bitcoin?
If you "stack" STX (Stacks' version of staking) in the protocol, you receive BTC rewards each cycle (roughly every 2 weeks). The BTC comes from miners who bid Bitcoin to produce Stacks blocks via PoX. Currently, stacking yields vary based on participation but have ranged from 5–15% APY paid in real Bitcoin. You need a minimum amount of STX to stack individually, or you can join a stacking pool for smaller amounts.
How does Stacks compare to other Bitcoin L2s?
The Bitcoin L2 space has grown rapidly. Key competitors: Lightning Network (payments only, no smart contracts), Rootstock/RSK (older EVM-compatible Bitcoin sidechain), CoreDAO (new Bitcoin L2 with different mechanics), Babylon (Bitcoin staking protocol). Stacks has first-mover advantage, the largest developer ecosystem (by far), and sBTC as its key differentiator. But it faces competition from newer, more EVM-compatible options.
What happened with the Blockstack to Stacks rebrand?
The project started as Blockstack — focused on a decentralized internet (DNS, identity, storage). Over time, the smart contract and DeFi features became the primary value proposition, and "Blockstack" felt like an outdated name. The company rebranded to Hiro Systems (the main developer company) and the chain itself became Stacks around 2021-2022. The CoinGecko ID is still "blockstack" because that was the original listing.

Explore the Bitcoin Ecosystem

Stacks is one way to use Bitcoin programmably. Start with Bitcoin itself, or explore the broader DeFi world with our DeFi guide.