A smart contract is a contract created and maintained on a blockchain platform. Smart contracts execute automatically, based on a pre-defined set of criteria. They do not require a third party.
Because of this autonomy smart contracts are extremely secure and fraud-resistant. They operate on a series of if-then scenarios which are known to all parties before they enter into the contract.
The Advantages of a Smart Contract
A smart contract can automate a lot of what is now done manually. Here is an example: global shipping. A shipping company can create a smart contract with the following parameters,
As we can see in this example, the shipping company can see that the funds are in escrow so they don’t have to worry about not getting paid. When the merchandise reaches the USA their payment is immediately released, instead of being sent thirty to sixty days later as is common now.
That’s the benefit of the shipping company. For the buyer there is also an advantage, the smart contract automates functions that previously required accountants, bean pushers, secretaries, bankers, lawyers, etc. Thus they can save money on staffing by using a smart contract.
Another advantage of the smart contract is that it’s fully transparent. All parties can see the exact terms of the contract before they agree to it. This is similar to a normal contract, except that with a smart contract there is a guarantee that the contract will execute according to its parameters. There cannot be a breach of contract.
Finally, a well-written smart contract is very difficult to hack. Funds stored in a smart contract are just as safe as they would be in a bank vault. The terms of the contract cannot be changed and even if they were, there would be a record of that change left on the blockchain. With a smart contract, fraud becomes much, much more difficult.
The primary disadvantage of a smart contract is that it’s a relatively new technology and not well-understood by many people. Assuming they don’t already have in-house counsel it would take any company about fourteen seconds to find a lawyer who could draw up a contract.
Finding a good smart contract programmer is not nearly so simple. Blockchain programming is in huge demand right now and the best programmers demand high salaries.
Subpar programmers are more affordable, however, it’s a bit of a deal with the devil as even a small bug in the contract can lead to a catastrophic outcome. Tens of millions of dollars’ worth of funds (if not more) have been lost due to poorly coded smart contracts.
That loss is the result of both susceptibilities to hacks as well as funds lost due to internal logic errors. In five years there will be a whole new generation of smart contract programmers and the technology will be much more well understood. Today, however, unless you can hire an industry-leading smart contract programmer there will always be the risk of the contract failing.
One other disadvantage is that there is an overall lack of clear regulation regarding smart contracts. For example, if there is a problem then how will a smart contract be treated in a court of law?
Does it have the same legal standing as a traditional contract? What happens if the case appears before a judge who has never even heard of Bitcoin, let alone a smart contract? Until there is more regulatory and legal clarity, smart contracts are limited in terms of how they can be used.
A smart contract isn’t just a contract between two parties, it’s also a contract that can automate a function. For example, a blockchain-based decentralized exchange like Uniswap is actually just a fancy smart contact. The same for Maker DAO, the protocol behind the DAI stable coin. Smart contracts are incredibly versatile and allow for all sorts of interesting blockchain applications.
There are dozens of smart contract platforms in the blockchain ecosystem. Cardano has been in the news a lot recently with a recent upgrade to their system.
Cardano’s founder, Charles Hoskinson, claims that Cardano now has the potential to become more valuable than Bitcoin. If nothing else you can’t fault the project for a lack of aspiration. NEO, which has not been in the news, is a smart contract platform that focuses on the Chinese market.
By far the most popular smart contract platform is Ethereum, the world’s second most valuable cryptocurrency after Bitcoin. Ethereum is the originator of the smart contract and has by far the largest developer community and smart contract activity.
If their staking and scaling upgrades can be pulled off it’s almost hard to estimate how valuable the platform could become. That being said, there is still a lot of uncertainty regarding Ethereum and only time will tell how everything works out.