Smart contracts on blockchain offer an incredible solution for secure and efficient agreements. This guide explains all you need to know.