Consensys
research-nodes

KNOWLEDGE BASE

Blockchain Super FAQ

Answers to the 40+ most popular questions about blockchain technology and Ethereum.

Blockchain Fundamentals

What is a blockchain?

A blockchain is a distributed, cryptographically-secure database structure that allows network participants to establish a trusted and immutable record of transactional data without the need for intermediaries. A blockchain can execute a variety of functions beyond transaction settlement, such as smart contracts. Smart contracts are digital agreements that are embedded in code and that can have limitless formats and conditions. Blockchains have proven themselves as superior solutions for securely coordinating data, but they are capable of much more, including tokenization, incentive design, attack-resistance, and reducing counterparty risk. The very first blockchain was the Bitcoin blockchain, which itself was a culmination of over a century of advancements in cryptography and database technology.

What is blockchain software?

Blockchain software is like any other software. The first of its kind was Bitcoin, which was released as open source software, making it available to anyone to use or change. There are a wide variety of efforts across the blockchain ecosystem to improve upon Bitcoin’s original software. Ethereum has its own open source blockchain software. Some blockchain software is proprietary and not available to the public.

What is a blockchain database?

Historically, databases have incorporated a centralized client-server architecture, in which a sole authority controls the central server. This design means that data security, alteration, and deletion rests with a single point of failure. The decentralized architecture of blockchain databases emerged as a solution for many of the weaknesses of centralized database architecture. A blockchain network consists of a large number of distributed nodes––voluntary participants who must reach consensus and maintain a single transactional record together.

What is a blockchain system?

A blockchain system refers to all the aspects and features that go into a particular blockchain, everything from the consensus algorithm to the state machine to cryptographic functions. As Andreas Antonopoulus and Gavin Wood note in Mastering Ethereum, there are “a huge variety of blockchains with different properties”––qualifiers “help us understand the characteristics of the blockchain in question, such as open, public, decentralized, neutral, and censorship-resistant.

How does a blockchain work?

When a digital transaction occurs in a blockchain network, it is grouped together in a cryptographically-secure “block” with other transactions that have occurred in the same time frame. The block is then broadcast to the network. A blockchain network is comprised of nodes or participants who validate and relay transaction information. The block of transactions is verified by participants called miners, who use computing power to solve a cryptographic puzzle and validate the block of transactions. The first miner to solve and validate the block is rewarded. Each verified block is connected to the previously verified block, creating a chain of blocks. One important cryptographic underpinning of blockchains is the hash function. Hashing assigns a fixed value to a string that is inputted into the system. Blockchain hashing power results in a deterministic, quickly-computable, and preimage-resistant system. Explore our knowledge base to learn more about how a blockchain works.

What is a blockchain application?

Blockchain applications are comparable to conventional software applications, except they implement a decentralized architecture and cryptoeconomic systems to increase security, foster trust, tokenize assets, and design new network incentives. Here are over 90 Ethereum apps that are currently being used across the Ethereum blockchain ecosystem, from prediction markets to smart legal agreements.

What are the benefits of blockchain technology?

Blockchain technology has a wide variety of benefits, for both global enterprises and local communities. The most commonly cited benefits of a blockchain are trusted data coordination, attack-resistance, shared IT infrastructure, tokenization, and built-in incentivization.

What is the blockchain revolution?

Blockchain is considered a disruptive technology because of its ability to safeguard personal information, reduce intermediaries, unlock digital assets, and potentially open up the global economy to millions more participants. Sometimes called the Trust Machine, blockchain technology is bringing transparency and security to digital networks across countless industries. In many ways, the blockchain revolution can be considered a revolution in trust.

What is decentralized finance (DeFi)?

Decentralized finance—often called DeFi or open finance—refers to the economic paradigm shift enabled by decentralized technologies, particularly blockchain networks. DeFi signals the shift from a historically centralized and closed financial system toward a universally accessible economy that is based on open protocols that are interoperable, programmable, and composable. From streamlined and secure payment networks to automated loans to USD-pegged stablecoins, decentralized finance has emerged as one of the most active sectors in the blockchain space. Some of the defining factors of a DeFi application include permissionless architecture (anyone can participate), transparent and auditable code, and interoperability with other DeFi products. DeFi Score offers a single, consistently comparable value for measuring DeFi platform risk.

What is a block in a blockchain?

The “block” in a blockchain refers to a block of transactions that has been broadcast to the network. The “chain” refers to a string of these blocks. When a new block of transactions is validated by the network, it is attached to the end of an existing chain. This chain of blocks is an ever-growing ledger of transactions that the network has validated. We call this single, agreed-upon history of transactions a blockchain. Only one block can exist at a given chain height. There are several ways to add new blocks to an existing chain. These are often termed “proofs,” i.e. Proof of Work (PoW), Proof of Stake (PoS), and Proof of Authority (PoA). All involve cryptographic algorithms with varying degrees of complexity.

What is block time?

Depending upon how a particular blockchain protocol was developed, the time that it takes for a block to be added to the canonical chain can vary widely. A blockchain is a linear construct in that every new block occurs at a later time than the one that preceded it and cannot be undone. A blockchain’s linearity serves as an ideal form of validation. According to ethstats.io as of July 2019, for the Ethereum blockchain, new blocks are added approximately every 14 seconds.

What is distributed ledger technology?

Distributed ledger technology is a broad category that encompasses blockchain technology. A distributed ledger is just what its name implies. Instead of accounting for data through one centralized computer, distributed ledger technology uses many participants in a network to maintain a digital record. Blockchain technology supplements a distributed ledger with cryptographic functions and a consensus algorithm to enable greater incentive design, security, accountability, cooperation, and trust.

What is a blockchain wallet?

A blockchain wallet contains the public key for others to transfer cryptocurrency to your address and the private key so you can securely access your own digital assets. A blockchain wallet usually accompanies node hosting and stores cryptocurrencies on your computer. The safest place for storing digital assets is offline, what is often called “cold storage.” Read “7 Pro Tips for Keeping Your Crypto Safe” for some best practices on protecting your digital assets.

What is blockchain programming?

As a new technology that makes use of global digital networks, the need for blockchain programmers is immense, and in recent years, programmers have flocked to the blockchain space. A key aspect that distinguishes blockchain programming from other Internet ventures is the focus on security and cryptography. Consensys Academy’s Developer Program offers programmers from any background the chance to become a blockchain expert in weeks. Industry experts from around the world teach the course, which focuses on Ethereum blockchain development.

What is a blockchain company?

A blockchain company is simply a company that is invested in and/or developing blockchain technology. State of the Dapps ranks blockchain-based decentralized applications by user activity and Forbes recently released a report covering the top 50 billion-dollar companies exploring blockchain.

What is a private blockchain?

Blockchains began as open source, public efforts. Private blockchains were developed as corporations and other administrative bodies began to realize the benefits of distributed ledger technology, particularly within systems of a private enterprise and when managing sensitive transaction data. With increasingly robust and modular privacy and permissioning solutions, industry experts anticipate that private and public blockchain networks will converge.

What are zk-SNARKs?

zk-SNARK is an acryonym for zero-knowledge succinct non-interactive argument of knowledge, a cryptographic proof system that enables a user to verify a transaction without revealing the actual data of the transaction, and without interacting with the user who published the transaction. In the context of a blockchain, zk-SNARKs allow users to maintain private transactions, while still validating the transactions according to the network’s consensus algorithm. For a technical walkthrough of zk-SNARKs, check out our introduction to zk-SNARKs.

Ethereum Fundamentals

Note: “Ethereum” refers to the blockchain. “Ether” or the symbol “ETH” refers to the native token of the Ethereum blockchain.

What is Ethereum?

In 2015, the Ethereum blockchain launched as a much more versatile version of the Bitcoin payment system’s underlying blockchain technology. Ethereum is a decentralized, open source, and distributed computing platform that enables the creation of smart contracts and decentralized applications, also known as dapps. Smart contracts are computer protocols that facilitate, verify, or enforce the negotiation and performance of some sort of agreement. Ethereum brought the first practical solution for smart contracts to the blockchain space.

How does Ethereum work?

Like the Bitcoin blockchain, Ethereum utilizes nodes that are operated voluntarily in order to verify transactions in the network. Nodes can contain the entirety or a segment of Ethereum transaction history, the most recent information about the state of smart contracts, the balances of accounts, and more. At the foundation of Ethereum is the Ethereum Virtual Machine (EVM), which is the executable and trustless environment for smart contracts: computer protocols that facilitate, verify, and enforce the negotiation and performance of some sort of digital agreement. The EVM executes a contract with whatever rules the developer initially programmed, such as sending money from Alice to Bob. The EVM executes these programs through a bytecode language. Ethereum developers are able to use Ethereum programming languages such as Solidity and others to write smart contracts and build decentralized applications.

What is an Ethereum block?

A “block” in the Ethereum blockchain refers to a block of transactions that has been broadcast to the network. The Ethereum mainnet currently uses the Proof of Work consensus algorithm to verify blocks of transactions.

What is an Ethereum smart contract?

Ethereum pioneered practical smart contracts for the blockchain ecosystem. A smart contract is essentially a program coded for a specific purpose. Ethereum-based smart contracts have numerous applications. In banking and finance, smart contracts can help automate claims processing and enable real-time enforcement of regulatory control limits. In supply chain management, smart contracts are used to enforce asset tracking processes, as well as automate compliance and reporting. Smart contracts have limitless formats in order to support a wide range of industries.

What is an Ethereum client?

An Ethereum client is a software application that implements the technical specification defined in the Ethereum Yellow Paper or the EEA specification (for enterprise applications) and refers to any node that is able to parse and verify the blockchain, its smart contracts, or anything related. Open standards and interoperability enable Ethereum clients to communicate over the peer-to-peer network with other Ethereum clients, meaning that they all “speak” the same protocol and follow the same rules. Popular Ethereum clients include Quorum by J.P. Morgan, Parity, Geth, and Hyperledger Besu, which was built by the protocol engineering team at PegaSys. Hyperledger Besu, which was developed for enterprise use cases, includes a robust set of permissioning features and operates across both public and private chains. PegaSys Plus, a commercial distribution of Besu, has additional plugin features and support, including encryption at rest, advanced monitoring, and event streaming.

What is Ethereum backed by?

Ethereum is an open source project, which means that anyone can contribute to the codebase and that the network is open to anyone willing to participate. Therefore, Ethereum is owned by no one and everyone. There are many efforts in the Ethereum ecosystem to make open source development economically sustainable for developers. MolochDAO is a crowdsourced funding initiative to support Ethereum infrastructure projects. From its bounties explorer to its Patreon-like Grants Program, Gitcoin is also one of the most notable and multi-pronged efforts supporting open source maintainers in the blockchain space.

What is ether (ETH)?

Ether is Ethereum’s native token and the fuel that powers the Ethereum blockchain. On Ethereum, each operation (many of which can be combined to create a single unique smart contract or transaction) requires a certain amount of computing energy to perform. Because miners must use energy to complete these operations, a unit of measurement was created to monitor and compensate miners for the work they spend running transactions and smart contracts. This unit of measurement is called gas. Gas is a unit of measurement that is unique to the Ethereum blockchain and that measures the computational work required to run transactions or smart contracts within the EVM. The more energy required to run an operation (i.e. a more complex piece of code), the more gas is required. The value of each unit of gas is expressed in ether. Ether therefore provides an incentive for miners to validate blocks of transactions and for developers to write concise, quality code. ETH is the symbol for ether. Note that “eth” is also a command line used for importing the Ethereum wallet.

What is an ETH address?

All cryptocurrencies require addresses, or public identifiers, to send and receive funds. An ETH address is specific to Ethereum’s ether currency. Miners also need to set up an “etherbase,” which is a set address that will collect earnings from mining. “How to Store Digital Assets on Ethereum” is a helpful walkthrough for understanding cryptocurrency wallets, seed phrases, and security best practices for managing digital assets.

How can I earn ether (ETH)?

There are a variety of ways to earn ETH, both on and off the Ethereum blockchain. ETH is one of the most popularly traded cryptocurrencies and available on most exchanges. ETH is also becoming an increasingly popular way to compensate freelancers. Global freelance marketplaces like Bounties Network allow developers, designers, translators, and users from various disciplines to earn ETH for fulfilling tasks. Of course, mining Ethereum and supporting the network is one way to be rewarded in ETH.

How long does it take to transfer ether?

Ethereum confirmation times vary widely depending upon the amount of gas one is willing to spend, along with other market factors. You can view the median wait times at ethgasstation.info.

What is the gas limit in Ethereum?

The Ethereum gas limit is one of three core concepts of ether. The others are cost and price. Limits are set as the maximum payment one is willing to incur to complete a transaction. If a gas limit is set too low, it is possible that the transaction will fail. This is because the miner who attempts the transaction will go on and execute operations until the gas limit is reached. If additional operations are required, then the miner keeps the gas as fees for work done and the system records the transaction as “failed.” Gas limits are important because they protect both users and miners from faulty codes and network attacks. They are relevant because the dynamic nature of the Ethereum blockchain is comprised of a variety of smart contract operational levels. Not all transactions are the same and therefore require different amounts of gas to fuel their operations.

What is Ethereum coded in?

Ethereum smart contracts can be coded in Solidity, Serpent, LLL, and Mutan. These are contract-oriented, high-level languages. Their purpose is to target the Ethereum Virtual Machine (EVM) to provide a means for smart contracts. The Ethereum protocol has been developed using a variety of languages, from C++ to Python, Ruby, Go, Java, Rust, and more.

What is Ethereum used for?

There are a wide range of Ethereum use cases and applications, from payment settlement to supply chain tracking to digital identity management. Ethereum’s flexibility, modularity, agility, and scalability has attracted thousands of developers to the ecosystem, as well as global enterprises that are interested in deploying blockchain solutions to meet critical business needs.

What is the Enterprise Ethereum Alliance?

The Enterprise Ethereum Alliance (EEA) was formed in 2017 to accelerate the adoption of Ethereum in enterprise endeavors and to provide global standards for Enterprise Ethereum development. The Alliance uses an open architecture for testing and certification and focuses on providing resources for trust, privacy, and performance to foster a community that supports open source blockchain solutions. The EEA recently released their Enterprise Ethereum Client Specification V3.

Bitcoin vs. Ethereum

What’s the difference between Bitcoin and Ethereum?

Many of the underlying principles of Bitcoin and Ethereum are the same. They share many cryptographic functions common to blockchain technology, and both blockchain networks currently use a Proof of Work consensus algorithm. However, Ethereum was developed to address opportunities that are beyond the scope of the Bitcoin blockchain. The key element that distinguishes Ethereum from Bitcoin is smart contracts––agreements that are embedded in code so that they can automatically execute. Among the other fundamental differences between Bitcoin and Ethereum are their programming languages. Bitcoin uses a stack-based language while Ethereum uses a Turing-complete language. Their block times and hashing algorithms are also different. Ethereum’s core developers believe that moving Ethereum to a Proof of Stake system will make its smart contract-based network more efficient and secure.

What’s better, Bitcoin or Ethereum?

Bitcoin and Ethereum both offer unique advantages. Bitcoin was the first blockchain and has therefore seen broad adoption as a fair payment settlement solution. Ethereum was developed to meet the needs that Bitcoin created a demand for after disrupting the way that digital networks are architected and governed. Ethereum’s smart contracts make it much more than a payment solution. It has applications in supply chain tracking, energy and sustainability, real estate, government, and many other sectors. Given the current state of blockchain systems, Ethereum’s architecture most closely resembles what is required of a universal root chain that can provide decentralized and secure base layer settlement for interoperating blockchain networks.

Ethereum Roadmap

What is Byzantium Ethereum?

In October 2017, Ethereum initiated a hard fork for its Byzantium update. Byzantium was part of Ethereum’s third-stage release, called Metropolis live. Byzantium brought nine Ethereum Improvement Protocols (EIPs) that improved privacy, scalability, and security throughout the network. The Byzantium upgrade was followed by the Constantinople hard fork in February 2019, which integrated five EIPs and reduced the block reward from 3 to 2 ETH.

What is Proof of Stake (PoS) Ethereum?

The Ethereum blockchain currently uses a Proof of Work (PoW) consensus algorithm, similar to the Bitcoin blockchain. Because of scalability and other issues, Ethereum now has plans to move to a Proof of Stake (PoS) system. PoS will solve issues related to mining, excessive energy consumption, access to mining hardware, and centralized mining pools. Vlad Zamfir, a lead developer of Casper (the original name for the PoS system) has pointed out that the 51% attack that blockchains developers fear would cost much more in failed attempts because attackers must risk their own stakes.

What’s next for Ethereum?

Serenity––also known as Ethereum 2.0––is the eventual and final iteration in Ethereum’s evolution. It will take place in multiple stages. Following Istanbul, the last planned hard fork for Ethereum, the Beacon Chain is expected to roll out in 2019 as the first phrase of Serenity. The Beacon Chain is a Proof of Stake blockchain that will be stood up alongside Ethereum’s original PoW chain to ensure the continuity of the chains. For a deeper dive into the upcoming stages of Ethereum’s evolution, read “The Roadmap to Serenity.”

Ethereum Mining

What is Ethereum mining?

On the Ethereum blockchain, miners currently use a Proof of Work (PoW) algorithm to settle transactions. They are rewarded financially for their efforts. There are ongoing plans to make Ethereum a Proof of Stake (PoS) system. Proof of Stake dictates that two-thirds of validators must stake ETH on the next block, meaning the financial incentive is much riskier for potential malicious actors.

How long does it take to mine Ethereum?

Ethereum is mined in blocks. According to ethstats.io, the average Ethereum block time as of July 2019 is approximately 13 seconds.

What is the hashrate of Ethereum?

Hashrate refers to the speed at which an Ethereum miner operates, specifically the number of hashes guessed per second for solving the nonce of a block of transactions. According to ethstats.io, the average Ethereum network hashrate as of July 2019 is 166.46 TH/s.

Can I mine Ethereum?

Mining Ethereum becomes increasingly difficult over time. Most miners use a mining pool, which allows participants to pool their hashing power. Currently, solo mining is very difficult––it can take years to find a single block. Mining pools however have proven to deliver consistent profits to participants.

Can my computer mine Ethereum?

Your computer’s ability to mine Ethereum depends upon your GPU power. While dedicated mining hardware is often recommended, some powerful computers can contribute to a mining pool.

What is Ethereum difficulty?

Ethereum difficulty refers to miners’ hashing function and the difficulty of finding a new block. At higher difficulties, it is harder for miners to find valid blocks. According to ethstats.io, the average difficulty of the Ethereum network as of July 2019 is 2.2075 PH.

What do you need to mine Ethereum?

While there are cloud mining applications that offer people the opportunity to share in the profits of mining Ethereum, it is not a pure form of mining. This is more of an investment or rental option. Mining ETH alone is currently impractical, so most miners participate in mining pools, which generally proves more profitable. Dedicated mining hardware is advised even to mine as part of a pool.

Can you mine Ethereum on a laptop?

Yes, it is possible to mine Ethereum using a laptop. You will need to install specific software for your OS. However, mining Ethereum on a personal computer is currently impractical. Many products are available with dedicated hardware specifically for mining. They are made to operate efficiently so that miners can maximize their profits.

Can you mine Ethereum on a Mac?

Mining Ethereum on a Mac is possible. However, most miners use dedicated hardware.

How much Ethereum can I mine in a day?

The reward for mining Ethereum depends on several factors: your equipment, whether you participate in a mining pool, and the state of the blockchain. According to Alethio’s 2018 research report on mining pools, miners in the top four mining pools received approximately 0.04% payout. This payout is more lucrative than it seems considering that the top five pools were found to mine 84% of all newly found blocks. For example, Ethermine, the top mining pool for the week measured, found 11,235 blocks.Note: The questions above are based on Google search volume in the USA.

Blockchain Knowledge Base

Consensys

Blockchain Knowledge Base

Introductions to blockchain technology, Ethereum, cryptocurrency, distributed ledgers, smart contracts, and decentralized applications.

Blockchain Education and Training

CONSENSYS ACADEMY

Blockchain Education and Training

We are the educational core of the Ethereum movement. We offer online and in-person blockchain training programs for developers, business executives, and enthusiasts.

Ethereum Developer Portal

DEVELOPERS

Ethereum Developer Portal

Everything you need to start developing on Ethereum.