Stacks is a Bitcoin Layer 2 that brings smart contracts to Bitcoin using the Clarity language and Proof of Transfer consensus anchored to Bitcoin blocks.