Ethereum for Dummies - introducing the next great technological leap forwardsteemCreated with Sketch.

in #ethereum7 years ago

SteemImg

Many people have at least heard of Bitcoin, by far the #1 cryptocurrency by market cap. But few outside of crypto-enthusiast circles are acquainted with Ethereum, the crypto world's #2 rising star. This post aims to give a simple overview of what Ethereum is and why you should care.

Simply put, Ethereum takes the core blockchain technology that lies at the heart of Bitcoin, and evolves it. You know how floppy disks were replaced by CDs, which were replaced by DVDs, which were replaced by Blu-ray? Well, picture Bitcoin as a floppy disk. It's slow and has limits in regards to how many transactions can be processed at a time. Then Ethereum is a CD (maybe an improved future version of it will become the DVD and Blu-ray in this evolutionary analogy). It's much faster, and allows for higher transactional volume.

Everything Bitcoin can do (digital store of money, sending / receiving payments), Ethereum can also do. But Ethereum does it better, more efficiently. Just as a CD does everything a floppy disk does (storing / retrieving data), but once you've been introduced to the wonders of CDs, you'll never go back to using those archaic floppy disks. Seriously, I bet a lot of you young uns have never even seen a floppy disk - which makes me wonder if this is the best analogy to be using, but oh well.

Got it, Ethereum's a better Bitcoin. So what? What makes Ethereum so special?

Glad you asked! Many so-called "altcoins" have attempted to improve on Bitcoin's technology, so that by itself doesn't make Ethereum stand out from the pack.

Let's trot out a second analogy. Imagine Bitcoin is a calculator. It's good at what it does, but that's it. You can't really extend it to new & interesting use cases. It will always be a calculator. Tried & true, through & through.

Ethereum, on the other hand, is an Excel spreadsheet with macros. You can use it as a simple calculator, but it's so much more. Budget planners, calendars, expense reports, shipping lists, project timelines... these are but a small sampling of what can be done with spreadsheets. Add in macros (bits of programming script that allow spreadsheet behavior to be customized to a large degree) and the sky's the limit.

Umm... not sure I follow. What's the equivalent of a macro for Ethereum?

Okay, time to stop beating around the bush. The key ingredient that Ethereum adds to the mix is the concept of a smart contract. Time for our first key term definition:

Smart contract: a computer program that executes on a blockchain, in a decentralized fashion.

Ethereum has its own programming language, called Solidity, which can be used by developers to write smart contracts and insert them into the Ethereum network, where they are executed in an environment called the Ethereum Virtual Machine (EVM). The Ethereum blockchain is the "memory" of the EVM, the thing that stores its persistent state and smart contract code.

SteemImg
A very simple example smart contract, written in Solidity.

So in a very real sense, Ethereum is a decentralized worldwide computer. One that runs 24 hours a day, 7 days a week, and cannot be turned off.

Whoa! Mind blown. Skynet lives!

Not quite. Ethereum has no AI, and in terms of computational power it's equivalent to something like the Intel 386 PC my family owned when I was a kid (though I expect that will improve with successive iterations of the technology; it's early days still). The reason for this is simple: in order to maintain consensus throughout the whole network, when a smart contract executes, its code is ran on every node of the network at once. This makes computation quite expensive.

In order to prevent abuse of limited network resources, a cost is imposed on each unit of computation performed by the EVM. This cost is paid using Ether:

Ether (ETH): a cryptocurrency used as the fuel for performing transactions and running smart contracts on the Ethereum network. If Bitcoin is digital gold, then Ether is digital oil.

We are now in a position to give a better definition of Ethereum itself:

Ethereum: an economic platform that combines a cryptocurrency called Ether with a blockchain-based programming language for creating computer programs, called smart contracts, that run on said blockchain.

People often use the terms Ethereum and Ether interchangeably, especially in the context of investing or trading, so it's important not to let that confuse you. If someone says "I bet Ethereum will be very valuable in a year!" they are really talking about the price of Ether going up. ETH is the cryptocurrency akin to Bitcoin, while Ethereum is the full smart contracts platform (of which ETH is a part).

Now we can see that it's really incorrect to talk about Ethereum being "just another alternative to Bitcoin". As a world spanning computer that literally anyone anywhere can write programs for, it is so much more than that.

Tell me more about these smart contracts and what they can do.

First let's back up a moment and talk about addresses. Like Bitcoin, Ethereum has a concept of a public address. For example 0xb794F5eA0ba39494cE839613fffBA74279579268 (a well known and closely watched address belonging to the Poloniex cryptocurrency exchange). An account on the Ethereum network is simply some address that has an ETH balance associated with it. It's possible to create as many accounts as you like and manage them all with the same wallet software. I have 5 which I use for different purposes. As with Bitcoin, if I want to send a payment to someone I simply use my wallet software to send Ether from one of my accounts to my intended recipient's account.

SteemImg
Sending ETH from one account to another with the official Ethereum Wallet software.

Still with me? Good, because this is where it gets interesting. Smart contracts also have a public address, which points to the location of their code on the blockchain. But in addition to storing code, a smart contract can have an ETH balance just like a normal account. So you can think of a smart contract as a kind of account, but with a computer program in charge of its balance instead of a human being.

Do you begin to see the possibilities yet? Since a smart contract has an address and a balance, you can send ETH to it as if it was a normal account. When the smart contract receives the ETH, it activates and runs its program, which can manipulate that ETH in various ways or even trigger other smart contracts. Alternatively, smart contracts can expose a list of functions to the outside world, basically a menu of different options, which can be triggered without sending any ETH at all (besides the previously mentioned computation fee - typically quite small - required to run the contract).

SteemImg
The menu of functions for a gambling game contract called Rouleth.

Some simple use cases for smart contracts include the following:

  • Trustless escrow - exchange goods & services without having to find a reliable middleman.
  • Gambling games - send some ETH and have a chance of winning the pot.
  • Trust fund contract - release ETH to a beneficiary at a certain date in the future or when certain conditions are met.
  • Limited withdrawals account - only allow you to withdraw a certain amount of ETH per day; good for those who find it hard to resist spending money.
  • Employee payment system - deposit ETH and have it automatically distributed to employees based on pre-set rules.
  • Online voting - publish a poll or proposal and have people vote on it.

Mind blown again. Smart contracts sound very flexible.

They are. But the above ideas are only the beginning, the tip of the iceberg! There's a very special type of smart contract that really opens the floodgates to creativity:

Ethereum token: a smart contract that simulates all the properties expected of a digital currency (i.e. you can have a balance of it, it can be sent / received / traded, it has built-in inflation / minting rules, etc).

In essence, tokens allow you to easily create your very own digital currency, for whatever purpose you might imagine, that runs on top of the Ethereum blockchain. There is a whole thriving ecosystem of such tokens, many trading as full blown cryptocurrencies in their own right on various exchanges.

The best tokens are the ones that offer some benefit to holding them besides just being used as a currency, and thus have some built-in intrinsic worth. Just like Ether itself functions as the fuel for running smart contracts.

This leads to our final important term:

Dapp (Decentralized Application): A collection of one or more smart contracts that together make up a cohesive application. Often paired with a web page that provides a friendly user interface, and an Ethereum token that powers the dapp in some way.

SteemImg

Now I've gotta learn about dapps and tokens? Any other surprises you haven't mentioned yet?

Nope, that's pretty much it (for this post anyway). Dapps are ultimately what make Ethereum such a powerful and promising technology in the long-term. Smart contracts are all well and good, but dapps provide the means for ordinary non-technical people to take advantage of them.

The average Facebook user does not know or care what fancy database system stores all their posts & account information behind the scenes. Similarly, a dapp user need not be concerned with the smart contracts that make the dapp work. Indeed, such a user might not even be aware that Ethereum is being used under the hood. And that is how Ethereum will go mainstream, in a way that Bitcoin has so far failed to do. People won't be talking about Ethereum; they'll be talking about the dapps that run on it.

Today's dapps are a long way from that ideal. Most of the really promising ones only exist as crude prototypes right now. But 2017 promises to be an exciting year as these early dapps mature and begin to officially launch. Here's a sampling of major dapps coming down the pipeline this year (each of these deserves a full blog post in its own right but I'll limit myself to a short summary for now):

  • Augur - A prediction market platform that uses "wisdom of the crowds" to guess the outcome of future events. You can make money by betting on the correct outcome. Uses a token called Reputation (REP) as an oracle system to resolve outcomes in a decentralized manner. Now in beta stage and scheduled for launch this summer.

  • Digix Gold - A platform for trading digitized gold, and maybe other precious metals in the future. Each DGX token is backed by 1 gram of physical gold secured in a vault in Singapore. Beta has been live since last year, currently being revamped into an improved version for official launch sometime this year.

  • Rouleth - A provably fair roulette game that allows real betting on the blockchain. Looks & feels like a virtual casino. Game is already launched as a proof-of-concept, with its inventor looking to expand the initial offering by adding more games later this year.

  • Golem - A decentralized market for sharing idle computing power for large distributed computing tasks. The first version, called Brass Golem, will act as a computer graphics rendering farm. Powered by a token called Golem Network Token (GNT) and currently in early alpha stage.

  • Akasha - A next generation social network, currently in early alpha stage. Possible future competitor to Steemit. Not clear at this point if Akasha will have its own token or just use Ether.

  • FirstBlood - An eSports gaming platform. Allows you to play matches against other FirstBlood users and win prizes in the form of 1ST tokens. Currently in early alpha with a beta release scheduled for this summer.

  • ICONOMI - A cryptocurrency investment fund management platform that allows financial specialists to roll their own funds and market them to investors. Will initially have 2 funds managed by the ICONOMI team (an index fund + performance fund for those with high risk appetites). Each fund is a separate Ethereum token. Possible launch by end of Q1 this year.

  • SingularDTV - An ambitious project whose main components are a digital rights management platform and video on-demand portal (think decentralized Netflix). Initial content for these platforms will include documentaries about Ethereum and a TV show called Singular. Expected to roll out slowly over the next 2 years, with first deliverable scheduled for April. Powered by Singular tokens (SNGLS).

My horizons are expanding too fast, aaaagh! It's going to take me a while to absorb all this...

Don't take too long. We are on the cusp of a new technological revolution akin to the dot-com boom of the late 90s. Smart contracts are the future, and Ethereum is currently the standard-bearer leading the way.

But right now the technology of smart contracts is in its infancy, comparable to the early days of the Internet. Just as people in the early 90s had no idea the Internet would evolve to become the pervasive, massive influence on our everyday lives that it is today, it's hard to say what the future of smart contracts will be. Quite possibly the most imaginative use cases, the so-called "killer dapps" of the smart contract age, have yet to be thought up. They will be invented by hobbyist tinkerers, maybe some kid in his home basement or dorm room, in a glorious return to the entrepreneurial spirit of yesteryear.

I for one can hardly wait to see how it all turns out. It's an exciting time to be alive!

Links to send you further down the rabbit hole

SteemImg

For a more detailed discussion of the technical underpinnings of Ethereum, including how the EVM works, see: https://github.com/ethereum/wiki/wiki/Ethereum-Development-Tutorial

Introductory tutorials on how to get started programming dapps:

The Ethereum sub-reddit; a great place for general news & information: https://www.reddit.com/r/ethereum/

Ethereum official web site: https://www.ethereum.org/

Dapp Web Sites:

For more posts about cryptocurrency, finance, travels in Japan, and my journey to escape corporate slavery, please follow me: @cryptomancer


Image credits: title image was created using a For Dummies book cover generator. The Ethereum logo is from https://www.ethereum.org/brand and is the original creation of the Ethereum Foundation.

Smart contract example is taken from this blog post by Alex Van de Sande, one of the lead developers at the Ethereum Foundation. Ethereum Wallet pics are screen shots of the software running on my desktop PC.

The dapp system diagram is my creation, put together with Microsoft PowerPoint, and incorporates some images from Pixabay used under Creative Commons CC0. Down the rabbit hole pic is also from Pixabay.

SteemImg
Achievement badges courtesy of @elyaque . Want your own? Check out his blog.

Sort:  

This is well-written and makes things easy to understand! I am excited for the future of smart contracts, Ethereum, dapps, and so forth. However, I am also concerned and skeptical if the real world population will be able to adopt these new technologies.

On the other hand, I was skeptical of Bitcoin when it was under $10 and look at it now...

It is an exciting time to be alive! I think the real measure of Ethereum's success will be if it gets to the point that people use dapps without even being aware that it's running on Ethereum under the hood. Take Steemit for example; the average Steemian doesn't really care about the blockchain technology that makes it all work, they just care that they can blog and get paid for it!

please help them j.mp/2pKIrHV

Very clear overview thanks. As you mentioned acove, it really is a lot like the first years of the internet. I remember putting my first website up on AOL when there was almost nothing to view online and almost no one used email. This is going the same way. We arevat the beginning if internet 2G.

Wow, I remember AOL! I was just a kid then; I used to beg my Mom to use an hour of expensive online time to download QBASIC games for our IBM 386 PC. Man, those were the days!

Just think how far the Internet has come since then. And then imagine where Ethereum might be 20 years from now. All I can say is, if you're lucky enough to own ETH, don't sell it any time soon!

Exactly, I have taken it offline and have no access to it at the moment. I think steemit is probably the place to be, long may it grow and prosper.

This is awesome, thanks for the insight my friend.

My pleasure, hope the information was helpful to you.

I was looking for exactly this kind of article. I tried installing the Ethereum wallet today but there was an error. I have a different multi wallet with about a buck of Ethereum and I was trying to figure out what I can do with it. I found myself reading the build a community page on their site, but I'm not familiar with the type of coding used. Please write more articles about Ethereum I want to know more. /Following

I'm glad you found my post useful. What kind of error did you get, and what specific things would you like to see more posts about? I will probably write more about various Ethereum dapps and use cases. To spend your buck of Ether, you may be interested in this follow-up post about an Ethereum gambling dapp called Rouleth

@cryptomancer I've found myself on this page again. I am installing MIST and am even more interested in Altcoins now than I was 3 months ago. Do you have any new Ethereum content to share?

I've been quite busy lately doing development work for Steemvoter, so sadly haven't had the time to write more blog posts. There are a lot more topics I'd like to cover and hopefully I will be able to free up some writing time soon. Thanks for your interest!

Well I need to keep re-reading this article and exploring some of these altcoins you suggest. Consider writing more onboarding articles for all these different cryptos! I'll follow.

Great explanation. Thanks for putting this together.

You're welcome! Ethereum is surprisingly difficult to explain; it's my hope that this post will make the subject just that little bit more accessible to newcomers and excite them to the possibilities the same way I was when I first learned of it.

You have definitely done that. I've never understood how smart contracts and dapps worked. So thanks for explaining in an accessible way.

btw, have been reading many of your other crypto related posts too and have learnt a lot from them. I think you wrote a post on your recommendation of the top 10 crypto apps for smart phones. I downloaded several of those, and use at least one of them daily.

Thanks a lot for the support and I'm glad my posts have been useful to you!

Great article please Can you tell me what's your opinion on nemcoin xem?

Thanks, glad you liked it. I don't know much about XEM, it's not one of the cryptos I've been focusing on. In terms of price it's been doing quite well recently, but looks overextended on daily charts. If you're looking to buy, I would wait for a dip.

This is so easy to understand and explains a lot!! Thank you so much for sharing it! I've started following you for more info ;-)

Would the nearest update in ETH make any change to network fee for sending tokens? I lately make some checks and the fees for sending tokens on various exchanges are starting with 0,5 for a token and in some cases are close to 5-15, which in the long term (especially with growing price) make those tokens useless.

Coin Marketplace

STEEM 0.28
TRX 0.12
JST 0.034
BTC 63152.69
ETH 3233.54
USDT 1.00
SBD 4.45