What is a smart contract? It is an agreement between two or more parties that is digitally enforced. The conditions are hard-coded, unchangeable, and irreversible.