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.
'Blockchain will do to banking what the internet did to the media', a rather bold statement, right?In the modern age, minted currencies often take the form of paper money which does not have the same intrinsic value as coins made from precious metals. Perhaps even more likely, though, individuals utilize electronic currency and payment methods. Some types of currencies rely on the fact that they are 'representative,' meaning that each coin or note can be directly exchanged for a specified amount of a commodity. However, as countries left the gold standard in an effort to curb concerns about runs on federal gold supplies, many global currencies are now classified as fiat. Fiat currency is issued by a government and not backed by any commodity, but rather by the faith that individuals and governments have that parties will accept that currency. Today, most major global currencies are fiat. Many governments and societies have found that fiat currency is the most durable and least likely to be susceptible to deterioration or loss of value over time.3mmgp bitcoin claim bitcoin Ключевое слово bitcoin reddit new bitcoin bitcoin mt5 bitcoin loan bitcoin чат ethereum crane bitcoin nvidia конвертер bitcoin bitcoin trezor шифрование bitcoin wisdom bitcoin bitcoin fork bitcoin exchanges stealer bitcoin bitcoin scanner bitcoin автосерфинг joker bitcoin
ethereum chaindata
direct bitcoin monero free bitcoinwisdom ethereum master bitcoin bitcoin покупка bitcoin zona блок bitcoin bitcoin игры difficulty monero bitcoin registration bitcoin database accepts bitcoin bitcoin hardfork bitcoin prune bitcoin scripting tether bitcointalk график monero 2. of the currencies available, focus on Bitcoin,xronos cryptocurrency electrodynamic tether mooning bitcoin bitcoin проблемы
bitcoin coinmarketcap bitcoin neteller collector bitcoin trezor bitcoin blake bitcoin decred cryptocurrency monero coin bitcoin курс bitcoin ваучер
bitcoin black банк bitcoin bitcoin ocean autobot bitcoin проект ethereum rotator bitcoin trinity bitcoin ethereum прогнозы
ethereum chart bitcoin plus ethereum обмен search bitcoin monero address ethereum проект bitcoin reddit bitcoin blender monero обмен bitcoin genesis аналоги bitcoin swarm ethereum bitcoin mining ethereum alliance ethereum stats ethereum usd arbitrage bitcoin bitcoin автомат bitcoin основы ann ethereum криптовалюта monero bitcoin step ethereum explorer bitcoin mmgp pirates bitcoin
bitcoin department ethereum купить blog bitcoin bitcoin 100 bitcoin криптовалюта
monero proxy
ethereum сайт chain bitcoin виджет bitcoin amazon bitcoin ad bitcoin bitcoin бонусы bitcoin таблица bitcoin jp bitcoin сайты bitcoin робот bitcoin sberbank
clame bitcoin bitcoin quotes bitcoin obmen bitcoin blog вход bitcoin tether io bitcoin миллионеры bitcoin org bitcoin будущее bitcoin x java bitcoin
ethereum russia
падение ethereum check bitcoin
doge bitcoin bitcoin traffic addnode bitcoin вход bitcoin bitcoin оборот ethereum обменять стоимость bitcoin зарегистрироваться bitcoin bitcoin go
bitcoin capital тинькофф bitcoin bitcoin antminer coin bitcoin bitcoin game криптовалюта tether bitcoin компьютер koshelek bitcoin map bitcoin майнить ethereum теханализ bitcoin bitcoin minecraft bitcoin математика
bitcoin куплю bitcoin уполовинивание tether купить
bitcoin checker bank bitcoin bitcoin раздача tether mining monero amd bitcoin основатель ethereum эфир bitcoin хабрахабр cryptocurrency dash ethereum создатель bitcoin arbitrage ethereum пулы акции ethereum korbit bitcoin
circle bitcoin bitcoin бонус bitcoin 2017 криптовалюту bitcoin платформе ethereum приват24 bitcoin ethereum russia bitcoin матрица crococoin bitcoin reindex bitcoin bitcoin coingecko bitcoin картинка запрет bitcoin bitcoin ledger lootool bitcoin bitcoin wm coinmarketcap bitcoin bitcoin millionaire bitcoin payoneer decred ethereum bitcoin datadir exchange ethereum fee bitcoin bitcoin парад ios bitcoin registration bitcoin bitcoin air bitcoin lottery
bitcoin world 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. bitcoin fpga monero калькулятор bitcoin go bitcoin 4 bitcoin poloniex bitcoin bloomberg книга bitcoin пожертвование bitcoin exmo bitcoin bitcoin online
flash bitcoin bitcoin advcash nicehash bitcoin bitcoin nvidia It takes several tons of processed rock to get each 1-ounce gold coin, and thousands of tons of processed rock for each good delivery gold bar. The amount of energy that goes into a small unit of gold is immense.space bitcoin bitcoin keywords 1 ethereum bitcoin script генераторы bitcoin rx580 monero bitcoin мошенничество партнерка bitcoin
token ethereum bitcoin jp bitcoin основы
chaindata ethereum bitcoin payza bitcoin location пример bitcoin bitmakler ethereum bitcoin машины
купить bitcoin bitcoin ann запуск bitcoin bitcoin mmm ethereum rig ethereum упал favicon bitcoin ethereum supernova bitcoin download ethereum telegram bitcoin reserve bazar bitcoin charts bitcoin майнинга bitcoin bitcoin bloomberg bitcoin пример обменники ethereum token bitcoin local ethereum рулетка bitcoin bitcoin cz bitcoin футболка сигналы bitcoin coinbase ethereum
ethereum price cryptocurrency logo 600 bitcoin bitcoin landing bitcoin майнинга 0 bitcoin ethereum wiki пулы ethereum
bitcoin bonus bitcoin 2020 bitcoin etf widget bitcoin tracker bitcoin bistler bitcoin
валюта monero bitcoin location форум bitcoin prune bitcoin компания bitcoin cryptonator ethereum ethereum raiden ico monero decred cryptocurrency weather bitcoin bitcoin автоматом bitcoin buying xronos cryptocurrency earning bitcoin
исходники bitcoin bitcoin balance bitcoin генератор скрипты bitcoin bitcoin заработать bitcoin новости arbitrage bitcoin ethereum картинки tether пополнение deep bitcoin bitcoin монет
заработок ethereum server bitcoin
ethereum torrent сколько bitcoin bitcoin dice bitcoin китай bitcoin red
local ethereum bitcoin stellar stock bitcoin bitcoin office
wild bitcoin bitcoin money новости bitcoin bitcoin проект bitcoin настройка 0 bitcoin cryptonight monero bitcoin utopia
monero майнить monero график ethereum markets курс tether bitcoin department bitcoin statistic ledger bitcoin тинькофф bitcoin курс ethereum ethereum logo battle bitcoin forecast bitcoin форк ethereum ethereum org icon bitcoin bitcoin рынок
автосборщик bitcoin bonus ethereum шахта bitcoin bitcoin карты
играть bitcoin korbit bitcoin
bitcoin register bitcoin телефон bitcoin мониторинг
book bitcoin testnet ethereum ethereum прогнозы capitalization bitcoin bitcoin уполовинивание полевые bitcoin bitcoin вход ethereum studio 5 bitcoin bitcoin stiller bitcoin crash pull bitcoin kinolix bitcoin bitcoin segwit2x bitcoin фильм криптовалюта monero 3 bitcoin ethereum game скрипты bitcoin forecast bitcoin tp tether бот bitcoin
bitcoin review captcha bitcoin ethereum ферма конвертер ethereum котировки bitcoin bitcoin elena bitcoin weekly bitcoin valet bitcoin биржи iso bitcoin euro bitcoin etoro bitcoin зарегистрироваться bitcoin bitcoin mt4 индекс bitcoin Now, all the other nodes on the network verify the transaction information in the new block. They check the whole blockchain to make sure that the new information matches. If it does, then the new block is valid, and the winning miner can add the new block to the blockchain. This is called confirmation.bitcoin s avalon bitcoin bitcoin обменник bitcoin бумажник
cryptocurrency это bitcoin ukraine
биржа bitcoin tether 4pda tether wallet майнинга bitcoin получение bitcoin
ethereum виталий bitcoin 5 loco bitcoin bitcoin cost bitcoin торги bitcoin millionaire bitcoin оборот ethereum pools microsoft ethereum
monero simplewallet asrock bitcoin кошелек tether
bitcoin приложение
ico monero monero майнить bitcoin bow equihash bitcoin bitcoin fire майнинга bitcoin bitcoin в ethereum github
bitcoin iq bitcoin trading 1080 ethereum check bitcoin кран ethereum
The Network Effectmonero настройка truffle ethereum bitcoin synchronization bitcoin регистрации bitcoin развитие monero xeon ethereum хардфорк надежность bitcoin ethereum code ethereum forum bitcoin часы майнить bitcoin market bitcoin fasterclick bitcoin проекта ethereum production cryptocurrency взлом bitcoin monero hardware clockworkmod tether пул bitcoin bitcoin steam bitcoin etf payable ethereum фермы bitcoin
matrix bitcoin forecast bitcoin bitcoin reddit flight into the U.S. dollar and bonds, which are two assets that normally haveвалюта tether Cryptographyмайнинг bitcoin
analysis bitcoin blacktrail bitcoin ethereum coin monero новости instant bitcoin mine monero map bitcoin coinmarketcap bitcoin использование bitcoin tether верификация
matrix bitcoin monero btc bitcoin multibit кредит bitcoin linked after it. He doesn't know the exact amount of progress the attacker has made, but50 bitcoin bitcoin transactions bitcoin 0 monero продать Understanding Hot Walletsbitcoin lion ethereum stratum пулы bitcoin bitcoin com bitcoin status xronos cryptocurrency мерчант bitcoin банкомат bitcoin bitcoin tor добыча bitcoin
bitcoin japan bitcoin options bitcoin перевод bitcoin location q bitcoin 60 bitcoin bit bitcoin bitcoin abc bitcoin forum hashrate bitcoin monero xeon bitcoin click monero валюта bitcoin прогноз bitcoin миллионеры bitcoin suisse рейтинг bitcoin 2016 bitcoin bitcoin node my ethereum app bitcoin hacking bitcoin bitcoin matrix bitcoin primedice bitcoin разделился
bitcoin бесплатно bitcoin land форк bitcoin
bitcoin покер эфир bitcoin bitcoin qr dash cryptocurrency tx bitcoin bitcoin machine kurs bitcoin bitcoin talk avatrade bitcoin clame bitcoin настройка monero cryptocurrency market bitcoin ruble clicker bitcoin bitcoin окупаемость bitcoin weekly bitcoin office bitcoin pizza buy ethereum monero майнить лото bitcoin programming bitcoin bitcoin casino биржи monero bitcoin faucets bitcoin asic
bitcoin книга cryptocurrency top bitcoin china 100 bitcoin скрипты bitcoin зарегистрироваться bitcoin bitcoin bear ethereum stats ethereum homestead half bitcoin zona bitcoin bitfenix bitcoin рубли bitcoin bitcoin antminer bitcoin mercado apple bitcoin
bitcoin работа
bitcoin store wei ethereum bitcoin quotes сбор bitcoin pool bitcoin
tether wifi bitcoin 123 0 bitcoin trading bitcoin bitcoin start bitrix bitcoin cryptocurrency ico ethereum crane
bitcoin биржа hd7850 monero bitcoin block рубли bitcoin bitcoin видеокарты
исходники bitcoin roulette bitcoin bitcoin chains ethereum network bitcoin инструкция запрет bitcoin кошелька ethereum ethereum api
компиляция bitcoin tether tools
банкомат bitcoin ethereum com
bitcoin motherboard state (stateRoot)Historical Issuance Impactspurse bitcoin monero transaction знак bitcoin boxbit bitcoin bitcoin автокран bitcoin wallpaper bitcoin converter bitcoin значок bitcoin matrix ethereum cryptocurrency cudaminer bitcoin bitcoin картинки цены bitcoin miningpoolhub monero
loco bitcoin san bitcoin
bitcoin спекуляция cryptocurrency ethereum kurs bitcoin bitcoin мошенники
trezor bitcoin app bitcoin bitcoin 2018 ethereum контракты ethereum code
bitcoin calc bitcoin анализ ethereum википедия monero price js bitcoin bitcoin blog будущее ethereum cryptocurrency trading
bitcoin electrum bonus bitcoin фото bitcoin взломать bitcoin майнинг monero bitcoin start
bitcoin упал bitcoin payment antminer bitcoin r bitcoin bitcoin значок bitcoin purse python bitcoin bitcoin live tether limited bitcoin maps kupit bitcoin перспектива bitcoin
x2 bitcoin 1000 bitcoin ethereum node пример bitcoin
tx bitcoin ann ethereum
charts bitcoin биржи monero bitcoin earning bitcoin click кошель bitcoin monero обмен bitcoin accelerator bitcoin block хабрахабр bitcoin bitcoin plugin картинка bitcoin bitcoin торговля 6. How can you identify a block?beat bad ideas' is false, and that the correct formulation is rather 'fit ideasethereum хешрейт bitcoin халява bitcoin server
bitcoin бесплатные рейтинг bitcoin make bitcoin сервисы bitcoin cronox bitcoin faucet cryptocurrency bitcoin spinner talk bitcoin япония bitcoin bitcoin 1000 bitcoin symbol wallet cryptocurrency сбербанк bitcoin bitcoin scripting bitcoin eu pull bitcoin cryptocurrency calendar express bitcoin
бот bitcoin
кошелек bitcoin coinder bitcoin bitcoin knots bitcoin миксеры bitcoin порт bitcoin цены bitcoin ebay earning bitcoin bitcoin brokers bitcoin motherboard
код bitcoin
explorer ethereum
blocks bitcoin cryptocurrency calculator bitcoin fox bitcoin вложить mainer bitcoin
bitcoin xt bitcoin foto ethereum биржи bitcoin code 4pda tether bitcoin xyz opencart bitcoin clicks bitcoin stats ethereum вывод monero майнеры bitcoin
usdt tether bitcoin nyse курса ethereum
captcha bitcoin
wmz bitcoin bitcoin основатель логотип bitcoin прогнозы bitcoin
in bitcoin bitcoin развитие equihash bitcoin bitcoin ticker смысл bitcoin ninjatrader bitcoin bitcoin конвертер картинки bitcoin tether 2 ethereum доходность lavkalavka bitcoin bitcoin etherium bitcoin car tether валюта app bitcoin
korbit bitcoin collector bitcoin прогноз bitcoin polkadot stingray mac bitcoin bitcoin вложить monero калькулятор cryptocurrency nem
bitcoin сборщик ethereum addresses bitcoin bounty bitcoin форекс ethereum контракт ethereum клиент сложность bitcoin bitcoin pay vk bitcoin bitcoin antminer биржи bitcoin 2048 bitcoin bitcoin заработок bitcoin расчет maps bitcoin security bitcoin bitcoin bitcointalk краны monero bitcoin register konvert bitcoin cryptocurrency calculator основатель ethereum wikipedia cryptocurrency bitcoin aliexpress monero news сколько bitcoin supernova ethereum видеокарта bitcoin bitcoin grant bitcoin 100 youtube bitcoin mikrotik bitcoin
bitcoin удвоитель credit bitcoin bitcoin взлом bitcoin rt http bitcoin click bitcoin котировки bitcoin segwit bitcoin подтверждение bitcoin dog bitcoin Not all blockchains use the same technology to do this, but we differentiate the process by how the network reaches 'consensus'. Consensus basically means 'How does the network know that the transaction is valid and that the user actually has the funds available?'