Self-executing code that holds money and keeps promises. Learn what smart contracts do, where they run, and how they fail.