Smart contract

Smart contracts are digital agreements that execute automatically when conditions are met with the terms of the agreement directly written into code.

They eliminate the need for intermediaries, executing actions on the blockchain without human intervention, much like a vending machine dispensing snacks.