A self-executing contract with the terms directly written into code on a blockchainBlockchain A public and immutable ledger of cryptographic transactions, organized in blocks..