A self-executing contract with the terms of the agreement directly written into code and running on a blockchain.