розділ
Основи Ethereum
Звідки береться Ethereum?
Початок роботи з Ethereum
Масштабованість, Ethereum 2.0 і майбутнє Ethereum
Ethereum і децентралізовані фінанси (DeFi)
Вхід в мережу Ethereum
Розділ 1. Основи Ethereum
Зміст
Що таке Ethereum?
Яка різниця між Ethereum і Ethereum (ETH)?
Звідки береться цінність Ethereum?
Що таке блокчейн?
Чим Ethereum відрізняється від Bitcoin?
Як працює Ethereum?
Що таке розумний контракт?
Хто створив Ethereum?
Як розподіляються монети Ethereum?
Що таке «DAO» і «Ethereum Classic»?
What is Ethereum?
Ethereum is a decentralized computing platform. We can think of it as a computer that does not run on a single device. In other words, it can run simultaneously on thousands of devices around the globe, without a specific owner.
Like Bitcoin and other digital currencies, Ethereum also supports the transfer of digital assets. However, its functionality is broader, allowing users to configure exclusive codes and interact with applications developed by other users. Ethereum is highly flexible, and various complex programs can be built on the Ethereum platform.
In short, the core idea behind Ethereum is that developers can create and run code on a distributed network without using a central server. Therefore, these applications theoretically cannot be shut down or censored.
What is the difference between Ethereum and Ether (ETH)?
The following statement may sound a bit convoluted: the unit used by Ethereum is not called Ethereum, nor is it called Ethereums. Ethereum refers to the protocol itself, while the token that powers it is called Ether (abbreviated as 'ETH').

Where does Ethereum's value come from?
As previously mentioned, the code of Ethereum runs in a distributed system. Therefore, the program cannot be tampered with by external parties. Once they enter the Ethereum database (i.e., the blockchain), they can be programmed such that others cannot modify the code. Additionally, the database is visible to everyone, allowing users to review the code before interacting.
These characteristics determine that anyone can launch applications that cannot be taken offline anytime and anywhere. More interestingly, Ethereum's native unit, Ether, can store value, creating the conditions for value transfer in these applications. The programs that constitute the applications are called smart contracts. In most cases, they can operate without human intervention.
Undoubtedly, the concept of 'programmable money' attracts many users, developers, and enterprises.
Check the latest price of Ether now.
What is blockchain?
Blockchain is not only the core of Ethereum but also the database used to store the information of the protocol. If you have read our article (What is Bitcoin?), you will understand the basic knowledge of how blockchain operates. The Ethereum blockchain is similar to the Bitcoin blockchain, with differences primarily in data storage methods and the content of stored data.
The Ethereum blockchain is like a book that can continuously add new pages. Each page in the book is called a block, which stores transaction information. When a new page needs to be added, a special value must be recorded at the top of the page. This value indicates that the new page is added in order after the previous page, rather than randomly inserted into the book.
Essentially, this is somewhat like a page number, referencing information from the previous page to help determine whether the new page (block) is added in order. We use hash functions to accomplish this.
Hash functions obtain a set of data (in this case, all data in the block) and return a unique identifier (our hash value). The probability that two sets of data output the same hash value is very low, and this process is also one-way. Therefore, you can easily calculate the hash value, but cannot reverse-engineer the information that created the hash value. In subsequent chapters, we will analyze why this is a key factor affecting mining.
Now, we have found the mechanism to connect all pages in the correct order. Any attempt to alter the order or remove pages will make the fact that 'our book has been tampered with' evident.
Want to learn more about blockchain? Please read our Beginner's Guide to Blockchain Technology.
How is Ethereum different from Bitcoin?
Bitcoin builds a global digital cash system through blockchain technology and financial incentives. It introduced several key innovations that help global users coordinate operations without a central authority. Bitcoin supports all participants in running programs on personal computers, allowing users to reach consensus on the state of financial databases in a trustless, decentralized environment.
Bitcoin is often regarded as the first generation of blockchain. Developers were unwilling to make Bitcoin an overly complex system, which gives it a unique advantage in security. Its design lacks flexibility, precisely to prioritize security at the foundational level. The programming language for Bitcoin smart contracts is indeed very limited and does not adapt well to applications beyond transactions.
In contrast, second-generation blockchains have richer functionalities. Beyond financial transactions, these platforms achieve a higher degree of programmability. Ethereum grants developers greater freedom, allowing them to experiment with personal code and create various decentralized applications (DApps).
Ethereum is the pioneer of the second-generation blockchain wave and continues to dominate. It shares many similarities with Bitcoin and can perform many of the same functions. However, the core principles of the two differ significantly, each with its own advantages.
How does Ethereum work?
We can define Ethereum as a state machine. This means that at any given point in time, a snapshot showing the account balances and the current state of smart contracts is available. Certain operations will lead to state updates, meaning that all nodes will update their snapshots to reflect changes.

State transitions in Ethereum.
Smart contracts running on Ethereum are triggered by transactions (from users or other contracts). When a user sends a transaction to a contract, all nodes in the network run the contract code and record the output. This process is achieved through the Ethereum Virtual Machine, which converts smart contracts into instructions that can be read by computers.
To update the state, the system employs a special mechanism known as mining. Similar to Bitcoin, mining in Ethereum is also completed through proof of work. We will delve deeper into this shortly.
What is a smart contract?
The essence of a smart contract is code. However, it is neither intelligent nor a contract in the traditional sense. The reason it is called a 'smart contract' is that it can automatically execute the agreement reached by both parties under specific conditions ('smart').
In the late 1990s, computer scientist Nick Szabo first proposed the concept of smart contracts. He used the example of a vending machine to explain this idea, arguing that it could be seen as a precursor to modern smart contracts. A vending machine executes a simple contract; after a user inserts a coin, the machine provides the selected product.
Smart contracts apply this kind of logic to the digital environment. You can specify simple conditions in the code, such as returning 'Hello, World!' when the contract receives two Ether.

In Ethereum, developers will encode it so that the EVM can read it. Subsequently, developers send it to a special address that registers the contract. At that point, everyone can use the contract. Unless the developer sets conditions for deletion while writing the contract, it cannot be removed.
Now, the contract has an address. To interact with it, users need only send 2 Ether to that address. This action will trigger the contract code—all computers in the network will run this operation, witnessing that the user has paid the contract, and will record the output ('Hello, World!').
The above may be one of the most basic examples of Ethereum functionality. As technology continues to advance, people can create more applications that connect multiple contracts and are more sophisticated and complex, and such programs have already been created.
Who created Ethereum?
In 2008, a developer (or group of developers) using the pseudonym Satoshi Nakamoto published the Bitcoin white paper, fundamentally changing the landscape of digital currency. A few years later, a young programmer named Vitalik Buterin sought to further promote this idea and apply it to various applications. Ultimately, this concept transformed into Ethereum.
In a blog post published in 2013 titled (Ethereum: The Ultimate Smart Contract and Decentralized Application Platform), Buterin first proposed 'Ethereum'. In the article, he introduced the idea of a 'Turing-complete blockchain'—a decentralized computer with sufficient time and resources that can run any application.
As technology evolves, more types of applications that can be deployed in blockchain will emerge in the market; as long as developers can envision it, it can be done. Ethereum aims to break the design limitations intentionally imposed by Bitcoin, finding more applications for blockchain technology.
How is Ether distributed?
Ethereum was launched in 2015, with an initial supply of 72 million Ether. Over 50 million of these tokens were publicly sold through a token sale event called 'Initial Coin Offering (ICO)'. Participants could purchase Ether using fiat currency or Bitcoin on trading platforms.
What are 'The DAO' and 'Ethereum Classic'?
With Ethereum, the open collaboration on the internet has also found a new way of presentation. The DAO (Decentralized Autonomous Organization) is a typical example. Such entities are similar to computer programs, fully controlled by computer code.
The most ambitious project initially implemented by this organization was 'The DAO'. It consisted of some complex smart contracts running on Ethereum and operated in the form of an independent venture fund. DAO tokens were distributed in the form of an ICO, and token holders enjoyed both equity and voting rights.
However, shortly after the project's launch, it suffered a vulnerability attack, and nearly a third of the DAO's funds were stolen by malicious actors. To make matters worse, 14% of the total supply of Ether at that time was locked in the DAO. Undoubtedly, the fledgling Ethereum network suffered a catastrophic blow as a result.
After negotiations, the entire blockchain was split into two chains through a hard fork. One of the forked chains reversed the malicious transactions, successfully recovering funds—this is now known as the 'Ethereum blockchain'. In contrast, transactions on the original chain were not reversed and remained unchanged; it is now referred to as Ethereum Classic.
This painful lesson warns us to take the risks of this technology seriously and makes us realize that entrusting large amounts of wealth to autonomous code can be counterproductive. This particular example also illustrates the immense challenges of making collective decisions in an open environment. Aside from security vulnerabilities, The DAO indeed perfectly exemplifies the potential of smart contracts to achieve large-scale trustless collaboration over the internet.
Chapter 2 - Where does Ether come from?
Table of Contents
How is new Ether generated?
What is the total amount of Ether?
How does Ethereum mining work?
What is the gas fee in Ethereum?
Gas fees and gas limits
How long does it take to mine an Ethereum block?
What is an Ethereum token?
How is new Ether generated?
We briefly mentioned 'mining' earlier. If you are familiar with Bitcoin, you know that the mining process is crucial for protecting and updating the blockchain. Ethereum's mining principle is the same; that is, according to the protocol, Ether rewards are provided to the mining participants (which is time-consuming, labor-intensive, and costly).
What is the total amount of Ether?
As of February 2020, the total supply of Ether is approximately 110 million.
Unlike Bitcoin, Ethereum did not establish a dedicated token issuance plan at launch. Bitcoin maintains its value by restricting supply and gradually reducing the production of new coins. Ethereum, on the other hand, lays the foundation for decentralized applications (DApps) through tokens. Since the most suitable type of token issuance plan has yet to be found, this issue remains unresolved.
How does Ethereum mining work?
Mining is crucial for network security. It ensures that the blockchain can be updated fairly and reasonably and supports the network's normal operation without a single decision-maker. In mining operations, a subset of nodes (the so-called 'miners') contributes computing power to solve cryptographic puzzles.
The actual operation involves hashing a set of pending transactions and their data. To make a block valid, the hash value must be lower than the predetermined value of the protocol. If the operation fails, miners can modify certain data and try again.
Due to competition, miners must complete the hashing operation as quickly as possible—the hash rate thus becomes a measure of the miner's computing power. The higher the hash rate in the network, the harder it is to solve cryptographic puzzles. Only miners need to find a valid answer; once this answer is broadcast in the network, other participants can easily verify its validity.
As you might expect, continuous high-speed hashing comes at a high cost. As an incentive to protect network security, miners can receive rewards. Rewards come from all transaction fees in the block. They also receive freshly minted Ether, which was 2 Ether at the time of writing this.
What is the gas fee in Ethereum?
Do you remember the 'Hello, World!' contract mentioned earlier? This program runs easily and has low computational costs. However, you are not just running this program on your computer as an individual; you are asking everyone in the Ethereum ecosystem to run it together.
This leads to the following question: what happens when tens of thousands of people run complex contracts simultaneously? If someone sets the contract to loop the same code, each node would need to run indefinitely. These processes would consume a large amount of resources, potentially causing the entire system to crash.
Fortunately, Ethereum introduced the concept of gas fees to mitigate this risk. Just as a car cannot run out of fuel, contracts also cannot operate without gas fees. To ensure contracts run smoothly, users must pay a certain amount of gas fees. If the gas fees are insufficient, the contract will terminate.
Essentially, this is a charging mechanism. We extend this concept to transactions, meaning that miners' main motivation is profit and they may overlook transactions with lower fees.
Please note that Ether is different from gas fees. The fluctuations in the average price of gas fees largely depend on miners. When conducting transactions, Ether is used to pay for gas fees. The charging mechanism is similar to Bitcoin: if the network is busy and many users are participating in transactions, the average gas fee will increase. Conversely, if activities in the network are minimal, the price will decrease.
Although the price of gas fees fluctuates, the gas fees required for each operation are fixed. In other words, executing complex contracts consumes more gas fees than simple transactions. Therefore, gas fees become a measure of computing power. They ensure that the system charges users according to their usage of Ethereum resources.
Gas fees typically consume only a small portion of Ether, and we set a smaller unit for it called 'gwei'. 1 gwei is equivalent to one billionth of an Ether.
In short, you can run a program in a long loop, but this operation will quickly become very expensive. Therefore, nodes in the Ethereum network help reduce spam.

The average price of gas fees over time (unit: gwei). Source: etherscan.io
Gas fees and gas limits
Suppose Alice is conducting a contract transaction. She calculates the gas fees she needs to pay (for example, through ETH Gas Station). Perhaps she will set a higher price to incentivize miners to process the transaction quickly.
She will also set a gas limit for self-protection. If the contract encounters issues, the consumed gas fees may exceed the planned value. The role of the gas limit is to ensure that when the set gas fees x are exhausted, the operation stops. The corresponding contract will then become invalid, and the amount Alice ultimately pays will not exceed the initial set value.
At first glance, this concept may seem confusing. In fact, it indicates that gas fees (and their limits) can be manually set, and most wallets will complete the settings on behalf of users. In short, gas fees determine the speed at which miners process transactions, while the gas limit determines the maximum amount you are willing to pay for the transaction.
How long does it take to mine an Ethereum block?
The average time to add a new block to the Ethereum blockchain is 12 to 19 seconds. If the network transitions to a proof-of-stake model primarily aimed at shortening block time, this situation is likely to change. For details, please read (Ethereum Casper Explained).
What is an Ethereum token?
The greatest charm of Ethereum lies in its support for users to create personal assets on-chain, which can be stored and transferred just like Ether. The governance rules of these assets are specified in smart contracts, allowing developers to set token parameters themselves. These include token issuance volume, issuance mechanisms, divisibility, and interchangeability among many other features. When creating tokens in Ethereum, various technical standards can be followed, the most prominent of which is called ERC-20—thus, these tokens are commonly referred to as 'ERC 20 tokens'.
This token is highly functional and provides innovators with a broad testing ground, supporting more attempts in cutting-edge fields like finance and technology. From issuing a uniform token as in-app currency to creating unique tokens based on real-world assets, its design is highly flexible. It is likely that there are various excellent use cases for token creation that are yet to be discovered.
Chapter 3 - Getting Started with Ethereum
Table of Contents
How to purchase Ether?
How to buy Ether using credit/debit cards
How to purchase Ether on P2P markets
What can be purchased with Ether (ETH)?
What are the use cases of Ethereum?
What should be done if Ether is accidentally lost?
Can Ethereum transactions be reversed?
Are Ethereum transactions private?
Can Ethereum generate profits?
How to store Ether?
How to deposit Ether into Binance
How to store Ether in Binance
How to withdraw Ether from Binance
How to store Ether in an Ethereum wallet
Hot wallet
Cold wallet
What is the logo and symbol of Ethereum?
How to purchase Ether?
How to buy Ether using credit/debit cards
Binance allows users to smoothly purchase Ether through the browser. The steps are as follows:
Log into the digital currency trading portal.
Select the digital currency (ETH) you want to purchase and the currency you will use for payment.
Log into your Binance account. New users should register first.
Choose a payment method.
Follow the prompts to enter card details and complete verification.
Done! The purchased Ether will be deposited into your Binance account.
How to purchase Ether on P2P markets
P2P markets are also platforms for buying and selling Ether. Through the Binance mobile app, you can purchase tokens directly from other users. The steps are as follows:
Open the app, then log in or register an account.
Select 'Buy/Sell' and then click on the 'Buy' tab at the top left of the interface.
Choose one of the transaction types that pop up and then click 'Buy'.
You can pay with other digital currencies (Digital Currency Payment tab) or fiat currency (Fiat Payment tab).
Then, the system will ask you to choose a payment method. You can flexibly select according to your needs.
Select to purchase Ether.
At this point, payment needs to be completed. After the operation, click 'Mark as Paid' and then confirm.
Once the seller delivers the token as expected, the transaction is complete.
What can be purchased with Ether (ETH)?
Unlike Bitcoin, Ethereum's application environment is not limited to the digital currency network. It can build a development platform for decentralized applications, with Ether serving as the 'fuel' for this ecosystem. Therefore, the primary role of Ether is to provide utility for Ethereum.
However, Ether can also be used to purchase goods and services, playing a role similar to other traditional currencies.

Heat map of retailers accepting Ether payments. Source: cryptwerk.com/coinmap
What are the use cases of Ethereum?
Ethereum's native currency, Ether, can be used as digital currency or collateral. Many people also view it as a store of value similar to Bitcoin. However, Ether differs from Bitcoin in that the high programmability of the Ethereum blockchain gives it more utility. Therefore, Ether serves as the lifeblood for numerous applications such as decentralized finance applications, decentralized markets, trading platforms, and games.
What should be done if Ether is accidentally lost?
Ether transactions do not involve any banks, and users must take responsibility for their funds. Tokens can be stored on trading platforms or in personal wallets. Please note that when using personal wallets to store funds, it is essential to keep the recovery phrase safe in case access to the wallet is lost.
Can Ethereum transactions be reversed?
Once data is added to the Ethereum blockchain, it is nearly impossible to change or delete. This means that when conducting transactions, they can be regarded as immutable. Therefore, it is essential to double-check whether the target address receiving the funds is correct. When transferring large amounts of money, it is best to first send a small amount to verify the authenticity of the receiving address.
Due to a hacker attack on smart contracts, Ethereum was forced to undergo a hard fork in 2016, effectively reversing the malicious transactions. However, this was an extreme measure to deal with anomalous events, not a common occurrence.
Are Ethereum transactions private?
All transactions added to the Ethereum blockchain are publicly visible. Even if the Ethereum address does not display real names, observers can determine participants' identities through other methods.
Can Ethereum generate profits?
Ether is a highly volatile asset, with opportunities for profit as well as risks for loss. Some choose to hold Ether long-term, confident that the network will become a global programmable settlement layer in the future. Others opt to trade Ether with other altcoins. Of course, both strategies come with corresponding financial risks.
As a cornerstone of decentralized finance (DeFi), Ether can also be used for borrowing, collateral for loans, minting synthetic assets, or staking in the future.
Some investors may choose to invest in Bitcoin for the long term and treat it as the only digital asset in their portfolio. Conversely, other investors are more flexible, building diversified portfolios through Ethereum and other altcoins, or allocating a certain proportion of funds for short-term trading (such as day trading or swing trading). There is fundamentally no universal way to make profits in the market; each investor should act according to their own capacity and choose the most suitable strategy based on their actual situation.
How to store Ether?
There are many ways to store tokens, each with its own advantages and disadvantages. Just like other risk-prone things, the best solution is to build a diversified combination from many options.
Generally speaking, storage solutions are divided into custodial and non-custodial. Custodial solutions mean that funds can be entrusted to a third party for safekeeping (for example, trading platforms). In this case, you must log in to the custodian's platform to trade digital currency assets.
Non-custodial solutions are exactly the opposite; users control their funds themselves using a digital currency wallet. Such wallets do not hold coins like a physical wallet but store access credentials for assets within the blockchain—cryptographic keys. Please remember: when using a non-custodial wallet, it is essential to back up your recovery phrase properly!
How to deposit Ether into Binance
To deposit your Ether into Binance, please follow these steps:
Log into your Binance account. New users should register first.
Go to the spot wallet and click on 'Deposit'.
Check 'ETH' in the token list.
Select the network and send Ether to the corresponding address.
Done! After the transaction is confirmed, the purchased Ether will be deposited into your Binance account.
How to store Ether in Binance
To actively participate in trading Ether, you need to deposit it into your Binance account. Storing Ether in Binance is both simple and secure. With Ether, users can also enjoy various benefits in the Binance ecosystem through lending, staking, airdrop promotions, and lucky draws.
How to withdraw Ether from Binance
To withdraw Ether deposited in your Binance account, please follow these steps:
Log into your Binance account.
Go to the spot wallet and click on 'Withdraw'.
Check 'ETH' in the token list.
Select the network
Enter the recipient address and amount.
Authenticate via email.
Done! After the transaction is confirmed, the Ether will be sent to the address you provided.
How to store Ether in an Ethereum wallet
To deposit Ether into a personal wallet, you can choose between a hot wallet or a cold wallet.
Hot wallet
A digital currency wallet that is connected to the internet in some way is called a 'hot wallet'. It is typically a mobile or desktop application that allows users to view balances or send/receive tokens. Hot wallets are connected to the network and are vulnerable to attacks, but they are favored for daily payments due to their convenience. Trust Wallet is a convenient mobile wallet that supports multiple currencies.
Cold wallet
A cold wallet is an offline digital currency wallet. Such wallets are far removed from online attack vectors, significantly reducing the probability of being attacked. However, the convenience of cold wallets is generally less than that of hot wallets. Hardware wallets and paper wallets both fall under the category of cold wallets. The latter is outdated and poses significant risks, gradually fading from users' view.
Please read (Types of Digital Currency Wallets Explained) for a detailed understanding of wallet classifications.
What is the logo and symbol of Ethereum?
Vitalik Buterin designed the original Ethereum logo. It consists of two rotating summation symbols 'Σ' (Sigma in Greek). The final design is based on this pattern, composed of a diamond shape called 'octahedron', surrounded by four triangles. Similar to other digital currencies, Ether also has a dedicated standard Unicode symbol, which apps and websites can easily display its value. Just as the US dollar uses the '$' symbol, the symbol for Ether is 'Ξ'.
Chapter 4 - Scalability, Ethereum 2.0 and the Future of Ethereum
Table of Contents
What is scalability?
Why does Ethereum need to scale?
The trilemma of blockchain scalability
How many transactions can Ethereum handle?
What is Ethereum 2.0?
What is Ethereum sharding?
What is Ethereum Plasma?
What is Ethereum rollup?
What is Ethereum Proof of Stake (PoS)?
What is Ethereum staking?
How much Ether is required to stake in Ethereum?
How much Ether can be earned through staking in Ethereum?
What is the lock-up period for staked Ether?
Is there a risk in staking Ethereum?
What is scalability?
In short, scalability is a measure of a system's ability to grow. For example, networks or servers used in computing can scale through various methods to handle more demand.
Scalability in cryptocurrency refers to the blockchain's continuous development to accommodate more users. An increase in users means the blockchain will participate in more operations and transaction competition.
Why does Ethereum need to scale?
Proponents of Ethereum believe the next iteration of the internet will be built on the Ethereum platform. The so-called Web 3.0 will bring a decentralized topology that can bypass intermediaries, focus more on privacy, and transform into true ownership of personal data. These foundational attributes will be built through distributed computing and distributed storage/communication protocols in the form of smart contracts.
To achieve this goal, Ethereum must significantly enhance its transaction processing capacity while avoiding a decrease in the decentralization of the network. Currently, Ethereum does not limit the transaction volume by restricting the block size as Bitcoin does; instead, it sets a gas fee cap for each block, which is the maximum limit of gas fees that a single block can contain.
For example, a block has a gas limit of 100,000 Gwei. You can submit 10 transactions with a gas limit of 10,000 Gwei each to that block, or 2 transactions with a gas limit of 50,000 Gwei. Any other transactions submitted simultaneously must wait for the next block.
This situation is not ideal for systems widely used by everyone. If pending transactions exceed the block space, a backlog will quickly occur. Furthermore, rising gas fees mean that users must pay higher amounts to prioritize their individual transactions. This means that a busy network will lead to very expensive processing costs for specific use cases.
The once-popular game (CryptoKitties) is a typical example of Ethereum's network limitations. In 2017, the Ethereum-based game (CryptoKitties) attracted a large number of users. They conducted transactions on the network, breeding their digital cats (which represent non-fungible tokens). After the game's rapid popularity, the number of pending transactions skyrocketed, ultimately leading to severe network congestion.
The trilemma of blockchain scalability
On the surface, simply increasing the gas limit of blocks should relieve all scalability issues. In other words, the higher the cap, the more transactions the network can process in a fixed time, right?
Unfortunately, this is not feasible without sacrificing some key features of Ethereum. Vitalik Buterin proposed the blockchain trilemma (as illustrated below), explaining the delicate balance that blockchains must achieve.

Blockchain Trilemma: (1) Scalability, (2) Security, and (3) Decentralization.
The three characteristics can only optimize two of them, not all at once. Blockchains like Ethereum and Bitcoin prioritize security and decentralization. Their consensus algorithms ensure network security. However, their networks consist of thousands of nodes, leading to poor scalability. Transactions are received and verified by numerous nodes, which is much slower than centralized solutions.
Another scenario involves removing the gas limit on blocks, allowing the network to achieve both security and scalability, but at the expense of severe decentralization loss.
The reason is that a single block would include more transactions, ultimately forming a larger block. Nodes in the network would still need to download and broadcast blocks regularly, placing extremely strict requirements on hardware. When the gas limit of a block is raised, the difficulty for nodes to verify, store, and broadcast the block increases.
Ultimately, lagging nodes will drop out of the network. If this continues, only a few high-performing nodes will survive, further deepening the system's centralization. In the end, the blockchain will possess both security and scalability but will no longer have decentralization.
The final scenario focuses on decentralization and scalability. The network improves speed and decentralization at the cost of significantly reducing security.
How many transactions can Ethereum handle?
In recent years, Ethereum's transactions per second (TPS) rarely exceed 10. For a platform aspiring to be the 'world computer', this number is disappointing.
Scalability solutions have always been an important part of Ethereum's roadmap. Plasma is a typical example of a scalability solution. This solution aims to improve Ethereum's efficiency and is also applicable to other blockchain networks.
What is Ethereum 2.0?
Although Ethereum is highly promising, it currently has limitations. In the previous section, we discussed the issue of scalability. In short, if Ethereum wants to be the cornerstone of the new financial system, it must significantly increase the total number of transactions processed per second. Given the network's distributed nature, this issue is challenging to solve. For years, Ethereum developers have been searching for solutions.
On one hand, to ensure the degree of decentralization of the network, certain restrictions must be implemented. The stricter the requirements for running nodes, the fewer participants there will be, and the network will tend toward centralization. Therefore, increasing Ethereum's transaction processing capacity will increase the burden on nodes, ultimately threatening the integrity of the system.
Another downside of Ethereum (and other proof-of-work cryptocurrencies) is the enormous resource consumption. To successfully add a block to the blockchain, mining is required. However, this method of block creation necessitates rapid computation, leading to high power consumption.
To break these limitations, developers proposed a series of upgrade plans collectively referred to as 'Ethereum 2.0' (or ETH 2.0). Once fully implemented, ETH 2.0 will effectively enhance the network's performance.
What is Ethereum sharding?
As mentioned earlier, each node stores a copy of the entire blockchain. These nodes will also update with changes to the blockchain, consuming immense bandwidth and memory.
If a method called sharding is employed, this process can be avoided. As the name suggests, the network is divided into subsets of different nodes, known as shards. Each shard handles its own transactions and contracts while still being able to communicate with other shard networks as required. Each shard independently verifies, so it does not need to store data from other shards.

Comparison of the network in March 2020 with the network implementing sharding
'Sharding' is a complex scalability method that requires substantial design and implementation work. However, if successfully applied, it will become one of the most effective methods to significantly increase the network's throughput.
What is Ethereum Plasma?
Ethereum Plasma is an off-chain scalability solution aimed at moving transactions off the blockchain to enhance transaction throughput. In this regard, it bears some similarities to sidechains and payment channels.
Through Plasma, the secondary chain can anchor to the main Ethereum blockchain while maintaining minimal communication. Users rely on the main chain to resolve disputes but 'complete' personal activities on the secondary chain; however, the two operate largely independently.
The key to Ethereum's successful scalability lies in reducing the amount of data that nodes must store. The Plasma solution allows developers to specify certain rules for the 'child chain' within the smart contracts on the main chain. Afterward, information or processes for applications that are too costly to store/run on the main chain can be freely moved to the 'child chain' for creation.
For a detailed introduction to Plasma, please read (What is Ethereum Plasma?).
What is Ethereum rollup?
Similar to Plasma, rollup is also designed to move transactions off the main chain to achieve Ethereum's scalability. So how does the latter work?
The answer is that a single contract on the main chain holds all the funds on the secondary chain and stores cryptographic proof of the current state of that chain. Secondary chain operators deposit collateral in the mainnet contract and only submit valid state transitions to it. The underlying idea is that the state is maintained off-chain, so there is no need to store data on the blockchain. However, the main difference between rollup and Plasma lies in how transactions are submitted to the main chain. Through special transaction types, this method can 'roll up' massive transactions, bundling them into special blocks called rollup blocks.
Rollups are divided into two different types: Optimistic rollup and Zero-Knowledge rollup. Both ensure the correctness of state transitions through different methods.
Zero-Knowledge rollup uses a cryptographic verification method called zero-knowledge proof to submit transactions. Specifically, a method known as zk-SNARK is employed. The details of its operation are not covered in this article, but we can describe its application in rollup: through this method, different parties can prove they possess specific information without revealing the details.
Regarding Zero-Knowledge rollup, this information is the state transition submitted to the main chain. One significant advantage of this process is that it can occur almost instantaneously while minimizing the likelihood of submitting invalid states.
Optimistic rollup improves flexibility by sacrificing some scalability. Through the 'Optimistic Virtual Machine (OVM)', smart contracts can run on the secondary chain. On the other hand, there is no cryptographic proof to confirm that the state transitions submitted to the main chain are correct. To alleviate this issue, a brief delay is set in the process, allowing users to challenge and dispute invalid blocks submitted to the main chain.
What is Ethereum Proof of Stake (PoS)?
Proof of Stake (PoS) is another block verification scheme in addition to Proof of Work. In a PoS system, obtaining new blocks is not achieved through mining but by minting (sometimes referred to as forging). Unlike miners who compete through computing power, candidate blocks are now verified by randomly selected nodes (or validators) at regular intervals. If the operation is correct, they will receive all transaction fees from the block and may also receive block rewards according to the protocol.
Proof of Stake does not involve mining; thus, it is considered more environmentally friendly. The energy consumed by validators is less than that of miners, allowing blocks to be minted using consumer-grade hardware.
As part of Ethereum 2.0, Ethereum plans to transition from PoW to PoS through an upgrade called Casper. Although specific dates have not yet been officially confirmed, the first iteration may launch in 2020.
What is Ethereum staking?
In a Proof of Work protocol, miners are responsible for ensuring network security. They do not cheat, as such behavior wastes energy and would result in them losing all potential rewards. In Proof of Stake, this game theory does not exist; instead, network security is ensured through other economic measures of cryptocurrency.
Dishonest behavior can be curtailed not because users are concerned about wasting energy but because they fear losing funds. Validators must stake a certain amount of tokens (become token holders) to gain validation rights. If a node attempts to cheat, the staked tokens (a certain amount of Ether) will be lost; if a node becomes unresponsive or offline, these tokens will also gradually deplete. However, if a validator runs more nodes, they will earn more rewards.
How much Ether is required to stake in Ethereum?
The minimum estimated staking amount for each validator in Ethereum is 32 Ether. This number is set so high that the cost of executing a 51% attack becomes significant.
How much Ether can be earned through staking in Ethereum?
This question is somewhat complex. This metric depends not only on the amount of tokens staked but also on the total amount of Ether staked in the network and the inflation rate. Roughly estimated, the current annual yield for the project is around 6%. Please remember that this number is only an estimate and may change in the future.
What is the lock-up period for staked Ether?
To withdraw Ether from validators, you must join the withdrawal queue. If you do not queue, the shortest withdrawal time is 18 hours. The specific time will be dynamically adjusted based on the number of validators withdrawing during a particular period.
Is there a risk in staking Ethereum?
As a validator responsible for maintaining network security, you must consider various risk factors. If a validator node is offline for an extended period, a significant portion of their deposit will be lost. Additionally, if the deposit balance falls below 16 Ether, you will be removed from the validator set.
Another systemic risk factor cannot be overlooked. Proof of Stake has never been applied on such a large scale, and failures may arise during operation. Software inevitably has defects and vulnerabilities, which can even lead to catastrophic impacts—especially when the staked value reaches billions of dollars, substantial risks are faced.
Chapter 5 - Ethereum and Decentralized Finance (DeFi)
Table of Contents
What is Decentralized Finance (DeFi)?
Uses of Decentralized Finance (DeFi)
Can Decentralized Finance (DeFi) go mainstream?
What are the decentralized finance (DeFi) applications?
Decentralized trading platforms (DEX) in Ethereum
What is Decentralized Finance (DeFi)?
Decentralized finance (referred to as 'DeFi') is an activity that implements decentralization for financial applications. DeFi is built on public open-source blockchains that all users on the internet can access for free (i.e., permissionless). This key feature has the potential to attract billions into this new global financial system.
In the increasingly mature DeFi ecosystem, users can interact with other users and smart contracts via peer-to-peer (P2P) networks and decentralized applications (DApps). The greatest advantage of DeFi is that it makes all this possible while users still maintain ownership of their funds.
In short, decentralized finance (DeFi) activities aim to build a new financial system that gradually breaks down the limitations of the current system. DeFi has a relatively high degree of decentralization and a large developer base, so most DeFi applications are currently built on Ethereum.
Uses of Decentralized Finance (DeFi)
You may have already learned that Bitcoin's greatest advantage lies in its lack of any central authority coordinating network operations. If we take this as a core concept, what would happen if we developed programmable applications? This is the potential of DeFi applications: to eliminate central 'coordinators' or intermediaries and avoid single points of failure.
As mentioned earlier, 'open access' is the greatest advantage of DeFi. Hundreds of millions of people around the world lack access to any type of financial services. How should we manage our daily lives without any financial security? This is not a fanciful notion but the reality of billions of people's lives—DeFi's services target such groups.
Can Decentralized Finance (DeFi) go mainstream?
These advantages seem highly attractive, but why hasn't DeFi captured the mainstream market yet? Currently, most DeFi applications are still in the experimental phase, and their convenience and flexibility need improvement and often crash. It has proven that designing the architecture of such an ecosystem is very challenging, and distributed development environments add to the difficulty.
For software engineers, game theorists, mechanism designers, and other developers, building a DeFi ecosystem presents numerous challenges and a long road ahead. Therefore, whether DeFi applications can go mainstream remains an unknown.
What are the decentralized finance (DeFi) applications?
The most popular use case for decentralized finance (DeFi) at present is stablecoins. Essentially, a stablecoin is a type of blockchain token whose value is pegged to real-world assets (such as fiat currency). For example, the value of BUSD is pegged to the US dollar (USD). These tokens are all used within the blockchain, making storage and transfer very convenient.
Another popular application is lending. Peer-to-peer (P2P) services abound, where users lend money to others and earn interest. In fact, Binance lending is one of the most convenient platforms. The operation is very simple; just deposit funds into the lending wallet, and you can earn interest the next day!
However, what is most exciting is that DeFi can be applied in almost any field. It can integrate various peer-to-peer (P2P) and decentralized markets, creating a platform for trading unique digital currency collectibles and other digitized items. Such applications can also create synthetic assets, allowing everyone to create markets for any item of inherent value. Other potential applications include prediction markets and derivatives.
Decentralized trading platforms (DEX) in Ethereum
Decentralized exchanges (DEX) allow different users' wallets to trade directly. When trading on centralized platforms like Binance, users must first transfer funds to the platform, and then trade through the internal system.
Decentralized trading platforms are different. Through magical smart contracts, you can execute transactions directly using digital currency wallets, bypassing risks such as trading platforms being hacked.
Binance DEX is a typical representative of decentralized trading platforms. Uniswap, Kyber Network, and IDEX are outstanding examples built on Ethereum. To maximize the security of funds, some trading platforms even allow transactions to be completed through hardware wallets.

Comparison of centralized and decentralized trading platforms.
We compared the differences between centralized and decentralized trading platforms in the image above. In the left image, we can see Binance is positioned between the two parties involved in the transaction. Therefore, when Alice wants to exchange token A for Bob's token B, both must deposit their assets into the trading platform. After the transaction is completed, Binance will redistribute their account balances according to the proportion of funds.
On the right is a decentralized trading platform. We notice that the entire transaction involves no third party. Alice's token is directly converted into Bob's token through a smart contract. In this way, the contract reached by both parties will be automatically executed without relying on any intermediary.
As of February 2020, DEX has been the most commonly used application on the Ethereum blockchain. However, its transaction volume is far less than that of centralized trading platforms. Nevertheless, if developers and designers continue to optimize user experience, DEX will gradually win more users' favor. One day, it will certainly be able to compete with centralized trading platforms.
Chapter 6 - Entering the Ethereum Network
Table of Contents
What is an Ethereum node?
How do Ethereum nodes operate?
Ethereum full nodes
Ethereum light nodes
Ethereum mining nodes
How to run an Ethereum node
How to mine Ethereum
What is Ethereum ProgPoW?
Who are the developers of Ethereum software?
What is Solidity?
What is an Ethereum node?
The term 'Ethereum node' refers to a program that interacts with the Ethereum network in some way. From simple mobile wallet applications to computers that store a complete copy of the blockchain, any device can act as an Ethereum node.
All nodes serve as communication points in some way, but nodes in the Ethereum network are divided into several types.
How do Ethereum nodes operate?
Unlike Bitcoin, Ethereum cannot find any program as a reference implementation. In the Bitcoin ecosystem, the Bitcoin Core is the main node software, while the Ethereum Yellow Paper proposes a series of independent (but compatible) programs. Currently, the most popular are Geth and Parity.
Ethereum full nodes
To connect to the Ethereum network in a way that allows independent verification of blockchain data, you should run a full node using the software mentioned earlier.
This software will download blocks from other nodes and verify the correctness of the transactions contained within. The software will also execute all smart contracts called, ensuring that the received information matches that of other nodes. If everything runs as planned, we can say that all node devices store the same copy of the blockchain.
Full nodes are critical for the operation of Ethereum. Without numerous nodes spread around the globe, the network would lose its censorship resistance and decentralization.
Ethereum light nodes
By running a full node, you can directly contribute to the healthy and secure development of the network. However, full nodes usually require independent machines to run and maintain. For users who cannot (or simply do not want to) run a full node, light nodes are a better choice.
As the name suggests, light nodes are lightweight devices that significantly reduce resource and space consumption. Portable devices such as mobile phones or laptops can serve as light nodes. However, reducing overhead comes at a cost: light nodes cannot achieve complete self-sufficiency. They cannot sync with the entire blockchain and require full nodes to provide relevant information.
Light nodes are favored by merchants, service providers, and users. They are widely used in payment processes without the need for full nodes, which would incur high operating costs.
Ethereum mining nodes
Mining nodes can be either full node clients or light node clients. The term 'mining node' is used differently from how it is used in the Bitcoin ecosystem, but it is still applied to identify participants.
To participate in Ethereum mining, some additional hardware must be used. The most common practice is to build a mining rig. Users connect multiple GPUs (graphics processing units) together via the mining rig to compute hash data at high speed.
Miners can choose between two mining options: solo mining or joining a mining pool. Solo mining means the miner creates blocks alone. If successful, they enjoy the mining rewards exclusively. If they join a mining pool, the hash power of many miners will combine. This increases the block creation speed, but mining rewards will be shared among many miners.
How to run an Ethereum node
One of the most important features of blockchain is 'open access'. This means anyone can run an Ethereum node and strengthen the network by verifying transactions and blocks.
Similar to Bitcoin, many companies offer plug-and-play Ethereum nodes. If you just want to start and run a single node, this type of device is undoubtedly the best choice, but you must pay extra for convenience.
As mentioned earlier, there are many different types of node software implementations in Ethereum, such as Geth and Parity. To run your own node, you must grasp the installation process of the chosen implementation.
Unless you run a special type of node called an archive node, consumer-grade laptops are sufficient to support the normal operation of an Ethereum full node. However, it is best not to use everyday work devices, as nodes can severely slow down the operating speed.
When running a personal node, it is recommended that the device remains online at all times. If the node goes offline, it may take a substantial amount of time to sync when it comes back online. Therefore, it is best to choose a device that is inexpensive and easy to maintain. You can even run a light node using a Raspberry Pi.
How to mine Ethereum
As the network is about to transition to a proof-of-stake mechanism, Ethereum mining is no longer the safest long-term investment. After a successful transition, Ethereum miners can only move their mining equipment to other networks or sell it directly.
Given that the transition is not yet complete, participating in Ethereum mining still requires special hardware (such as GPUs or ASICs). To achieve considerable profits, mining rigs must be customized, and low-cost mining sites must be sought. Additionally, an Ethereum wallet must be created and appropriate mining software configured. All this will cost a significant amount of time and money. Before participating in mining, carefully consider whether you can handle various challenges.
What is Ethereum ProgPoW?
ProgPow stands for Programmatic Proof of Work. This is an extension of Ethereum's mining algorithm Ethash, aimed at enhancing the competitiveness of GPUs over ASICs.
The anti-ASIC issue has long been controversial in both the Bitcoin and Ethereum communities. In the Bitcoin network, ASICs have become the dominant mining force.
In Ethereum, ASICs are not mainstream; a significant portion of miners still use GPUs. However, as more and more companies introduce Ethereum ASIC mining machines to the market, this situation will soon change. But what exactly is the problem with ASICs?
On one hand, ASICs significantly weaken the network's decentralization. If GPU miners cannot profit and have to cease mining, the hash rate will ultimately concentrate in the hands of a few miners. Furthermore, the development cost of ASIC chips is quite expensive, with only a handful of companies possessing the capability and resources to develop them. This situation could lead to the Ethereum mining industry becoming concentrated in a few companies, resulting in a certain degree of industry monopoly.
Since 2018, the integration of ProgPow has been highly controversial. Some believe it will benefit the health of the Ethereum ecosystem, while others oppose it, arguing it may lead to a hard fork. With the arrival of the proof-of-stake mechanism, whether ProgPoW can be applied to the network remains to be seen.
Who are the developers of Ethereum software?
Like Bitcoin, Ethereum is also an open-source platform. Anyone can participate in protocol development or build applications based on the protocol. In fact, Ethereum is currently the largest developer community in the blockchain space.
Mastering Ethereum, produced by Andreas Antonopoulos and Gavin Wood, as well as developer resources released by Ethereum.org, are ideal entry points for new developers.
What is Solidity?
The concept of smart contracts was first proposed in the 1990s. Its application in blockchain has brought a series of new challenges. Solidity, proposed by Gavin Wood in 2014, has become the main programming language for developing Ethereum smart contracts, with syntax similar to Java, JavaScript, and C++.
Essentially, using the Solidity language, developers can write instructions that, once decomposed, can be parsed by the Ethereum Virtual Machine (EVM). You can learn more about how it works through the Solidity GitHub.
In fact, Solidity is not the only choice for Ethereum developers. Vyper is also a popular development language, with syntax closer to Python.
