What are Smart Contracts?

via medium

After the rise of Bitcoin, many new cryptocurrencies were created. The second most popular crypto at the moment — Ethereum (ETH) — was inspired by Bitcoin, but with one main difference: Smart Contracts. ‘ Smart Contracts’ are meant to be like normal contracts, except they are online and automated . They are stored on the blockchain which makes it impossible for the contract to be tampered with after it is created. The money involved in the contract can easily be transferred using cryptocurrencies.

An example use of a smart contract goes as follows.

Alice wants to pay Bob to build a new garage. Alice only wants to pay Bob once the work is done to make sure he doesn’t just take her money and leave, but Bob wants to make sure that he actually gets paid once he builds the garage.

Alice creates a smart contract which states that the payment for the construction will only be sent once it is completed. She shares the contract with Bob who accepts the terms.

The money that Alice will use to pay for the construction is automatically set aside from her account to guarantee that once the construction is completed, the payment will be sent. This is the equivalent of holding money in escrow.

When Bob completes the garage, and Alice agrees that she is satisfied with the results, the money is automatically transferred to Bob’s account.

If the construction is not completed, the money is returned to Alice’s account.

If there is a disagreement about whether or not the construction was satisfactory, then the smart contract can either be taken to court or to a third party mediator determined before the contract was signed. In the future, sensors and Artificial Intelligence could be used to automatically resolve smart contract disputes.

The reason why smart contracts are so valuable is because they could potentially replace the third parties needed in contracts today. Since smart contracts are built on the blockchain, transaction fees are either very cheap or nonexistent. Additionally, payments can be completed within an hour by utilizing cryptocurrencies. Instead of having to pay a bank to hold money in escrow and wait for them to pay out the money, smart contracts could be used to make the process cheaper and faster. This could also be applied to online marketplaces like eBay. Instead of having to pay eBay to play the role of the trusted third party to make sure that payments are handled properly, smart contracts could be used instead. Smart contracts can potentially replace middlemen in almost any transaction by making the process faster and cheaper.

Complex smart contracts can also be used to create decentralized applications — dApps. Potential uses for dApps range from online hiring marketplaces without service fees to lending unused computer processing power to people around the world. Another interesting dApp concept is decentralized social media, where users cannot be censored and they don’t have to give their personal information to a large institution.

Check out some other cool applications being built on blockchain here:

What’s All the Hype about Crypto and Blockchain?
When Bitcoin was first created in 2008 by Satoshi Nakamoto, the main appeal of a cryptocurrency was that it could be a… medium.com

Ethereum is not the only crypto that can support smart contracts. Some other well known smart contract platforms include EOS, Cardano, TRON, and NEO.

We will cover the differences between these cryptos in a later article — follow On the Block on Medium, Steemit , Twitter , and Facebook to be notified about future blog posts!

Thanks for Reading :slight_smile:

Check out some of our other articles about crypto and blockchain

What are Cryptocurrencies and Blockchains?
The technical definition of a cryptocurrency according to Investopedia is “a digital or virtual currency that uses… medium.com

What is Bitcoin?
Bitcoin is the original cryptocurrency, which was created in 2008 by someone under the code name Satoshi Nakamoto… medium.com

What’s All the Hype about Crypto and Blockchain?
When Bitcoin was first created in 2008 by Satoshi Nakamoto, the main appeal of a cryptocurrency was that it could be a… medium.com

What is an ICO?
ICOs are a new way for companies to raise money. Instead of going to a bank for a loan which they will have to repay… medium.com

Here are some resources I used to write this article that you may find helpful:

Law and Autonomous Systems Series: How to Resolve Smart Contract Disputes — Smart Arbitration as a…
Recent developments in ‘smart’ digital technologies, in particular blockchain technology, are changing and challenging… www.law.ox.ac.uk

9 Best DApps On Ethereum Platform That You Can Use Right now
Ethereum is undoubtedly the king of smart contracts and DApps. At present, it hosts more than 90% of the world’s DApps… coinsutra.com

7 Cool Decentralized Apps Being Built on Ethereum — CoinDesk
Imagine a company or service that isn’t controlled by any single individual, board or other central entity. Known as a… www.coindesk.com