Bitcoin vs. Ethereum vs. Litecoin Part 1

in #bitcoin5 years ago

Screen Shot 2019-10-11 at 4.31.51 PM.jpg

While cryptocurrency has only recently become a popular term in finance, it has been around for a long time. Before names like Bitcoin, Ethereum, and Litecoin even existed, there were attempts to create a decentralized currency.

David Chaum, a respected cryptographer, launched ECash, an anonymous system in the 1990s but it failed. Chaum built the system on currently existing government financial principles and infrastructure like credit cards. RPOW, BitGold, B-Money were also created but failed.

Cryptographers could not get past specific challenges that they faced at the time. The first challenge was how to achieve true decentralization and the second was the issue of double spending. The prevention of double spending meant the use of a third-party clearing house. This wasn’t acceptable because to achieve the type of innovative digital finance they wanted; the system had to be independent of any institution.

In 2008, cryptographers finally stumbled on the information they had been searching for when an anonymous contender released the blueprint for a digital currency known as Bitcoin. It showed the technical specifications of the blockchain — a decentralized technology that creates a trustless, permissionless system and eliminates the problem of double spending. This new technology took the world by storm, later leading to changes in the financial industry as well as other industries such as real estate. With the cryptocurrency revolution, came many coins, tokens, and altcoins. Here, we take a deep dive into the similarities and differences between some of the most popular and valued ones: Bitcoin, Ethereum, and Litecoin.

Bitcoin Explained

Bitcoin is a digital currency, created as a store of value for the anonymous exchange of goods and services online. It typically has all the properties of a more traditional currency and can be broken down into smaller parts, up to eight decimal places. It’s also the largest cryptocurrency by market capitalization.

A Brief History of Bitcoin

Bitcoin first originated in 2008 when an anonymous programmer under the pseudonym of Satoshi Nakamoto released a paper in a cryptography mailing list. This paper detailed the workings of a new digital currency, built on blockchain technology. The virtual currency was designed to imitate key qualities of traditional money while providing anonymity, transparency and eliminating the need for a third party.

Researchers tried to find out the identity of this anonymous programmer, all to no avail. It became a mystery to the cryptography community who could not ignore this act of charity, containing a brilliant solution that had eluded them for so long.

The technology behind Bitcoin is open source, meaning that developers can modify it according to guidelines in the paper. Nakamoto aimed to create a currency that would be uniform, scarce, portable, durable and valuable, without the risk of double spending. This was achieved by creating a mathematical problem that would only ever have 21 million possible solutions. These solutions would represent Bitcoins, ensuring that only a finite amount of the currency would ever exist. This solution created scarcity, an essential property of any valuable item.

When Bitcoin was first released, it wasn’t well-known or widely accepted by the general public, and for up to eight months, it had no value. Critics laughed at the idea of a random digital currency that would be able to up-end the use of paper money as a means of exchange. However, software programmers continued to adjust the technology.

In October 2009, Bitcoin was valued for the first time when the New Liberty Standard published its exchange rate, listing the value of 1 USD to 1309.03 BTC. Soon after, in December, the second version of Bitcoin was released, and more people started spending the currency.

By the following year, exchanges had begun to pop up and, July 2010 saw the launch of MtGox, one of the largest Bitcoin exchanges. The Infamous Pizza cryptocurrency exchange also occurred in 2010, setting the precedence for other Bitcoin purchases for everyday items. It was allegedly also used to purchase illegal items and substances on the Dark web because the transactions were untraceable. The use of Bitcoin had become so popular that on February 9th, 2011, its value became equivalent to that of the US dollar.

By July 2011, 1 BTC was trading at almost 10 USD, and it continued to increase in value. As with any valuable commodity, Bitcoin began to attract theft. In March 2012, due to a security breach at Linode, almost 50,000 BTC was stolen. It was the first recorded Bitcoin crime in history. The theft would later get much worse with the loss of about 850,000 BTC from MtGox in February 2014.

Theft of Bitcoin reinforced its value in the eyes of the public, and price of Bitcoin continued to rise. Soon, several new exchanges started operating to cater to the needs of the growing horde of cryptocurrency users. It wasn’t long before groups running Ponzi schemes, pyramid schemes and different scams also began to emerge. In September 2012, a group charged with the promotion and protection of Bitcoin known as the Bitcoin Foundation was launched and since then, Bitcoin has hit many major milestones including a record value of almost $20,000 in December 2017.

How does Bitcoin work?

Bitcoin transactions are conducted on a public ledger known as a "blockchain." When a user exchanges another currency for Bitcoin, the balance is kept in a Bitcoin wallet.

Transactions

Transactions are records of value exchanges between two parties. They occur whenever a payment has been made and typically consist of four main parts:

  1. Output
  2. Input
  3. Hash
  4. Type

The output of a transaction contains information vital to the outgoing payment, usually the address that BTC is being sent to and the number of tokens being sent. The input, on the other hand, contains relevant information on where the payment is coming from, i.e., the sender’s details. The information contained in the input are:

  • The hash of the incoming value (to identify the transaction)
  • Incoming amount of coins
  • Output index
  • Sender’s address and signature.

Just like the process of sending money from one bank account to another, the output is similar to entering the account details of the receiver. The receiver would be able to view the amount sent, the transaction number, and the sender’s details. Transactions also come in various types, usually regular, reward, and fee transactions. Regular transactions are the normal exchanges that occur between two parties sending and receiving Bitcoins.

When users send coins, they pay a fee that allows that transaction to be added to the blockchain which acts as proof that the transaction indeed occurred. The process of adding transactions to the blockchain is done by a select group of people called miners.

When miners confirm new transactions by adding them to the blockchain, they're awarded a preset amount of coins in the form of a reward transaction. This confirmation usually takes about 10 minutes for Bitcoin and attracts a fee of about $2.

Bitcoin Wallets

Just like traditional money needs to be held in physical wallets and bank accounts to keep it safe and create accountability, Bitcoin is held in wallets. Technically, a wallet gives user ownership of a certain balance and facilitates the retrieval and transfer of coins from one address to another.

When a user exchanges fiat currency like the US dollar for BTC, it can be transferred to a wallet at a particular Bitcoin address. From this wallet, users can decide also to spend their BTC tokens which are transferred to a destination address. While wallets are commonly web-based, there are other forms of wallets which include mobile wallets, desktop wallets, and hardware wallets.

Web-based Wallets

Web wallets can be accessed from anywhere as long as a user is online via a browser. These wallets store a user’s private key online and are susceptible to hackers. It’s essential to ensure that online wallets are backed up and encrypted. This ensures that it can still be accessed by its owner even when compromised. Some notable web-based wallet providers are Coinbase, Electrum, and Blockchain.info.

Desktop Wallets

Desktop wallets are better for users who prefer their wallets in a more controlled environment, rather than online. Desktop wallets store information concerning Bitcoin transactions and can be downloaded and stored on a user’s desktop. This type of wallet also allows a user to create an address as well as a private key which will be used to send and receive Bitcoin.

While desktop wallets are a good option, they have the disadvantage of being fixed in just one place. If users want to access their wallets, it can only be done on the desktop of the computer it was installed on. This dramatically limits use and can be inconvenient for users who travel or have to be away from their desktops for other reasons. Some notable desktop wallets are Armory, Multibit and Bitcoin Core.

Mobile Wallets

This type of wallet is usually in the form of a mobile application which can be accessed on any mobile device. Just like traditional banking apps, the owner of the mobile wallet can carry out Bitcoin transactions at any time. This is a better option for mobile users who need to make quick purchases frequently. Some mobile wallets are Bitcoin wallet and Mycelium wallet.

Hardware Wallets

These wallets provide more security than any other type because they're separated from a user’s computer, ensuring that they can’t be hacked unless they're physically stolen. They're usually in the form of devices which can be plugged into the USB port of a computer. Some hardware wallets like the Trezor or Ledger Nano S can sign off on users’ Bitcoin transactions with their private key. They generally cost between $100 to $300 and are a better option for storing a significant amount of Bitcoins.

Bitcoin Exchanges

An exchange is an online destination where users trade cryptocurrency, in this case, Bitcoin. For example, if one user would like to exchange USD for BTC from another user, an exchange may be necessary to facilitate the payment. In regular exchanges, sellers usually set a minimum trade price, relative to the current BTC price against the currency they would like to trade.

This minimum price is called an ‘order’ and is entered into the exchange’s order ledger. Buyers may also set orders containing the minimum price they wish to buy BTC at. After orders have been set, the exchange matches both parties and carries out the transaction. Although Bitcoin transaction confirmation takes up to 10 minutes, the exchange instantaneously carries out the transaction.

In peer-to-peer exchanges, buyers and sellers are matched using software which allows them to carry out transactions on their own, without an intermediary to facilitate the transaction. The system is completely decentralized just like the technology, which Bitcoin itself is built on. Unfortunately, because the users on peer-to-peer exchanges are left to do their trades independently, they bear the full risk of fraud and theft.

Bitcoin Blockchain Explained

While Bitcoin has been recognized as a modern technological advancement in the world of finance, recently, more attention has been paid to the technology behind it. This technology is known as blockchain, a ledger or record of facts. These facts can stem from terms of a contract to monetary transactions and other verification records.

The blockchain consists of several computers (nodes) in a peer-to-peer network. At every point in time, the members of this network hold the exact same copy of the blockchain which is constantly updated. Decentralized, peer-to-peer networks are not new and have been in existence for a long time. One prominent example is BitTorrent, a system that allows users to share files between each other.

How Does Blockchain Technology Work?

Each block on a blockchain consists of several transactions in cryptocurrency, carried out by several users. They serve as batches of processed information, tied together chronologically. A group of people commonly referred to as miners, listen for transactions and collect them.

After collecting them, they solve a complex cryptographic puzzle to find a solution known as a proof of work. The first miner to solve the puzzle broadcasts the new block bearing the proof of work to the network which verifies the validity of that block and adds it to the blockchain. The entire process takes about 10 minutes, and whenever a block is added to the Bitcoin blockchain, a fixed reward is paid out to the miner.

Once a block has been added to the blockchain, it cannot be edited, and any changes have to be re-written in a separate block. To illustrate this point, with the use of a physical ledger, if a transaction is recorded and something about the transaction has changed, it would be a better option to write a new entry in the ledger, instead of canceling the transaction.

Blockchain Forks

Just as software applications get system updates, it's possible to update a blockchain to include changes to the way it operates. Bitcoin usage is guided by software known as the Bitcoin protocol. It specifies vital principles of blockchain operation such as the size of blocks, mining process, and other technical information.

In some cases, Bitcoin developers along with miners decide to make changes to the way the blockchain is operated. Unfortunately, these changes are not always agreed upon by everyone. The result is that a group of users and miners form a new blockchain branch known as a fork. A fork can either be ‘hard’ or ‘soft’ and maintains the history of the original blockchain up until the block on which the fork occurred.

Hard Fork vs. Soft Fork

In the case of a soft fork, the new branch is backward compatible with the old one, just like the way a Microsoft Word 2016 document can be opened in Microsoft Word 2009 application because it's backward compatible. However, there are features of the soft fork that won’t work on the original blockchain. Hard forks, on the other hand, are not compatible with the original blockchain. Users on the old blockchain will no longer be able to interact with users on the new one.

Due to several issues, especially the size of blocks, several Bitcoin hard forks have been made. The most notable one— Bitcoin Cash— was forked on August 1, 2017. While the size of blocks in the original Bitcoin blockchain is 1MB, Bitcoin Cash has blocks the size of 8MB. Some miners argue against the move, citing reduced fees per transactions since users no longer have to pay high fees for priority mining. Other miners support the move saying that miners can now earn more in fees since there will be eight times more transactions on each block.

Users who had BTC were given the same number of Bitcoin cash tokens as long as their coins were not held on exchanges and their keys were available. So, if a user had 50 Bitcoins on the original blockchain, then they would also have 50 Bitcoin Cash after the split. Forks have since become a way to implement new properties and functions to the initial open-source Bitcoin blockchain design. Other notable Bitcoin forks are Bitcoin Gold and Bitcoin Unlimited.

Limitations of Bitcoin Blockchain Technology

While blockchain technology may inspire awe and excitement in the minds of the public, it has its flaws and complications which make its mainstream adoption for payment difficult. The following are limitations of the Bitcoin blockchain explained in detail.

Transaction Speed

It takes roughly 10 minutes to confirm a single transaction on the Bitcoin blockchain. As the user base continues to grow, it may take longer to carry out simple transactions. For example, it would not be feasible to pay for a coffee using Bitcoins as it would take 10 minutes to confirm a single payment and even more time if there are network problems or confirmation errors.

Scalability

Another limitation of blockchain is the issue of scalability. The slow confirmation speeds and current technological structure of blockchain would make scalability a herculean task. This is especially problematic because the number of Bitcoin users is estimated to reach 200 million by 2024.

Each of those users may have several transactions to confirm at different times or simultaneously, and each block only takes approximately 2,400 transactions. At 2,400 transactions in 10 minutes, there is a possibility that transaction queues will pile up, making the process tiresome. Such numbers may completely overwhelm the system.

Mining

Transaction fees act as incentives for miners to add a user’s transaction to the block they're currently mining. The fee is usually a token amount, but in some cases, problems can arise. Since Bitcoin can be broken into eight decimal places, it's possible to make micropayments using the cryptocurrency. These micropayments can be less than the mining fee, and this constitutes a loss to users who have to make several micropayments in a short period.

Also, while mining is open to anyone, only a few people can afford the time and equipment it takes to mine Bitcoin. As a result, small groups often merge to form mining pools. The most dominant pools are based in China, and most of the computation power necessary for adding new blocks is concentrated between just two mining pools. This has somewhat made mining a centralized process.

Security

Although blockchain has been proven to be secure for conducting transactions, there is speculation of its vulnerability in the face of a 51% attack. Simply put, blockchain works on the principle that if there are several conflicting versions of a blockchain being broadcast by miners, the most valid one is the longest, i.e., the one with the most work done.

If a user decides to include a double spending transaction (spending a digital token more than once), they would need to have control over 51% of the total mining computational power. This way, such a user can overpower other miners and have their version of the blockchain added to the network. For now, that problem hasn’t arisen, but theoretically, a quantum computer would be able to provide enough power to achieve this deed. Double spending can cause inflation and destroy the integrity of the blockchain.

Why invest in Bitcoin?

Since the rise in the price of Bitcoin, more investors have trooped in from all over the world to take their profitable spots in the cryptocurrency market. In fact, in March 2017, the currency already had up to 5 million unique users. This figure has continued to grow, and in December 2017 when Bitcoin hit an all-time high of almost $20,000, the number of unique users grew to over 13 million in a buying frenzy that experts have likened to the California Gold Rush of 1848.

Despite the rush to acquire Bitcoins, the general opinion is tied between viewing Bitcoin investment as a smart move and viewing it as a foolish one. On the one hand, Bitcoin is celebrated as a commodity that will continue to rise in price as the influx of new users causes increased demand. On the other hand, speculators adamantly argue that Bitcoin has no intrinsic value and therefore is not a good investment.

It’s also believed that for the currency to become mainstream, it would have to be backed by government policies, and this would bring a sense of centralization to the system. The currency and blockchain system has also been compared to a Ponzi scheme and boiler room scheme in which worthless stock was hyped to investors who eventually lost their money.

How to Invest in Bitcoin

Despite varying public opinions, several people have made millions from investing in Bitcoin. Popular hype surrounds the favorable volatility of cryptocurrency, leading to some general confusion about how to make any money from it. There are several ways to maximize ownership of Bitcoin.

1. Market Trading

Traditional “buy low and sell high” methods have been proven to work well with the cryptocurrency. Another way to invest without playing the markets is by funding Bitcoin startups through Initial Coin Offerings (ICOs).

2. Investing in Startups

Although the rewards can be great, it's also extremely risky. ICO whitepapers can be immensely deceptive, and some startups end up disappearing with investors coins and leaving them with worthless products and tokens.

One recent example is the case of Modern Tech, a Vietnamese startup that raised $660 million from 32,000 investors after promising returns of 48% per month. Shortly after a series of dubious activities, the company disappeared, leaving investors confused. More scams have occurred, but none of them negate the fact that many investors have made good money from funding ICOs. It’s just important to be careful when selecting which ones to pour money into.

3. Bitcoin Lending

Lending Bitcoin to margin traders and individuals who wish to spend their coins without touching their wallet savings can have profitable results. On average, peer-to-peer lending services yield better returns than traditional bank lending. An added advantage of partaking in this venture is that price increase of Bitcoin leads to higher returns.

Bitfinex and Poloniex are reputable exchanges with secure lending platforms. Any of these platforms can be used once an investor has created a wallet on them. Users should be careful when choosing who to lend Bitcoins to as they're more difficult to recover when a debtor defaults on a payment.

Who Accepts Bitcoin?

The first recorded Bitcoin exchange was from a user who paid 10,000 Bitcoins for two boxes of pizza. After that, the currency was used by mostly software developers who knew how it worked.

Subsequently, it was known as a medium of exchange in illegal businesses such as drug dealing, illegally obtained ammunition, dangerous software and even child trafficking. Due to the need for anonymous, untraceable transactions by these illegal traders, a cryptocurrency like Bitcoin was a perfect choice.

However, as its popularity and user-base increase, a new wave of businesses have begun accepting the cryptocurrency as a medium of exchange.

Restaurants, Cafes, and Bars

  • Bitcoin Coffee, Haydenville, MA
  • Coupa Café, Palo Alto
  • Curryupnow.com – 12 restaurants in San Francisco Bay Area on this platform accept Bitcoins
  • Foodler – A restaurant delivery company in North America
  • KFC Canada
  • Old Fitzroy Pub, Sydney, Australia
  • Pembury Tavern, London, England
  • PizzaForCoins.com – Domino's Pizza can be bought on the platform using Bitcoins
  • Subway
  • Whole Foods

Internet and Software

  • NordVPN
  • Grooveshark
  • Intuit
  • Lumfile
  • Microsoft
  • Namecheap
  • PureVPN
  • Reddit
  • The Internet Archive

Donations

  • Canada State Republican Party
  • Crowdtilt.com
  • Fight for the Future
  • Museum of the Coastal Bend, Texas
  • San Jose Earthquakes (San Jose California Professional Soccer Team (MLS))
  • Save the Children
  • The Libertarian Party, United States
  • Wikipedia

Publications

  • Bloomberg.com
  • Playboy
  • Suntimes.com
  • Wordpress.com

Dating

  • Badoo
  • OkCupid
  • Dream Lover

Education

  • MIT Coop Store – Massachusetts Institute of Technology student bookstore

Gaming Services

Payment Services

  • Braintree
  • Mint.com
  • NCR Silver
  • PSP Mollie
  • SimplePay
  • Stripe

Travel, Tourism, and Hospitality

  • CheapAir.com
  • Expedia.com
  • LOT Polish Airlines, Poland
  • One Shot hotel chain, Spain
  • Travel.com
  • Virgin Galactic
  • WebJet

Ticketing and Gift Cards

  • Gyft
  • MovieTickets.com
  • Overstock

Wholesale and Retail Outlets

  • Alza – Largest Czech online retailer
  • Etsy - An online craft purchase center
  • Famsa – The largest retailer in Mexico
  • i-Pmart – A Malaysian electronics online retailer
  • Jeffersons Store – A streetwear retailer
  • mspinc.com – A medical equipment supply retailer
  • Newegg.com – Online electronics retailer
  • Rakuten – A Japanese e-commerce company
  • Shopify.com – An e-commerce center for multiple sellers
  • ShopJoy – An Australian online gift retailer

Bitcoin supply

Miners are rewarded with 12.5 BTC for each block they add to the blockchain. The reward is halved every 210,000 blocks (roughly every four years) to ensure that supply is controlled. This allows for a gradual introduction of new coins into the system, creating balance.

When the first block was mined, the reward paid to the miner was 50 BTC, a figure that has been halved twice already. As specified by Nakamoto in the original paper, there will only ever be 21 million Bitcoins in existence. Currently, in June 2018, over 17 million of those coins have already been mined.

After all 21 million BTC are mined, miners may no longer be incentivized to mine additional blocks. This may threaten the structure of the blockchain because if miners reduce, confirmation speeds will slow down significantly while transaction fees will most likely increase. Individuals may also hold on tightly to their Bitcoins, making it difficult for new users to get them. This will inevitably result in a BTC price increase.

Bitcoin News

As the largest cryptocurrency, there has been a lot of Bitcoin news and its blockchain. A good portion of that news centers around regulations and the mainstream acceptance of BTC as a means of payment. Here are some notable Bitcoin blockchain news headlines.

  • June 2018 - Bithumb, the 6th largest Bitcoin exchange was hacked with $3 million worth of cryptocurrency stolen.
  • June 2018 - Bitcoin released its core version 0.16.1

What is Ethereum?

Ethereum is a peer-to-peer based platform on which decentralized applications can be built. Since its release in July 2015, Ethereum has risen to the top as the second largest cryptocurrency with a market cap of approximately $50 billion.

In a market flowing with thousands of cryptocurrencies, it has quickly become the topic of many debates, not just for its similarities to Bitcoin, but its differences as well. So what makes it so unique?

Ethereum was proposed in 2013 by Vitalik Buterin, a Canadian-born cryptocurrency developer. Later in 2014, it was funded via a crowd sale event in which there were 11.9 million pre-mined ETH. It was fully released in 2015 and has quickly risen since then. Ethereum tokens, known as "Ether" have become a conventional means of exchange on various blockchain-based applications and continue to grow in value.

Ethereum coin

On the surface, Ethereum works just like any other cryptocurrency. The common conception is that ETH is just like BTC— a store of value, especially for payments. It can be exchanged for fiat currency and just like Bitcoin, the transactions are confirmed on a blockchain. It’s also completely decentralized with no need for third-party validation.

Just like Bitcoin's blockchain, Ethereum once had miners who also ran complex computational algorithms to get mining rewards. While these similarities exist, the currency is quite different from Bitcoin in a lot of significant ways.

How Does Ethereum Work?

Unlike Bitcoin, the Ethereum platform was designed in a way that allows decentralized applications (DApps) to be built on it. In fact, 1,629 applications have currently been built on its blockchain.

According to the Ethereum website, its platform is a decentralized foundation for applications that run precisely as they're programmed. They also claim that the platform erases third parties as well as any chance of fraud or censorship. This means that ultimately, code written on its blockchain is immutable due to cryptographic technology.

Ethereum allows users to create and execute smart contracts on its platform, which form the basis of DApps. Solidity, the platform's inbuilt programming language is used to develop these smart contracts and DApps. Ether, the ETH token, acts as their primary facilitator. For this reason, Ethereum is commonly called programmable money.

Ethereum Blockchain Explained

The Ethereum blockchain consists of interlinked blocks that can hold and execute code snippets. These code snippets can be bundled together to build applications. This single quality differentiates it from Bitcoin, its immediate counterpart. Traditional applications are built to give certain outcomes when specific conditions are met, and Ethereum smart contracts do the same thing.

Ethereum Virtual Machine (EVM)

The EVM is a decentralized Turing-complete machine, built to run code scripts on the Ethereum platform. It’s the particular site where all smart contracts are executed and are run by every node in the network. The virtual machine is isolated from the host computer system and makes the creation and deployment of applications possible.

Decentralized Applications (DApps)

DApps are a new type of application that is not owned by a central party. They run on a peer-based network and cannot be shut down. For an application to be classed as a DApp, it must meet the following requirements:

  • It must be decentralized.
  • The app must have a consensus protocol in place.
  • It must be open source, allowing anyone to view and contribute to its code.
  • It must have digital assets to fuel its operations.

The basic structure of a DApp consists of 4 main parts:

Ethereum Blockchain Based

For a decentralized application to work on Ethereum, it must be based on the blockchain. This is because peer-to-peer consensus is necessary for the validation of certain application constructs. Every node has to confirm parameters like usernames and other relevant information.

Storage Layer

Currently, there are several cloud storage service providers, like AWS, that users can outsource their file storage too. Unfortunately, most of them have centralized servers and control the way that information is stored. This goes against the principles of decentralization. However, like traditional software applications, DApps need storage facilities, and for this purpose, there are decentralized storage systems like the InterPlanetary File System (IPFS).

The IPFS is a file transport protocol that can be stacked directly on the blockchain. Its working mechanism is similar to that of BitTorrent, a peer-to-peer file sharing service. IPFS is an excellent option for blockchain-based storage because instead of storing whole content, it generates a hash for each file. A hash consists of a unique combination of letters and numbers which act as a unique identifier for the file.

Files on Ethereum’s blockchain can easily be searched for on IPFS or through the use of the Ethereum blockchain explorer. To retrieve a file, a user can search for the hash of that file. To share the file with another party, a user would merely have to share that hash with the party, similar to how links to a Google document can be shared. The amount of storage space needed by DApps varies, and it would be impractical to leave the data in blocks due to the amount of space it would take.

Smart Contract

A smart contract is a type of virtual contract containing written code and uploaded to the blockchain. It lives on the blockchain, usually in the form of an "if-then" statement and self-executes when the conditions specified within the contract are met. This execution is run across every node in the blockchain for confirmation.

For example, a user may want to buy in-app tokens on a game app using Ethereum. For this purchase, a smart contract is set up, specifying that if such a user pays a certain amount of Ethereum, then the game will award them a certain amount of in-app tokens.

The entire process is carried out on the blockchain and can be validated by anyone. Due to this transparency, it's difficult to tamper with transactions on the Ethereum blockchain. One great advantage of smart contracts is that they eliminate the need for third parties. Transactions can be finalized without filling out papers, dealing with lawyers, or paying expensive processing fees.

Automation as an advantage only constitutes one side of the coin because this quality can be a huge disadvantage, too. Software programs are prone to bugs, and that’s why updated versions usually come with bug fixes. In the event of a bug occurring in a smart contract, the contract will still execute on the blockchain, and the results can be disastrous.

A recent example is the case of The DAO, a decentralized autonomous organization which served as an investment fund. Members of the organization invested Ether which bought them tokens and the right to vote on what the fund would be used for. The entire system was facilitated by a series of smart contracts, from the donation of Ether to voting and final investment.

The DAO, slated for a 28-day crowd sale, went live in April 2016 and, by the end of the funding window, it had raised $150 million from about 11,000 investors. While the Ethereum blockchain itself securely runs smart contracts, the onus lies on the independent developers of these contracts to fix all bugs.

Unfortunately, a weakness in the code was discovered by a hacker and used to drain over 3.6 million ETH into a new DAO. Since the contract merely acted as it was supposed to, the actions of the hacker were technically not illegal.

As far as traditional contracts go, context and intention are considered in a court in the event of any similar misconduct. Smart contracts, on the other hand, are made up of written code and will follow that code no matter the situation. This often strikes the question of whether the reward of smart contracts is worth the risk after all.

Sort:  

Resteem it

Cool, thank you HK.

lm0npa2fgs.jpg

Good chart to highlight the differences, yes!

Super fantastic posted

Excellent

I vote you resteem you

Only resteem

Looking lovely posting

I gave you upvote 💯 and resteem your posting

Posted using Partiko Android

Coin Marketplace

STEEM 0.19
TRX 0.18
JST 0.031
BTC 87822.78
ETH 3173.06
USDT 1.00
SBD 2.81