I. Introduction
The smart contracts are an idea from Nick Szabo, who has initiated in 1994. The idea has been writing in an article entitled "Smart Contracts" This article contains an in-depth discussion of smart contracts on electronic transaction protocols that enforce protocol contract terms. Its purpose is to fulfill general contract requirements, such as contract writing protocols, protocols for joining a contract, and protocol for conducting transactions. Minimizes intentional and accidental errors, and meets user needs, and can be trusted. In the field of economics, smart contracts aim to reduce transaction costs and reduce the occurrence of fraud [1].