Smart contracts are written in computer code and published to a public blockchain network. The result is a trusted outcome capable of automated facilitating, executing, and enforcing of the legal agreements.