Introduction
In 1994, Nick Szabo, a legal scholar and cryptographer found
that decentralized nature of cryptography could be used in smart
contracts, which are basically self-executing contracts and ensure
the performance of virtual agreements through blockchain technology
to provide a hassle-free contract execution. The highlighting
aspect of blockchain is its decentralized nature as it takes away
the requirement of intermediaries (middlemen) and this, in turn,
saves time and any conflict that may arise due to a third
party.
A smart contract is a self-performing contract whereby the terms
of the agreement that exist between a buyer and a seller are
written directly into lines of code. A distributed, decentralized
blockchain network contains the code, which consists of all the
agreement terms. In addition to the agreements, the code also
consists of information that executes the transactions and ensures
that these transactions are tracked and are irreversible.