Smart contracts are self-executing contracts written in computer code.