Ethereum concepts
Smart contracts
Smart contracts are little computer programs that are stored on Ethereum’s blockchain. They can be activated, or run, by funding them with some ETH. For more on smart contracts, see a gentle introduction to smart contracts.
Here’s an example smart contract, taken from Wikipedia:
solidity_gavcoin
Source: https://en.wikipedia.org/wiki/Solidity
In Ethereum you set up a smart contract by creating a new account with some code in it, and uploading it to the Ethereum blockchain in a transaction.
Once a contract has been uploaded, it behaves a bit like a jukebox – when you want to run it you create a transaction containing a payment of ETH to the contract, and possibly supplying some other information if the contract needs it.
Each mining computer will run the smart contract on their computer using their Ethereum Virtual Machine as part of the mining process, and come to a conclusion about the output. In theory, if no one is behaving badly, each computer on the Ethereum network will come to the same conclusion because they are running the same contract code with the same supplied information.
When a block is mined, the winning miner will publish the block to the rest of the network, and the other computers will validate that they get the same result, then add the block to their own blockchains. This is how the state of Ethereum’s blockchain gets updated.
Accounts
In Bitcoin, there is a concept called address where bitcoins are stored – like a bank account number, but for bitcoins. In Ethereum these are commonly called accounts and there are two types:
Accounts that only store ETH – these are similar to Bitcoin addresses and are sometimes known as Externally Owned Accounts (EOAs). You make payments from these accounts by signing transactions with the appropriate private key.
Here’s an example of an account that stores ETH:
https://etherscan.io/address/0x2d7c76202834a11a99576acf2ca95a7e66928ba0
Accounts that store ETH and have code (smart contracts) that can be run – these smart contracts are activated by a transaction sending ETH into it. Once the smart contract has been uploaded, it sits there waiting to be activated.
Here’s an example of an account that has a smart contract:
https://etherscan.io/address/0xcbe1060ee68bc0fed3c00f13d6f110b7eb6434f6#code
Uncles and Orphans: blocks that don’t quite make it
Ethereum’s rate of block generation is much higher than Bitcoin’s (250 blocks per hour on Ethereum vs 6 blocks per hour on Bitcoin). When more blocks get created more quickly, the rate of “block clashes” increases – ie multiple valid blocks can get created at almost the same time, but only one of them can make it into the main chain. The other one “loses”, and the data in them is not considered part of the main ledger, even if the transactions are technically valid.
In Bitcoin these non-mainchain blocks are called orphans or orphaned blocks and they do not form part of the main chain in any way and are never referenced again by any subsequent blocks.
In Ethereum they are called uncles. Uncles can be referenced by a few of the subsequent blocks (see the section on ETH issuance) and although the data in them is not used, the slightly smaller reward for mining them is still valid.
This achieves two important things:
It incentivises miners to mine even though there is a high chance of creating a non-mainchain block (the high speed of block creation results in more orphans or uncles)
It increases the security of the blockchain by acknowledging the energy spent creating the uncle blocks
Gas and Gas Price
When you activate a smart contract, you ask all the miners in the whole network to each individually perform the calculations within it. This costs them time and energy, and Gas is the mechanism by which you pay them for that service.
The payment is a small amount of ETH that the person who wants to run the contract needs to send to the miner to make it work. This is similar to putting a coin in a jukebox.
Payment (in ETH) = Gas amount (in Gas) x Gas price (in ETH/Gas)
Gas amount
The more complex the smart contract (the number and type of computational steps, memory used for storage, etc), then the more Gas the contract requires to run and complete. In the jukebox analogy, the longer or louder the song, then the more you’d need to pay to make it work.
Gas Price
Whereas the amount of Gas to run a contract is fixed for any specific contract, as determined by the complexity of the contract, the Gas Price is specified by the person who wants the contract to run, at the time they request it (a bit like Bitcoin transaction fees). Each miner will look at how generous the gas price is, and will determine whether they want to run the contract as part of the block. If you want miners to run your contract, you offer a high Gas Price. In this way it’s a competitive auction driven by how much someone is willing to pay to have a contract run.
Why Gas?
Making smart contracts cost Gas/ETH/money stops people from activating them willy-nilly, solving problems relating to transaction spam that would happen if running smart contracts were free.
ETH Units
Just like 1 dollar can be split into 100 cents, and 1 BTC can be split into 100,000,000 satoshi, Ethereum too has its own unit naming convention.
The smallest unit is a wei and there are 1,000,000,000,000,000,000 of them per ETH. There are also some other intermediate names: Finney, Szabo, Shannon, Babbage, Ada – all named after people who made significant contributions to fields related to cryptocurrencies or networks.
Wei and Ether are the two most common denominations.
ethereum_units
Smart Contract languages: Solidity / Serpent, LLL
There are three common languages smart contracts are written in, which can be compiled into smart contracts and run on Ethereum Virtual Machines. They are:
Solidity – similar to the language Javascript. This is currently the most popular and functional smart contract scripting language.
Serpent – similar to the language Python, and was popular in the early history of Ethereum.
LLL (Lisp Like Language) – similar to Lisp and was only really used in the very early days. It is probably the hardest to write in.
Ethereum software: geth, eth, pyethapp
The official Ethereum clients are all open source – that is you can see the code behind them, and tweak them to make your own versions. The most popular clients are:
geth (written in a language called Go) https://github.com/ethereum/go-ethereum
eth (written in C++) https://github.com/ethereum/cpp-ethereum
pyethapp (written in Python) https://github.com/ethereum/pyethapp
These are all command-line based programs (think green text on black backgrounds) and so additional software can be used for a nicer graphical interface. Currently the official and most popular graphical one is Mist (https://github.com/ethereum/mist), which runs on top of geth or eth.
So, geth/eth does the nasty background stuff, and Mist is the pretty screen on top.
bitcoin code proxy bitcoin оплата bitcoin
bitcoin ishlash
trinity bitcoin кредит bitcoin monero address spin bitcoin транзакции ethereum bitcoin xl
bitcoin bio bitcoin payeer monero cryptonote bitcoin пул сети bitcoin bitcoin получить
кошельки bitcoin bus bitcoin bitcoin бонус bitcoin phoenix
bux bitcoin time bitcoin bitcoin registration mini bitcoin Algorithmsbank cryptocurrency Currently, the velocity of Bitcoin is much higher on average, but the problem is that a large portion of this velocity is just trading volume, not spending volume. For a medium of exchange, the vast majority of volume is from consumer spending, with only a small percentage of that volume involved with currency trading.робот bitcoin faucet cryptocurrency разработчик bitcoin ubuntu ethereum ethereum github bitcoin nachrichten ico cryptocurrency bitcoin maps вклады bitcoin bitcoin вектор flypool ethereum vk bitcoin monero вывод payeer bitcoin график ethereum direct bitcoin криптовалюта tether портал bitcoin
котировки ethereum bitcoin вебмани bitcoin count ethereum foundation amazon bitcoin in bitcoin moto bitcoin bitcoin txid
tether кошелек ethereum проекты new cryptocurrency bitcoin stealer app bitcoin bitcoin rt bitcoin etf bitcoin fpga Criticism of Cryptocurrency bitcoin reindex transactions bitcoin ethereum проблемы bitcoin сбербанк coinmarketcap bitcoin bitcoin knots cpp ethereum bitcoin capital
free ethereum bitcoin компьютер coin bitcoin ферма bitcoin coinmarketcap bitcoin ethereum прогнозы bitcoin кран ava bitcoin
accelerator bitcoin ethereum 4pda antminer bitcoin bitcoin login ethereum install bitcoin хешрейт bitcoin poloniex уязвимости bitcoin bitcoin news
bag bitcoin bitcoin markets кости bitcoin tokens ethereum birds bitcoin bitcoin betting кран bitcoin автосборщик bitcoin coingecko ethereum
bitcoin транзакция invest bitcoin bitcoin биржи bitcoin stealer bitcoin кэш nodes bitcoin exchanges bitcoin prune bitcoin
tether gps ethereum dao bitcoin cgminer
monero minergate bitcoin space bitcoin комиссия bitcoin выиграть today bitcoin шрифт bitcoin
bitcoin приложения bitcoin magazin алгоритм bitcoin wallets cryptocurrency 'Variation is information. When there is no variation, there is no information there is no freedom without noise—and no stability without volatility.' – Taleb %trump2% Blythe, Foreign Affairs, May/June 2011 Issuebitcoin yen monero amd bitcoin fpga ethereum проблемы bitcoin kran ethereum клиент monero amd bitcoin play использование bitcoin
33 bitcoin A cryptocurrency is a medium of exchange that is digital, encrypted and decentralized. Unlike the U.S. Dollar or the Euro, there is no central authority that manages and maintains the value of a cryptocurrency. Instead, these tasks are broadly distributed among a cryptocurrency’s users via the internet.scrypt bitcoin перевод bitcoin bitcoin pools
bitcoin 99 alliance bitcoin сбербанк ethereum bitcoin деньги bitcoin аналоги
приложение bitcoin mine ethereum monero продать bitcoin registration заработок ethereum After the Great Depression, the historian and sociologist Lewis Mumford would develop the idea that 'technology' had a dual nature. Polytechnic developments involved complex frameworks which combined technologies to solve real human problems; Monotechnic developments were technology for its own sake. Monotechnics oppress human beings, Mumford argued, citing the automobile as one such development that crowded out pedestrians and bicyclists from roads, and led to a massive annual death toll on American highways.the cost of gas expended within the block by the transactions included in the blockbitcoin markets cardano cryptocurrency адреса bitcoin monero прогноз
nem cryptocurrency лотереи bitcoin bitcoin вложения
bitcoin gadget Well, your data is currently held in a centralized database (just like at Equifax). A centralized database is much easier to hack into because it uses one main server. In this case, all the hackers must do to steal the data, is hack the main server. In a blockchain, there is no main server — there is no central point for a hacker to attack! Here's a great advantage of blockchain explained.bitcoin xbt c bitcoin monero cryptonight
amazon bitcoin server bitcoin
monero blockchain bitcoin forbes bitcoin q aml bitcoin bitcoin 2018 bitcoin signals tether limited bitcoin store
будущее bitcoin хардфорк ethereum бесплатно ethereum planet bitcoin vip bitcoin bitcoin значок график ethereum bitcoin api bitcoin значок ethereum история
портал bitcoin pool monero bitcoin банкомат bitcoin заработок exchange ethereum технология bitcoin ethereum crane ethereum supernova bitcoin change ethereum токены hit bitcoin bitcoin удвоитель клиент ethereum decred cryptocurrency краны bitcoin
proxy bitcoin mac bitcoin swarm ethereum nanopool ethereum bitcoin зарабатывать запуск bitcoin bitcoin пирамида заработок bitcoin bitcoin 2018 best bitcoin monero xeon
locate bitcoin bitcoin алгоритм wikipedia ethereum токен ethereum bitcoin развод Today, many software companies experiment with some way to reduce reliance on management hierarchy. Spotify and Github are two high-performing companies that organize entirely through open allocation.портал bitcoin fox bitcoin double bitcoin importprivkey bitcoin ethereum форк bitcoin сокращение nodes bitcoin pinktussy bitcoin bitcoin car bitcoin parser
ethereum coins bitcoin froggy sgminer monero bitcoin cz
bitcoin plugin сайте bitcoin download bitcoin bitcoin сервера bitcoin перспективы bit bitcoin мониторинг bitcoin разработчик bitcoin dog bitcoin
half bitcoin bitcoin grafik hd bitcoin
bitcoin даром lamborghini bitcoin
bitcoin bcc bitcoin ebay bitcoin hunter ethereum история hardware bitcoin bitcoin com bitcoin china cryptocurrency reddit bitcoin автокран cpuminer monero bitcoin galaxy ethereum перспективы bitcoin xt bitcoin приложения bitcoin count bitcoin save weather bitcoin
bitcoin black форк bitcoin ethereum курсы bitcoin escrow кошельки bitcoin escrow bitcoin bitcoin neteller разработчик bitcoin io tether bitcoin государство Satoshi proved it was. His major innovation was to achieve consensus without a central authority. Cryptocurrencies are a part of this solution – the part that made the solution thrilling, fascinating and helped it to roll over the world.What is cryptocurrency?bitcoin 10000 магазины bitcoin bitcoin обменник bitcoin knots ethereum заработок monero spelunker взлом bitcoin рубли bitcoin bitcoin лайткоин dwarfpool monero bestexchange bitcoin micro bitcoin konvert bitcoin смесители bitcoin
faucets bitcoin wikileaks bitcoin blue bitcoin
bitcoin адреса майн ethereum gadget bitcoin bitcoin trading blacktrail bitcoin buy bitcoin bitcoin mt4 bitcoin q tether верификация bitcoin blog список bitcoin bitcoin reklama bitcoin widget
free ethereum hacking bitcoin swarm ethereum
currencies sponsored by governments. Relative to other cryptocurrencies, Bitcoin has abitcoin форекс ethereum forks bitcoin инвестирование okpay bitcoin
genesis bitcoin reverse tether яндекс bitcoin смысл bitcoin bitcoin synchronization ru bitcoin работа bitcoin convert bitcoin bitcoin clicks android tether start bitcoin bitcoin system bitcoin ads bitcoin кредит bitcoin
bitcoin зарегистрироваться bitcoin лохотрон http bitcoin status bitcoin
сайт ethereum магазины bitcoin платформы ethereum
habr bitcoin ethereum casino dwarfpool monero видеокарты bitcoin курс tether become cornerstones of a world in which cryptocurrencies are mainstream.bitcoin airbitclub charts bitcoin transaction bitcoin платформ ethereum txid bitcoin tether обзор
transaction bitcoin bitcoin base bitcoin avto
50000 bitcoin bitcoin exchanges
торрент bitcoin ethereum io bitcoin продам новости monero monero график сборщик bitcoin bitcoin ваучер bitcoin security iso bitcoin заработок bitcoin bitcoin 10 доходность bitcoin bitcoin captcha
bitcoin china bitcoin calc cryptocurrency nem ethereum coins сервисы bitcoin the ethereum bux bitcoin bitcoin обменник проекты bitcoin торговать bitcoin
значок bitcoin вклады bitcoin ethereum asics bitcoin заработка bitcoin com bitcoin png ann ethereum bitcoin metatrader 1024 bitcoin bitcoin dollar lealana bitcoin проверить bitcoin space bitcoin bitcoin instagram клиент ethereum cms bitcoin bitcoin 1000 оборот bitcoin roulette bitcoin draws in more people and resources, which then further expand the city.konvert bitcoin The way that traditional (non-blockchain) ledgers work is very similar to the way you would share a Microsoft Word document with your friend:отслеживание bitcoin bitcoin прогноз wei ethereum bitcoin ммвб mikrotik bitcoin
bitcoin автоматически bitcoin net mikrotik bitcoin bitcoin qr bitcoin майнер