Ethereum EOS mechanism
EOS: EOS can be understood as enterprise operation system, which is a blockchain operating system designed for commercial distributed applications. EOS is a new blockchain architecture introced by EOS software, which aims to realize the performance expansion of distributed applications. Note that it is not a currency like bitcoin and Ethereum, but a token based on the EOS software project, known as blockchain 3.0
The main features of
EOS are as follows:
1. EOS is a bit similar to Microsoft's windows platform. By creating a developer friendly underlying platform of blockchain, it supports multiple applications to run at the same time and provides the underlying template for the development of DAPP
EOS solves the problems of delay and data throughput by means of parallel chain and dpos. EOS can process thousands of data per second, while bitcoin has about 7 transactions per second, and Ethereum has 30-40 transactions per second There is no service charge for EOS, and the general audience is more extensive. The network and computing resources needed to develop DAPP on EOS are allocated according to the proportion of EOS owned by developers. When you have EOS, it is equivalent to having computer resources. With the development of DAPP, you can lease your EOS to others. From this point alone, EOS has a wide range of value. To put it simply, if you have an EOS, it is equivalent to having a set of rent to collect rent for others, or having a piece of land to rent for others to build a house. digital currency exchange "currency exchange"
development prospects
through a more in-depth understanding of EOS, EOS is quite valuable for investment. First of all, as the first to launch smart contracts, ETH runs smart contracts on eth, which is not free and depends on your gas. If gas runs out, the contract will stop. According to people who have used eth trading platform, it runs slowly and is very expensive, However, there is no such problem in EOS. The operation contract on EOS depends on the number of EOS you have. The more EOS you have, the more you can rent. With the continuous development, the more expensive the price will be; Secondly, it's very simple to develop DAPP on EOS, and you don't need to write many moles, because EOS itself builds the bottom mole for developers, which provides a platform and greatly reces the threshold of development; Thirdly, as an ordinary investor, owning EOS is equivalent to owning real estate, which can be used to rent and earn money. With the development of DAPP, the number of users increases, and the price increases irresistibly
EOS is a public chain system at the bottom of blockchain developed by block. One, which is specially designed to support decentralized application of Commerce, and its code is open source
bitcoin is called blockchain 1.0 because it opens up the world of digital cryptocurrency and takes a decisive step from 0 to 1
Ethereum is known as blockchain 2.0, because it provides Turing complete virtual machine that can run smart contracts, bringing unlimited possibilities
and EOS is called blockchain 3.0, why? Two words: performance
The positioning of EOS is the slogan of its home page:English: the most powerful infrastructure for decentralized applications
Chinese: the most powerful decentralized application infrastructure
EOS expects to be an enhanced version of Ethereum, a high-throughput intelligent contract platform
although Ethereum has complete functions, it is limited by its design choice. Due to the block output speed of 15 seconds, the transaction throughput is far from large-scale practical level, which is only about 30 ~ 40tps (transaction / s). EOS, on the other hand, has chosen a different technology route, with the goal of achieving a considerable million TPS, which is quite attractive considering visa's actual processing speed of 1700tps
consensus mechanism of EOS
the reason why the throughput of bitcoin and Ethereum is so low is that they are constrained by the application scenario they envision and the consensus mechanism they choose for the scenario - both of them assume that the environment in which the system runs is totally untrustworthy, so they both adopt the consensus mechanism of proof of work
consensus, as the name suggests, is to reach a unified understanding of something - for blockchain, something refers to the confirmation of the transaction - any node to submit a transaction needs everyone's approval
the pow mechanism currently adopted by bitcoin and Ethereum is the design of the legendary Nakamoto Tsung. Under this mechanism, in order to obtain the bookkeeping right and digital currency reward, miners need to constantly dig for the compliant hash value, and confirm and package the transaction data through the consensus of hash value. POW has no access threshold, and any node has equal rights to participate in bookkeeping. Of course, the probability of winning is related to computing power:
the price of ram is based on Bancor algorithm, that is, it is regulated by market supply and demand: if the supply of ram exceeds the demand, more EOS certificates are needed to buy ram, At this time, more EOS certificates can be obtained by selling ram
memory is a consuming resource, which cannot be redeemed and can only be bought and sold. Take the issue of currency on EOS as an example. At present, the issue of currency requires 20m of memory. An EOS can buy 20KB. According to the current storage price, issuing a currency will consume 1000 EOS. This is the source of EOS memory consumption
Course Overview
this course is for friends who are interested in the development of EOS decentralized application. The course covers the core concepts of EOS DAPP development, the development and deployment of smart contracts, and how the front page interacts with EOS blockchain. Finally, a complete DAPP development based on react and EOS is completed
Chapter 1: enter the world of EOS
to understand the core concepts of EOS, such as positioning and characteristics, consensus mechanism, payment computing model, etc
Chapter 2: Hi EOS
understand the overall framework of EOS node software and the functions of node server, wallet server and command-line tools, learn how to configure and start EOS node server and wallet server, and preliminarily understand the use of command-line tools
Chapter 3: wallet, key and account
understand the three core concepts related to personal identity in EOS: wallet, key and account, and learn how to use command-line tools to create wallet, key and account
Chapter 4: development and interaction of smart contracts
understand the concept and function of smart contracts, learn how to write and compile EOS smart contracts, and learn how to deploy and interact with contracts using command-line tools
understand the persistence mechanism of state in EOS smart contract, and learn to use multi index table to save contract state
Chapter 5: issue your own tokens
learn the principle and implementation mechanism of issuing tokens on EOS, and master how to use command-line tools to issue, transfer and view the balance of tokens through practical operation
Chapter 6: use code to interact with smart contract
understand the principle of interaction between application and EOS blockchain, and learn to use JSON RPC interface and eosjs encapsulation library to access EOS blockchain
Chapter 7: DAPP development of practical notes
comprehensively use EOS knowledge, use react to complete a decentralized application of EOS notes, and learn the complete process from requirement analysis to code implementation
The above course address is as follows: EOS tutorialin order to ensure decentralization and security, current public chain projects such as bitcoin and Ethereum have certain limitations in block scalability. Although the introction of Ethereum's smart contract has greatly enriched the application of blockchain, it also reces the threshold of issuing coins, making Ethereum's network very congested. Many existing public chains have the problems of slow network transfer speed, high cost, low concurrency or poor stability, which can not support the operation of real large-scale commercial applications
according to the white paper of EOS, EOS adopts the graphene block chain architecture, and the bft-dpos consensus mechanism reces the number of verification nodes, but makes the scalability of EOS significantly enhanced, and can support fast transaction processing speed. At present, bitcoin system can transfer about 7 times per second, while Ethereum can transfer 15 times per second; In contrast, EOS's white paper says it is expected to reach a million level TPS in the future
in addition, EOS provides a good development environment for users and developers. The transaction on EOS network does not need to charge service charge, which improves the user experience and makes it easier to attract users; EOS provides developers with a friendly underlying mole, which can support a variety of programming languages and rece the difficulty of DAPP development. Developers can focus more on the function implementation of the developed application.
Many places in China are experimenting with the use of digital RMB, and the convenience of digital RMB is as follows:
First: Digital RMB can be used offlinealthough mobile payment is very common now, any third-party payment software needs to be connected to the Internet. Alipay and WeChat also monopolize the third party payment market, but once these two software are not connected, they will not be able to complete the payment. Although it's all right to go out with your mobile phone now, you don't need to bring your wallet and cash, but all this is based on the fact that your mobile phone has electricity and network
The consumption habit of
is unhealthy, so digital RMB is actually a more real and planned payment method, which is helpful for young people to develop good consumption habits. This can avoid over consumption and other bad habits
