为广大币圈朋友提供币圈基础入门专业知识!
当前位置首页 > 区块链知识> 正文

eos区块链开发,eos区块链 官网下载

发布时间:2023-12-05-20:25:00 来源:网络 区块链知识 区块   源码   eos

eos区块链开发,eos区块链 官网下载

EOS是一种开源的区块链操作系统,可以用于构建和部署分布式应用程序。它旨在提供一个可扩展的智能合约平台,以便开发者能够快速开发和部署区块链应用程序。EOS的发展目标是构建一个安全、可扩展的、可持续的区块链系统,它可以支持大规模的商业应用程序,提供更好的用户体验。

EOS区块链开发的优势在于它可以提供丰富的功能,包括智能合约、账户体系、货币系统、数据存储和分发机制等。此外,EOS可以支持分布式应用程序,它可以让开发者利用EOS的智能合约构建和部署分布式应用程序,而不需要担心数据安全、可扩展性和可持续性。

有关EOS的开发,可以从EOS官网下载相关的软件和文档,以便开发者可以快速开发和部署EOS区块链应用程序。此外,EOS官网还提供了一些有关EOS的教程和文档,以便开发者可以更好地理解EOS区块链开发的相关概念和技术。

总的来说,EOS区块链开发的优势在于它可以提供丰富的功能,而且可以支持大规模的商业应用程序,提供更好的用户体验。开发者可以从EOS官网下载相关的软件和文档,以便快速开发和部署EOS区块链应用程序,并且可以了解更多有关EOS的知识。


请查看相关英文文档

A. "In-depth Understanding of EOS Principle Analysis and Development Practice" epub download and online reading, please ask for Baidu Netdisk cloud resources

"In-depth Understanding of EOS Principle Analysis and Development Practice" Li Wancai /Lin Qijun/Guo Qikang/Liao Yangyang e-book network disk download free online reading

Link: https://pan..com/s/1KFMeaTeo3E8B74sHkPHfSQ


Extraction code: l188 Book title: In-depth understanding of EOS principle analysis and practical development
Author name: Li Wancai/Lin Qijun/Guo Qikang/Liao Yangyang
Publisher: Machinery Industry Press
Publication year: 2018-12-1
Number of pages: 268
Content introduction:
This is a work that analyzes the principles of EOS from the source code level and explains the practical implementation of EOS development in an all-round way. The author is the co-founder and core team member of Gravity Zone, an influential EOS community in the EOS global ecosystem. It is the research and practical result of Gravity Zone on the EOS main network. It has been recognized by many EOS ecology officials such as the official vice president of EOS original products. Highly praised and highly recommended by leaders. There are 7 chapters in the book, which explain in detail the system principles, software deployment, and development from 6 aspects: EOS's advantageous technology, source code implementation, native function usage, smart contract development, EOS-based Dapp development and side chain development. All the details are suitable for beginners and readers with a certain development foundation.
Introduction to the author:
Li Wancai, Ph.D. of Fudan University, internationally influential blockchain technology expert, director of the EOS Foundation, co-founder and director of the EOS Gravity Zone, National Technology Transfer Eastern Center Blockchain Distinguished expert of the Industry Center and director of the Global Graphene Blockchain Application Center. External teacher at the School of Computer Science and Technology, Fudan University. He has been engaged in technology research and development in scientific research institutes for a long time and is an expert in data encryption, network security and Internet of Things technology. He has hosted and participated in dozens of provincial and ministerial level scientific research projects, published more than ten EI and SCI papers, and obtained more than ten patents.

B. EOS development process

EOS is a blockchain underlying public chain system led by Block.One. It is specially designed to support commercial decentralized applications (Decentralized Application), and its code is open source.

Bitcoin is called blockchain 1.0 because it opened up the world of digital cryptocurrency and took a decisive step from 0 to 1.

Ethereum is called Blockchain 2.0 because it provides a Turing-complete virtual machine that can run smart contracts, bringing unlimited possibilities.

EOS is called blockchain 3.0. Why? Two words: performance.

The positioning of EOS is exactly what its homepageSlogan:

English: The most powerful infrastructure for decentralized applications.

Chinese: The most powerful decentralized application infrastructure.

EOS hopes to be an enhanced version of Ethereum, a high-throughput smart contract platform.

Although Ethereum is fully functional, due to its design choices, the block generation speed of 15 seconds means that the transaction throughput is far from reaching the level of large-scale practicality, only about 30~40TPS (transactions/second) . EOS has chosen a different technical route, aiming to achieve a considerable million TPS - considering that Visa's actual processing speed is only 1700TPS, this goal is indeed quite attractive.

The consensus mechanism of EOS

The reason why the throughput of Bitcoin and Ethereum is so low is that it is subject to the application scenarios envisaged and the consensus mechanism chosen for that scenario - this Both assume that the environment in which the system runs is completely untrustworthy, so they both adopt the consensus mechanism of Proof of Work.

Consensus, as the name suggests, is when everyone reaches a unified understanding of something - for blockchain, something refers to the confirmation of a transaction - any node that wants to submit a transaction must Everyone needs to agree.

The PoW mechanism currently used by Bitcoin and Ethereum was designed by the legendary Satoshi Nakamoto. Under this mechanism, in order to obtain accounting rights and digital currency rewards, miners need to keep mining to find compliant hash values, and confirm and package transaction data through consensus on the hash values. PoW has no entry threshold, and any node has equal rights to participate in accounting - of course, the probability of winning is related to computing power:

The price of RAM is based on Banco ( Bancor) algorithm, that is to say, it is regulated by market supply and demand: if the supply of RAM exceeds demand, more EOS tokens are needed when buying RAM, and more EOS tokens can be obtained by selling RAM at this time.

Memory consumes resources and cannot be redeemed, but can only be bought and sold. Take the issuance of coins on EOS as an example. Currently, issuing coins requires 20M of memory, and one EOS can buy 20KB. According to the current storage price, it takes 1,000 EOS to send one coin. This is a necessary source of EOS memory consumption.

Course Overview

This course is for those who are interested in EOS decentralized application development. The course content covers the core concepts of EOS DApp development, the development and deployment of smart contracts, and front-end pages. How to interact with the EOS blockchain and ultimately complete the development of a complete Dapp based on React and EOS.

Chapter 1: Entering the EOS world

Understand the core concepts of EOS such as its positioning and characteristics, consensus mechanism, and payment calculation model.

No.Chapter 2: Hi EOS

Understand the overall software framework of the EOS node and the functions of the node server, wallet server and command line tools, learn how to configure and start the EOS node server and wallet server, and have a preliminary understanding of the command line tools How to use.

Chapter 3: Wallets, Keys and Accounts

Understand the three core concepts related to personal identity in EOS: wallets, keys and accounts, and learn to use command line tools to create them Wallet, key and account methods.

Chapter 4: Development and interaction of smart contracts

Understand the concept and function of smart contracts, learn to write and compile EOS smart contracts, learn to use command line tools to deploy contracts and interact with them Contract interaction.

Understand the state persistence mechanism in EOS smart contracts, and learn to use multi-index tables to save contract states.

Chapter 5: Issuing your own tokens

Learn the principles and implementation mechanisms of issuing tokens on EOS, and through practical operations, master how to use command line tools to issue tokens issuance, transfer and balance checking operations.

Chapter 6: Using code to interact with smart contracts

Understand the principles of interaction between applications and the EOS blockchain, and learn to use the JSON RPC interface and eosjs packaging library to access the EOS blockchain .

Chapter 7: Practical Notes DApp Development

Comprehensive use of EOS knowledge, use React to complete an EOS Notes decentralized application, and learn the complete process from demand analysis to code implementation.

eos development still requires a complete study. The above course address is as follows: EOS Tutorial

C. What is EOS

EOS can be understood as Enterprise Operation System is a blockchain operating system designed for commercial distributed applications. EOS is a new blockchain architecture introduced to achieve performance expansion of distributed applications.

Blockchain originated from Bitcoin. On November 1, 2008, a person calling himself Satoshi Nakamoto published the article "Bitcoin: A Peer-to-Peer Electronic Cash System". It expounds the architectural concept of the electronic cash system based on P2P network technology, encryption technology, timestamp technology, blockchain technology, etc., which marks the birth of Bitcoin.

(3) Extended reading of eos blockchain source code

The main features of EOS are as follows:

1. Decentralization. Blockchain technology does not rely on additional third-party management agencies or hardware facilities, and there is no central control. In addition to the self-contained blockchain itself, each node realizes self-verification, transmission and management of information through distributed accounting and storage. Decentralization is the most prominent and essential feature of blockchain.

2. Openness. The basis of blockchain technology isIt is open source. In addition to the private information of the transaction parties being encrypted, the blockchain data is open to everyone. Anyone can query the blockchain data and develop related applications through the public interface, so the entire system information is highly transparent.

3. Independence. Based on consensus specifications and protocols (similar to various mathematical algorithms such as the hash algorithm used by Bitcoin), the entire blockchain system does not rely on other third parties. All nodes can automatically and securely verify and exchange data within the system without the need for any human intervention.

Reference source: Network-EOS

D. In-depth understanding of the token in hand - EOS

What is EOS? Some people say it is "$5 billion in the air", some say it is the Microsoft of the blockchain world, and some say it is blockchain 3.0. For me, it was my first ICO. Because I can only get in but not get out, I still have a lot of money in my hands. I need to know more about its future.

The purpose of the EOS (Enterprise Operation System) project is to create a commercial operating system at the bottom of the blockchain, such as WIN, Android, etc. in computers. The company behind EOS is Block One, registered in Hong Kong. The white paper was released on June 5, 2017, and the ICO started at 21:00 on June 26. The first phase of the sale ended on July 1, with a total of 200 million tokens and US$180 million raised, including my small contribution. . Then came the year-long (as of June 1, 2018) second phase of the ICO, which released a total of 700 million tokens in 350 consecutive 23-hour windows of 2 million tokens each. The main developer of EOS is BM (Byte Master), the founder of BitShares BTS and the founder of STEEM. His real name is Daniel Larimer, and he is a serial entrepreneur.

EOS was born to address the bottlenecks of existing blockchain applications. These flaws are as follows:

1. The transaction frequency supported by existing blockchain applications is too low, such as BTC is 3 per second, ETH is 30, and credit card is 20,000 per second, the gap is huge.

2. Transaction fees are too high. I feel this deeply. It costs several yuan to withdraw 2 coins at a time, and the absenteeism fee is too high. If transaction fees are too high, it will definitely hinder the popularity of blockchain applications.

3. There is currently no easy-to-use operating system for blockchain. Although ETH appears in smart contracts, it still has no features or built-in functions. In the long run, it cannot assume the important role of an operating system.

In response to the above defects, EOS has proposed corresponding solutions. EOS uses DPOS (delegated proof mechanism), which can increase the transaction frequency to hundreds of thousands; it uses parallel processing to make the transaction scale reach millions. In this way, it canSupports thousands of applications (DAPPs) based on it to run simultaneously. EOS waives transaction fees and instead uses a mechanism of token ownership to determine resource utilization. EOS has many built-in basic functions and provides common modules to facilitate rapid development.

It is worth noting that EOS’s DPOS technology is completely different from BTC’s POW (Proof of Work) method. Although POW is fair, it consumes a lot of time and computing resources. DPOS was proposed by BM and was first used in BTS. This mechanism is similar to the shareholders' meeting system of a joint-stock company. EOS token holders vote to elect authorized representatives as board members (appointed witnesses). The work of EOS miners is completed by these board members, but it is held 24 hours a day. A block is generated every three seconds, and one election takes 63 seconds. Because there is an incentive to produce blocks (generated by inflation, no more than 5%), miners have enough motivation to complete the task. This mechanism can also avoid the occurrence of forks because the relationship between miners is cooperation rather than competition.

Use teacher Li Xiaolai’s blockchain investment MBA principles to analyze EOS?

1. Does the world really need this application? Blockchain requires an operating system.

2. What problems have been solved that were not solved before? Solve the problems of low transaction frequency, high fees, and lack of easy-to-use operating systems.

3. Is decentralization really necessary? Yes, only decentralization can establish a trust mechanism for smart contracts.

4. Can accounting disclosure really improve efficiency? Same as 4, ensuring the safe transfer of assets and contract execution.

5. How likely is it to become a DAC? The rules are clear and it is an autonomous organization at the center of the district.

EOS has only been around for three months, but it is favored by many people in the industry. There are already many ICO projects that clearly support EOS, such as PRESS ONE, European Chain, etc. If you want to crowdfund now, it is more troublesome; if you want to buy in the secondary market, you can do it at www.bitfinex.com.

Although EOS is now at the forefront, it doesn’t matter. Without some irrational and exaggerated pursuit, it may be more conducive to the development of technology. I am still optimistic about the blockchain and EOS, which solves the bottleneck of the blockchain. Whether you believe it or not, I believe it and continue to hold on and never let go.

E. What is EOS

EOS is a typical representative of platform blockchain projects. What are its characteristics compared to Ethereum? EOS is a blockchain development platform with strong scalability and support for large-scale commercial applications. First of all, EOS uses the DPoS consensus algorithm and other technical means to achieve millions of transaction requests per second and will be able to support thousands of commercial-level DAPPs. Ethereum isFor a public chain, every application running on the Ethereum chain will consume the resources of the entire chain, but EOS is just a blockchain infrastructure. Developers can freely create public chains on EOS, and there will be no connection between chains. Affect each other's resource usage, and there will be no large-scale network congestion caused by individual application resource consumption. Secondly, transferring and running smart contracts on EOS does not require consuming EOS tokens, which will attract more users. Finally, when a system error occurs on EOS, its "constitution" can be used to distinguish whether the error is indeed a bug and determine whether the community's repair measures are appropriate.

F. [eos Family Bucket Series] Introduction to eos system contract—system operation contract eosio.system (Part 1)

This article will introduce to you the most important system operation contract of eos— eosio.system contract, please see eosio.system for details of the contract address. The eosio.system contract covers a lot of functions, including: creating accounts, voting for super nodes, pledging resources, domain name bidding, etc. This article will introduce how eosio.system implements pledging resources and voting for super nodes.

EOS’s super node election and super node voting are all based on accounts. The voting function of eosio.system is integrated into the cleos system command, and you can easily use command line tools to operate it.

Voting is divided into two roles: voting account and candidate node account. If they want to complete the voting/election, they need to carry out the following steps:

Below, I will demonstrate the specific steps for you:

1. Mortgage EOS in exchange for CPU and net, only mortgage Only the latest EOS can be used for voting.

The delegatebw command can specify which account will issue EOS and which account will use the mortgaged resources.

2. Register the account as a super node candidate account so that other accounts can vote for it

To register as a super node candidate account, you need to provide a public key. This public key is After being elected as a super node, it is used for signature verification when producing blocks

3. Vote for the super node candidate account

You can see that voter2 has successfully voted for bp1

Let’s look at the detailed explanation of the voteprocer command. cleos system voteprocer prods is a command that directly votes to the super node. You can specify the voting account. , you can vote for multiple super node candidate accounts at one time. The account names need to be sorted alphabetically from small to large, with a maximum of 30 accounts.

When the voting account wants to cancel voting, it only needs to redeem the pledged EOS. The redemption period is 3 days.

Below, we will demonstrate the steps of redemption:

1. To cancel the pledge, use the cleos system undelegatebw command, which is similar to the delegatebw command

In my local private chain, I changed the redemption period to 3 minutes. You can see the undeletebw command, which called the refund method internally. After 33 minutes, the pledged EOS was redeemed and credited to the account. I will talk about the specific source code details soon.

The source code of delegatebw/undelegatebw essentially calls the changebw method.

changebw will perform the following operations:

The system will use the incoming parameters to determine whether it is a delegatebw or undelegatebw operation, and whether the account is delegatebw. If the transfer parameter is true, it means that the from and receiver accounts are different. EOS resources will be mortgaged to the receiver and EOS ownership will be transferred together.

For updating the refund table, there are different operations according to different conditions:

The undeletebw method mentioned above, when there is EOS that needs to be redeemed, will trigger a defer transaction that will take effect three days later. This transaction will trigger the refund method to redeem EOS.

The method will determine whether request_time+refund_delay in the refund table is less than the current time. Only when it is less than the current time can the redemption operation be performed. request_time is the time when unelegatebw updates the refund table.

The source code of the voting operation essentially calls the update_votes method

The account can be registered as a super node candidate account or as a proxy account proxy. Agent accounts can concentrate the voting rights of ordinary accounts and vote on their behalf.

Before conducting a voting operation, a series of pre-verifications must be performed, such as:

In order to encourage users to vote seriously, EOS introduces the concept of voting weight. The weight of the vote will continue to decay over time. When the user triggers the vote operation again, the voting weight will be updated to the new weight. Therefore, users need to re-vote for their favorite super nodes regularly to ensure that their voting effectiveness does not diminish.

This article introduces the operation and source code of eos voting and resource pledging. Later, I will introduce the eosio.system domain name bidding-related functions and source code implementation. Please stay tuned!

G. Who will protect the blocks after the billion-dollar vulnerability?Chain Platform Security

On June 8, the high-risk EOS vulnerability exposed by 360 caused a lot of heated discussion on the Internet. In the early morning of June 2, Beijing time, EOS officially publicly thanked the 360 ​​security team and provided a bounty of US$30,000. It strongly called on the security community to work together to ensure the continued improvement of EOS software security.

The EOS vulnerability exposed by 360, if exploited, can control every node and every server in the EOS network, not only taking over the virtual currencies and various transactions and applications, and can also take over all participating servers in the node. It can be said that if someone makes a malicious smart contract, they can directly take away all the digital currencies in it.

EOS vulnerability attacks can propagate between multiple nodes and super nodes at a speed of seconds. The propagation from the control node to the generation of new blocks is a continuous, chain-like explosion action, which is likely to take 20 It took over all nodes in seconds and completed the operation.

Imagine that when the attacker has obtained the supreme authority in the entire EOS network, it is equivalent to Thanos gathering all the six rough stones of the universe. The universe can change rapidly and do whatever he wants.

Source: China News Network

H. Is it difficult to develop a public blockchain chain? How many domestic companies can do it?

Blockchain is distributed New application models of computer technologies such as data storage, point-to-point transmission, consensus mechanisms, and encryption algorithms. Blockchain is an important concept of Bitcoin. It is essentially a decentralized database. As the underlying technology of Bitcoin, it is a series of data blocks generated using cryptographic methods. Each The data block contains information about a batch of Bitcoin network transactions and is used to verify the validity of the information (anti-counterfeiting) and generate the next block.

The biggest problem if such technology is to be put into application is the "impossible triangle problem"

That is, it cannot achieve scalability (Scalability) and decentralization (Decentralization) at the same time. ), security (Security), you can only get two of the three.

Most of the public chain projects currently on the market are difficult to put into use on a large scale.

博客主人唯心底涂
男,单身,无聊上班族,闲着没事喜欢研究股票,无时无刻分享股票入门基础知识,资深技术宅。
  • 34963 文章总数
  • 3637265访问次数
  • 3077建站天数