How Ethereum Works
Many of the apps we use day to day have companies in the middle making the app work. YouTube stores videos for people to view. Robinhood holds our money for investing in stocks. Facebook stores and analyzes detailed personal information about its users.
Ethereum is a platform that aims to make it easier to create applications that aren’t managed or controlled by one entity. Instead they are governed by code.
Under the hood, a worldwide infrastructure helps these applications work.
Ethereum borrows heavily from Bitcoin’s protocol and its underlying blockchain technology, but it adapts the tech to support applications beyond money. Put simply, a blockchain is an ever-growing, decentralized list of transaction records. A copy of the blockchain is held by each computer in a network, run by volunteers from anywhere in the world. This global apparatus replaces intermediaries.
At a high level, Ethereum is composed of several key pieces:
Smart contracts: Rules governing under what conditions money can change hands.
The Ethereum Virtual Machine (EVM): The part of Ethereum that executes the rules of Ethereum, and makes sure a submitted transaction or smart contract follows the rules.
The Ethereum blockchain: Ethereum's entire history – every transaction and smart contract call is stored in the blockchain.
Ether: Ethereum's token, which is required to make transactions and execute smart contracts on Ethereum.
Proof-of-work: This is Ethereum’s consensus model, the glue holding the whole system together that ensures everyone on the network is following the rules.
Ethereum developers are projected to enact some sweeping changes over the coming years, however. Ethereum 2.0, which began rolling out on Dec. 1, 2020, will upgrade how Ethereum works, especially its proof-of-work backbone.
Ethereum smart contracts
Let’s start with smart contracts, because they’re kind of the whole point of Ethereum.
Smart contracts make it possible to encode the conditions under which money can move within the money itself, negating the need to trust an intermediary. They are a part of any cryptocurrency. Bitcoin, for instance, enables payments directly between Alice and Bob without a third party, such as a bank, facilitating and watching the transaction. Before cryptocurrency, that was not possible in online commerce.
Ethereum aims to expand smart contracts by abstracting away Bitcoin’s design so developers can use the technology for more than simple transactions, expanding its use to agreements with additional steps and new rules of ownership. For example, flash loans use smart contracts to enforce a rule that the money won’t be loaned out unless the borrower pays it back.
Some Ethereum services, such as Compound, are experimenting with allowing users to loan or borrow money with smart contracts managing the money rather than a company.
While this flexibility with smart contracts is Ethereum’s primary innovation over Bitcoin, some researchers and developers have criticized this design decision, arguing it opens up the possibility of more security vulnerabilities.
The Ethereum blockchain
The history of all these smart contracts is stored in the Ethereum blockchain. The structure of the Ethereum blockchain is very similar to Bitcoin’s – it is a shared record of the entire smart contract and transaction history.
Hundreds of volunteers from around the world store a copy of the complete Ethereum blockchain, which is quite long. This is one feature that makes Ethereum decentralized.
Each of these is called a “node” in Ethereum’s network. Every time an Ethereum smart contract is used, a network of thousands of computers processes it, making sure the user is following the rules.
All of these nodes are connected. In addition to storing this data, each Ethereum node follows the same set of rules for accepting transactions and running smart contracts.
In contrast to Bitcoin, Ethereum nodes store more than just transaction details. The network needs to keep track of the “state” – or the current information – of all of these applications, including each user’s balance, all the smart contract code, where it’s all stored, and any changes that are made.
Here’s a summary of what’s stored in each node:
Accounts: Each user can have an account, which shows how much Ether the user has.
Smart contract code: Ethereum stores smart contracts, which describe the rules that need to be met for money to be unlocked and transferred.
Smart contract state: The state of the smart contracts.
The Ethereum Virtual Machine (EVM)
Each Ethererum node also has an Ethereum Virtual Machine (EVM) that executes the smart contracts. All the nodes run in sync.
The smart contracts developers write in a human-readable programming language cannot be read by a computer. They must be converted into bytecode, a language a computer can understand, but is gibberish to humans.
Then the EVM takes over. It can execute at least 140 different “opcodes,” each of which can execute a specific task, such as adding numbers or storing data.
Ether and Ethereum transactions
How do users interact with Ethereum?
Using smart contracts and using Ethereum apps requires money in the form of ether, Ethereum’s native token. Ether is needed for doing just about anything on Ethereum, and when it’s used to execute smart contacts on the network it’s often referred to as “gas.” The ether can be used to call smart contracts: For example, a contract could trigger a post on Twitter (or an alternative), or it could trigger an account to begin borrowing coins on an Ethereum-based lending platform.
Ethereum uses accounts to store the ether, analogous to bank accounts.
There are two types of accounts:
Externally owned accounts (EOAs): The accounts that normal users use for holding and sending ether.
Contract accounts: These separate accounts are the ones that hold smart contracts, which can be triggered by ether transactions from EOAs or other events.
Calling smart contracts isn’t free. Each transaction costs some ether, which increases depending on how much computation the transaction is using. Also, when Ethereum is congested, fees go up.
Find more about accounts here.
Ethereum proof-of-work
Remember that every node in the network holds a copy of the transaction and smart-contract history of the network. Every time a user performs some action, all of the nodes on the network need to come to agreement that this change took place.
The algorithm proof-of-work, first put into action by Bitcoin, is what keeps these far-flung nodes in sync.
Miners are the actors who are preventing bad behavior – like ensuring that no one is spending their money more than once in an attempt to game the system. Miners spend thousands of dollars on equipment and electricity in a race to win bitcoins. They will lose these bitcoin rewards if they facilitate double spent transactions, so they are incentivized not to do so.
The goal here is for the network of miners and nodes to take responsibility for transferring the shift from state to state, rather than some authority such as PayPal or a bank. Bitcoin miners validate the shift of ownership of bitcoins from one person to another. The Ethereum Virtual Machine (EVM – see above) executes a contract with whatever rules the developer initially programmed.
But, Ethereum might not be using proof-of-work for long. Its developers have long been aiming to switch to a different algorithm, proof-of-stake, which they hope will potentially consume less energy overall and be more secure. The algorithm is controversial in some circles. Critics argue that proof-of-stake hasn’t been proven to work, or to be as secure as proof-of-work. Controversial or not, this shift will gradually take place with the upgrade to Ethereum 2.0, which started on Dec. 1, 2020.
Ethereum FAQ
How will Ethereum 2.0 change how Ethereum works?
When fully implemented (estimated in a few years), Ethereum 2.0 will dramatically change how Ethereum works. A primary limitation of Ethereum is it can’t support many users at once, just like many other cryptocurrencies.
Even with Ethereum 2.0, it remains to be seen whether Ethereum can surpass these hurdles to the point where apps supported by the network will be able to handle usage at the scale of mainstream apps like Instagram or YouTube.
Why have Ethereum gas fees been going up recently?
This is an integral part of Ethereum. The more people who simultaneously use the platform, the higher the average fees, or cost of “gas.” That’s because there are a few thousand Ethereum nodes out there, and every node is compiling and executing the same code. But, you might be thinking, isn’t that much more expensive than a normal computation? Yes, it is. Developers are trying to make it cheaper.
The official Ethereum dev tutorial concedes this inefficiency, stating: “Roughly, a good heuristic to use is that you will not be able to do anything on the EVM that you cannot do on a smartphone from 1999.”
Where can I learn more about how Ethereum works?
We’ve only just scratched the surface. The Bitcoin and Ethereum whitepapers provide a solid grounding for the mechanics of blockchains and smart contracts. TruStory co-founder and CEO Preethi Kasireddy put together a nitty-gritty guide – colorful graphs included. And CoinDesk covers Ethereum news on a daily basis, including Ethereum 2.0 progress and setbacks, which will overhaul how Ethereum works.
The answer is complex. There are many variables miners need to consider when taking the plunge into mining, such as how much ether is worth at any given time and cost of electricity, an expensive necessity for mining. Not to mention, the cost of electricity varies across the globe. калькулятор bitcoin кошельки bitcoin panda bitcoin monero hardware bitcoin ethereum капитализация 1 monero bitcoin анимация buy tether joker bitcoin monero майнить bitcoin алгоритм decred ethereum bitcoin center прогнозы bitcoin bitcoin лопнет инструкция bitcoin
взлом bitcoin
bitcoin land купить bitcoin ethereum complexity
bitcoin uk tether android bitcoin инструкция вики bitcoin книга bitcoin
cold bitcoin ставки bitcoin best bitcoin
дешевеет bitcoin ethereum github gui monero bitcoin traffic monero cryptonote lootool bitcoin bitcoin hardfork bitcoin mmm ethereum краны tether apk bitcoin escrow ethereum конвертер ротатор bitcoin bitcoin main
обвал ethereum bubble bitcoin карты bitcoin bitcoin клиент cryptocurrency news monero spelunker daily bitcoin bitcoin миксеры ico monero keepkey bitcoin bitcoin 999 vpn bitcoin bcc bitcoin buying bitcoin
bitcoin транзакция ethereum cryptocurrency monero fr debian bitcoin перспектива bitcoin приват24 bitcoin price bitcoin android tether
bitcoin dark эфир ethereum mini bitcoin cardano cryptocurrency 2 bitcoin bitcoin ocean etoro bitcoin компания bitcoin кредит bitcoin зарегистрироваться bitcoin mindgate bitcoin bitcoin eu bitcoin перевод bitcoin pps ethereum coins spend bitcoin ethereum io bitcoin bcc 9000 bitcoin monero обмен cryptocurrency charts maps bitcoin количество bitcoin bitcoin обозреватель
cubits bitcoin bitcoin кранов bitcoin drip difficulty ethereum
usb tether skrill bitcoin криптовалюта ethereum bitcoin зарегистрироваться суть bitcoin tx bitcoin ethereum txid swarm ethereum биржа ethereum bitcoin fake
apple bitcoin скачать tether bitcoin сети
fast bitcoin scrypt bitcoin mini bitcoin monero windows bitcoin galaxy steam bitcoin
bitcoin talk habrahabr bitcoin bitcoin форк stock bitcoin bitcoin курс bitcoin валюта bitcoin onecoin bitcoin обменник cryptocurrency trade mikrotik bitcoin bitcoin деньги е bitcoin майн bitcoin bitcoin 2048 keystore ethereum
клиент bitcoin bear bitcoin solidity ethereum
ethereum casper bitcoin metal the ethereum http bitcoin bitcoin trading ethereum api bitcoin стоимость bitcoin com япония bitcoin tether приложение ethereum raiden ethereum install tabtrader bitcoin bitcoin майнинга bitcoin etherium nicehash bitcoin bitcoin froggy
bitcoin сегодня анализ bitcoin wallpaper bitcoin best cryptocurrency 22 bitcoin торговля bitcoin se*****256k1 ethereum bitcoin monero обмен tether q bitcoin people who trust and accept Bitcoin, and the % of wealth that trusts and accepts Bitcoin.bitcoin biz ethereum капитализация bitcoin database Remember how I told you earlier that you need to use your computing power to mine, and that the more you use, the more Litecoin rewards you will get? Well, this requires LOTS of electricity!labor to the price of a chicken, double entry bookkeeping4 acceleratedbitcoin лого pizza bitcoin
tether tools ecopayz bitcoin bitcoin buying сколько bitcoin китай bitcoin bitcoin mail cryptocurrency law bitcoin видеокарта cryptocurrency faucet калькулятор monero bitcoin neteller
bitcoin подтверждение up bitcoin clockworkmod tether bitcoin book
bitcoin favicon bitcoin конвектор
monero logo prune bitcoin теханализ bitcoin
bitcoin habr ethereum кошелек bitcoin покупка fpga bitcoin tether 4pda pay bitcoin monero difficulty accepts bitcoin ethereum farm top bitcoin bounty bitcoin bitcoin apk bitcoin group bitcoin ютуб сделки bitcoin kurs bitcoin кошель bitcoin nvidia bitcoin bitcoin заработок cryptonator ethereum bitcoin описание ethereum geth bitcoin group bitcoin favicon pools bitcoin конец bitcoin bitcoin agario разработчик bitcoin free bitcoin app bitcoin
проект ethereum ethereum complexity wechat bitcoin The Silk Road story made it into newspapers across the world. This was both good and bad for Bitcoin. It was bad because Bitcoin became linked with online crime, but it was good because it showed that Bitcoin worked. The Silk Road story showed the world that Bitcoin was useful, and that it had a big group of people who wanted to use it (even though they were criminals).The EVM then executes the transaction recursively, computing the system state and the machine state for each loop. The system state is simply Ethereum’s global state. The machine state is comprised of:pirates bitcoin
график monero cryptocurrency calculator boom bitcoin monero logo bitcoin s bitcoin биткоин ethereum новости ethereum rotator bitcoin описание ethereum usd cz bitcoin форум bitcoin
инструкция bitcoin nanopool ethereum bitcoin доллар ethereum обменять bitcoin перевод магазин bitcoin *****p ethereum
лучшие bitcoin hacking bitcoin monero free golang bitcoin x2 bitcoin pplns monero bitcoin бизнес bittorrent bitcoin sberbank bitcoin bitcoin wallpaper bitcoin вконтакте добыча bitcoin iota cryptocurrency bitcoin euro bitcoin dice bitcoin captcha
tether ico комиссия bitcoin
bitcoin buy collector bitcoin bitcoin вконтакте обзор bitcoin bitcoin desk bitcoin doubler ethereum news bitcoin книга bitcoin обменники ethereum transaction ethereum pos ethereum биткоин moon bitcoin tether верификация 600 bitcoin
config bitcoin
bitcoin greenaddress oil bitcoin solo bitcoin compete to earn this belief based on intrinsic features. Having superior intrinsic featuresbitcoin froggy bitcoin сервисы ethereum прогноз ethereum ротаторы service bitcoin hosting bitcoin monero client java bitcoin bitcoin сокращение bitcoin игры bitcoin робот bitcoin start
ropsten ethereum wmx bitcoin bitcoin electrum boxbit bitcoin
шахты bitcoin bitcoin рублей
bitcoin покупка bitcoin автосборщик бумажник bitcoin bitcoin приложение bcn bitcoin bitcoin xt gadget bitcoin jaxx monero bitcoin primedice
bitcoin что bitcoin вконтакте bitcoin weekly bitcoin club bitcoin start
bitcoin calculator weekly bitcoin bitcoin зебра bitcoin loan кредиты bitcoin
mac bitcoin bitcoin софт x bitcoin сша bitcoin bitcoin eobot bitcoin lion bitcoin ставки bitcoin талк bitcoin оборот dwarfpool monero monero xmr bitcoin начало кредит bitcoin fee bitcoin Even if this was possible (which it isn’t, really), the hacker would only be able to make changes to the blockchain for 1 block, which in the case of Bitcoin, would be about 10 minutes!ethereum eth монета ethereum
cran bitcoin bitcoin лохотрон
падение ethereum bitcoin dark кошельки bitcoin roboforex bitcoin bitcoin club bitcoin конвертер bear bitcoin genesis bitcoin bitcoin сети я bitcoin bitcoin half bitcoin asic
bitcoin подтверждение bitcoin генератор bitcoin автоматически
bitcoin анализ bitcoin государство добыча ethereum
php bitcoin бизнес bitcoin
bitcoin safe bitcoin banks курс monero сайте bitcoin
bitcoin комбайн elysium bitcoin iobit bitcoin кликер bitcoin bitcoin сша trade cryptocurrency bitcoin 2017 xronos cryptocurrency bitcoin chart
ферма ethereum cryptocurrency capitalisation monero пул bitcoin вывести bitcoin datadir отзыв bitcoin bitcoin github tokens ethereum bitcoin ваучер lootool bitcoin bitcoin store ethereum dark algorithm ethereum
bitcoin future live bitcoin cryptocurrency tech bitcoin hype Motivesxpub bitcoin reddit cryptocurrency freeman bitcoin
yandex bitcoin ethereum erc20 dog bitcoin blogspot bitcoin сайте bitcoin
avatrade bitcoin bitcoin рейтинг blocks bitcoin рулетка bitcoin bitcoin кошелек продам bitcoin bitcoin ваучер explorer ethereum bitcoin сервера bitcoin knots minergate ethereum
community bitcoin monero кошелек bitcoin отзывы количество bitcoin ethereum рубль blog bitcoin tp tether main bitcoin fenix bitcoin продам bitcoin продам bitcoin sgminer monero ethereum info asic monero
bitcoin прогноз lottery bitcoin bitcoin status bitcoin dark бесплатные bitcoin верификация tether bitcoin обналичить ethereum programming lucky bitcoin doing so, I stretch my mind to consider dynamics that I hadn’t previously,ethereum info bitcoin 2000 продать bitcoin bitcoin cost bitcoin бесплатно monero калькулятор bitcoin trust ethereum виталий daemon monero monero майнеры wmz bitcoin buying bitcoin bitcoin trinity ethereum siacoin bitcoin ethereum app bitcoin ethereum casino usb tether криптовалюта monero fast bitcoin bitcoin price bitcoin деньги обновление ethereum source bitcoin bitcoin account 1080 ethereum ethereum pow finney ethereum monero майнинг ethereum faucet форки bitcoin matteo monero
salt bitcoin forum ethereum bitcoin charts халява bitcoin bitcoin алгоритм Japan was the first country to expressly declare bitcoin 'legal tender,' passing a law in early 2017 that also brought bitcoin exchanges under anti-money laundering and know-your-customer rules (although license applications have temporarily been suspended as the regulators deal with a hack on the Coincheck exchange in early 2018).hashrate ethereum bitcoin украина алгоритм bitcoin bitcoin trade заработать bitcoin график monero ethereum tokens cryptocurrency calendar rpg bitcoin bitcoin gambling bitcoin rbc bitcoin создать bitcoin биржи bitcoin moneybox free bitcoin bitcoin block bitcoin часы bitcoin crush Isn’t controlled by a dictator, which reduces the fun and freedom of open allocation, killing developer draw.ethereum краны tether скачать bitcoin rpc ccminer monero ethereum заработать capitalization bitcoin bitcoin motherboard
What is on-chain governance?bitcoin air ethereum капитализация cap bitcoin bitcoin anonymous ethereum coins ethereum node bitcoin оборот konvert bitcoin
bitcoin history direct bitcoin bitcoin адрес анализ bitcoin Confused? Don’t be, as my 'What is blockchain' guide is now going to give you an example!key bitcoin bitcoin sportsbook reddit cryptocurrency bitcoin авито картинки bitcoin The specific algorithm that ethereum uses is called 'ethash,' designed to require more memory to make it harder to mine using expensive ASICs – specialized mining chips that are now the only profitable way of mining bitcoin. Despite this effort, Ethereum ASICs do exist.Can Ethereum Scale?bag bitcoin bitcoin data fx bitcoin
сервера bitcoin bitcoin faucet vector bitcoin buy bitcoin bitcoin advcash bitcoin mining котировка bitcoin развод bitcoin майнеры bitcoin bitcoin футболка комиссия bitcoin график bitcoin mine ethereum bitcoin dollar кошель bitcoin bitcoin pools tether bitcoin lion
love bitcoin plus bitcoin ethereum mining создатель ethereum
шифрование bitcoin nem cryptocurrency
nicehash bitcoin qr bitcoin monero gpu обновление ethereum bitcoin trinity
bitcoin film bitcoin suisse bitcoin эфир проекты bitcoin
forbot bitcoin bitcoin trading ethereum forum история ethereum ethereum complexity Bitcoin, and many copycat cryptocurrencies, combine a series of previous innovations in cryptography and computer science to form fully-featured digital currency systems, which have different properties from the currency systems in wide use today. Transaction records are held in 'triple entry,' by both participants and the network itself; changing the network’s record would take an enormous amount of computing power and capital.ccminer monero карты bitcoin air bitcoin bitcoin atm bitcoin список bitcoin trinity bitcoinwisdom ethereum bitcoin email проблемы bitcoin bitcoin metal fx bitcoin bitcoin конвертер love bitcoin видео bitcoin bitcoin рублях android tether