An Introduction to Smart Contracts
An Introduction to Smart Contracts
Published on: 28 Jun 2018
A contract is an agreement containing a set of terms and conditions which are set between any two or more transacting parties.
"A ‘smart’ contract is when those terms and conditions are codified and thereafter, the contract exists digitally."
Such contracts allow transactions between anonymous and disparate parties without the need for a central authority or a third party enforcement mechanism.
This means going from a structure like this:
To a structure like this:
This has several advantages:
Fast and accessible - Since all activities happen over-the-air, they are fast, require no physical presence, and hence, are more accessible to people, even in remote areas.
Secure - Smart contracts take care of trust and privacy concerns through cryptography because everything is recorded on the blockchain and thus, is immutable and irreversible.
Fully automated and Trustless - In the traditional systems, we need to trust the central authority. However, since the code itself works only when conditions are met, it is self-enforced. Hence, this system becomes trustless.
Also, these contracts cannot perish like traditional paperwork.
Keep reading to know about some interesting applications of smart contracts in various domains: (NFTs have their own section!)
1. Banking - Loans can be extended automatically if the comprehensive rating of a prospective borrower is above a pre-defined standard. This rating can encompass the credit scores from various credit rating agencies, past records, whether or not the person already has an account in that bank, occupation and salary, and anything else that a bank desires.
This also works the other way: smart contracts can be configured to deduct the repayment amount at each due date. This is similar to Automated Clearing House transactions, but additionally uses the blockchain to record all the transaction information immutably.
2. Mortgage - Settlement happens when the buyer, the seller, and the lender, meet to legally exchange property and funds. However, there are some conditions that need to be met before settlement like, any third party can’t have a claim over the property; the property should not currently be mortgaged. Smart contracts can simplify the settlement process.
3. Insurance - Smart contracts can be really useful when it comes to processing insurance claims, assuming that digital identification isn’t a barrier. For example, a contract can be set up saying ‘If there is less than 100mm of rainfall in 3 months in a specific rain-dependent agricultural area, then pay out the insurance of the farmers of that area.’ This way there will be no need for farmers to claim insurance from the company or wait for long periods for the claims to be processed, ensuring full transparency.
4. Voting - Voting can entirely be done online. A contract that digitally identifies a voter and verifies whether or not that person is a citizen of this country and is above 18 years of age can be established. Once a person has cast his vote, he can not vote again, because the information of his vote is already recorded on the blockchain with an identity- and a time-stamp and an attempt to vote again will clash with existing records, forbidding a re-vote.
5. Crowdfunding - There are two parties in a crowdfunding process: the product team and supporters. A smart contract can be designed in such a way that if the funding for a product gets fully subscribed in the stipulated time, the product team gets the funds from the supporters. If not the supporters get their money refunded. All of this works on an automated basis, with no requirement of a third party.
Challenges ahead:
It's code after all - No matter how secure the underlying cryptography is, the current state of advancements do not ensure 100% security against bugs or hacking.
"Smart Contracts are not 100% hack-proof."
Taxation issues - There is no clear view regarding how the governments will tax the smart contract facilitated digital transactions. A recent bad example of handling crypto taxation is the Indian governement's 30% tax on crypto gains which severs the pace of innovation in the country. (Read this blog for more details on this)
Regulation issues - Since smart contracts will facilitate transactions on a global scale, there is a need for global standards with regard to the regulation of such contracts. That is, smart contract policies should be consistent across borders.
To conclude, we see that although there are many technical and policy issues that need solving, smart contracts in the near future are likely to change some of the most fundamental ways in which activities are carried out in today’s time.
Thus, smart contracts do have the potential to lead people into an automated, trustless, and a more convenient future.