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

智能合约区块链浏览器下载,智能合约区块链浏览器官网

发布时间:2023-12-21-02:19:00 来源:网络 比特币基础 区块   合约   浏览器

智能合约区块链浏览器下载,智能合约区块链浏览器官网

区块链浏览器是一种用于查看区块链数据的网络应用程序,它可以帮助用户了解区块链网络上的所有信息,包括智能合约、交易记录、账户余额等。它可以帮助用户更有效地了解区块链网络的运行原理,并发挥其价值。

智能合约是一种功能强大的软件,可以在区块链上实现自动执行的功能。它可以被认为是一种具有智能的自动执行程序,可以在区块链上实现自动执行的功能。它可以通过一系列规则,控制资产的流动,实现自动化的交易,并且可以更安全、快速、低成本地完成交易。

区块链浏览器官网是一个专门为用户提供区块链浏览器下载、更新、使用等服务的网站。它旨在为用户提供最新、最安全的区块链浏览器,以及最全面、最及时的区块链浏览器使用指南。它的宗旨是为用户提供最安全、最全面的区块链浏览器下载服务,以及最完善的区块链浏览器使用指南,以帮助用户更好地了解区块链浏览器的功能和使用方法。

智能合约区块链浏览器是一种专门为智能合约而设计的区块链浏览器,用于查看智能合约在区块链上的运行情况。它可以帮助用户跟踪智能合约的执行情况,查看智能合约的交易记录,检查智能合约的代码,以及查看智能合约的状态。智能合约区块链浏览器不仅可以为用户提供及时准确的信息,还可以提供更多的功能,如智能合约的执行情况分析、智能合约的可视化等。


请查看相关英文文档

Ⅰ Hot! Create and play with your own blockchain in 5 minutes


Blockchain is developing so fast this year! From an unfamiliar concept at the beginning, it has now taken off in various industries. A single spark has the potential to start a prairie fire. I really hope I can have my own blockchain to practice with! But how can one person and one computer set up a blockchain environment? The blockchain is so popular that it is not easy to say that I love you!


Don’t Worry! The editor has been addicted to blockchain and smart contracts and can’t extricate himself! Now I will take you step by step to start from scratch and create your own blockchain in 5 minutes! ~
The SuperVessel platform developed by IBM China Research Institute provides a blockchain development and testing environment for blockchain enthusiasts and developers. Through this platform, users can create multi-node blockchains based on Hyperledger Fabric for free and super quickly, and play with smart contracts on their own chains.
----
0.
Preparation
All you need is your local browser!
1. Register an account
Access the public beta address of SuperVessel blockchain service: 8800/bc.
Click the Log in button in the upper right corner, click Register in the pop-up window, fill in your email and password and submit. At this time, it is recommended to check the activation email in your mailbox and activate your account (Editor's tip: It doesn't matter if you activate lazily, but some advanced services must be activated before they can be used).
2.
Quickly create your own blockchain
After registration is completed, return to the homepage and click on the huge GIVE ME A BLOCKCHAIN ​​(Give me a blockchain!) button. Select the Consensus Plugin (consensus plug-in) and Size (number of blockchain network nodes) you want in the pop-up box.
Editor's note: Currently there are two consensus plug-ins officially provided by Hyperledger Fabric: noops and pbft.
After clicking Submit, you will get your own blockchain in a few seconds and automatically enter the monitoring panel. That’s right, getting your own blockchain is that simple!
After entering the monitoring panel, you can see that the left side is the smart contract management panel, including the management and deployment of smart contracts; the right side is the network panel, which displays the applied blockchain network status, topology, and connections between nodes. Latency information, etc. are clear at a glance; click the telescope icon in the upper right corner to monitor the log information of each node in real time. The bottom is the blockchain panel, which shows the overall situation of the current blockchain. In the initial state, there is only one block.
3. Deploy and use smart contracts
Next, the editor will teach you how to deploy smart contracts in your ownDeploy and use smart contracts on the blockchain.
Under the Smart Contracts tab of the smart contract management panel, 2 smart contracts are listed as examples, namely map and chaincode_example02. The map contract can store key-value pairs, and the chaincode_example02 contract can simulate transfers and queries between two people.
Editor's note: The codes for these two sample contracts can be found in the Hyperledger Fabric source code.
Take the deployment and use of the chaincode_example02 contract as an example:
Deploy the contract
Click the Deploy button corresponding to the chaincode_example02 contract, and fill in the initialization value of the contract, including the contract name, initial function, and initial parameters. The initial function of the contract is init, and the initial parameters need to be filled in according to the format, such as ["a", "100", "b", "200"], which means registering two people a and b, giving them 100 units and 200 units respectively.
Click the Deploy button and the contract will be deployed in your blockchain. The process will take about 20 to 40 seconds. When a new block appears on the blockchain panel, it usually means that the contract has been deployed.
Call the contract
After the deployment is completed, view the deployed contract instance under the My Deployment tab of the smart contract management panel.
Click the Invoke button below the Action to call the smart contract, and fill in the called method name and corresponding parameters (the method names and parameters of different contracts have different meanings, which are related to the content of the contract). For this contract, call the invoke method name and fill in the parameters ["a", "b", "50"], which means a transfers 50 units to b.
After clicking Submit to complete the call, you can view the blockchain situation and a new block will be generated.


Query Contract
After the call is completed, you can query the contract execution results. Still under the My Deployment tab, click the Query button under Action to query the smart contract, and fill in the query method name and corresponding parameters. If you select the query method name and fill in the parameter ["a"], it means querying the current unit of a.
After clicking Submit, you can see that the current unit of a is 50. You can try query b again!
OK, then you can continue to operate the contract, observe the blockchain situation, or deploy a new smart contract, such as map, on the blockchain. For ease of use, the method names and parameter formats for deploying, calling, and querying contracts are all filled in by default. You only need to select a method name and change the parameters as you like! See if you can play with the chainHow long~
4. Upload and test your own private smart contract
In addition to the two public smart contracts currently provided, you can also upload and test your own private contract! Private contracts can only be seen by you.
Click Import private smart contract under the Smart Contracts tab.
After filling in the contract name and description, and uploading the contract code file, click Import to complete the upload.
Then the contract I uploaded will appear in the Smart Contracts list and can be deployed, called and queried as before.

Ⅱ Blockchain distributed storage: a new storage model for ecological big data

Blockchain is undoubtedly the most beautiful word in 2019, shining brightly in the field of science and technology , star-studded in the real industry.

The 1024 speech in 2019 gave the word blockchain a new look. In the past, it was always associated with pyramid schemes and fraud, and the word "blockchain" was always cast in a layer of gray. But now, blockchain is closely connected with the integration of the real economy and has become a strategic technology for the country. The word instantly shines with passionate red and vibrant green.

"Industrial blockchain" came into being in the context of this era. It is another hot word after "Internet". The core is that blockchain must be integrated with real industries and move away from virtuality to reality. , it is the right way to let blockchain technology find more business scenarios.

The essence of the blockchain is a database, and it uses a distributed storage method. As a blockchain practitioner, today I will talk about the sparks generated by the collision of distributed storage of blockchain and ecological big data.

Most of the current storage is centralized storage, which is stored on traditional centralized servers. If the server goes down or malfunctions, or if the server ceases operations, a lot of data will be lost.

For example, the pictures we post in WeChat Moments, the videos uploaded on Douyin, etc. are all centralized storage. Many friends will store things on the Internet, but when they open it one day, the web page will display 404, which means that the stored things have disappeared.

Blockchain, as a distributed database, can solve this problem very well. This is determined by the technical characteristics of the blockchain. Digital records on the blockchain cannot be tampered with or forged. Smart contracts allow everyone to collaborate more efficiently to establish a credible digital economic order, which can improve the efficiency of data flow, break down data silos, and create a new storage model.

Ecological big data is actually closely related to our daily lives, such as daily weather forecasts, traceability data of agricultural products we eat, etc., which are all part of ecological big data. To talk about this combination, first let’s take a look at the ecological environmentData storage characteristics.

With the development of the Internet, currently, ecological big data has the following characteristics in terms of storage:

From the perspective of data scale, the volume of ecological data It’s huge, and data has jumped from the TB level to the PB level.

With the development of various sensor technologies, satellite remote sensing, radar and video sensing technologies, data not only comes from traditional manual monitoring data, but also includes aviation, aerospace and ground data. Together, they have generated a massive amount of ecological data. environmental data. In the past 10 years, ecological data has grown by hundreds of terabytes every year.

Ecological environment big data requires a combination of dynamic new data and historical data for processing, and real-time continuous observation is particularly important. Only by processing and analyzing these dynamic new data in real time and combining them with existing historical data can we unearth useful information and provide scientific decisions for solving ecological and environmental problems.

For example, in the current urban construction, the ecological environment restoration and ecological model construction advocated require a large amount of ecological big data to be used for analysis, modeling and plan formulation. However, currently a lot of historical data disappears due to improper storage, resulting in the loss of data value.

Since ecological big data has these characteristics, what are its storage requirements?

Currently, ecological big data is facing serious security risks, and strong secure storage is imperative for ecological big data.

The security of big data mainly includes the security of big data itself and the security of big data technology. For example, in the data storage of big data, data information leakage occurs due to external network attacks by hackers and improper human operations. External attacks include data transmission attacks on static and dynamic data, data content attacks, data management and cyber-physical attacks.

For example, many massive data for wild ecological environment monitoring require network transmission, which increases the risk of cyber attacks. If it involves some ecological and environmental data used by the military, if these data are obtained by hackers, they may infer some information about our military or obtain sensitive ecological and environmental data, with disastrous consequences.

The commercial application of ecological big data requires the integration of data from multiple sources of society such as governments, enterprises, and scientific research institutes. Only when different types of ecological environment big data are connected, collided and shared can the value of ecological environment big data be released.

Taking the current smart city construction as an example, many cities are establishing agricultural information big data centers on intellectual property, germplasm resources, agricultural materials, agricultural products, pests and diseases in all aspects and dimensions to provide agricultural products with Supply and marketing provide full information services. The construction of such a big data center is inseparable from the sharing of ecological big data among various departments.

However, ecological big data sharing faces huge challenges. First of all, our studentsEco-environmental big data includes big data from meteorology, water conservancy, ecology, land, agriculture, forestry, transportation, social economy and other departments, involving multi-field, multi-sector and multi-source data. Although these departments have currently established their own data platforms, these platforms are not connected to each other and are just isolated data islands.

Secondly, the relevant departments cannot share the data because they are unable to track the trajectory of the data and are worried about the ownership of the data’s interests. Therefore, in order to explore the potential value hidden behind ecological big data, achieving secure data sharing is the key, and it is also the premise and basis for the value of ecological big data.

Ecological big data is hard-won and is the collective wisdom of research institutes, enterprises, individuals and other social sources.

Among them, many ecological big data involve the protection of intellectual property rights. However, the current centralized storage cannot guarantee the protection of intellectual property rights and cannot perform traceability management of data use, which can easily lead to the infringement of intellectual property rights and the leakage of private data.

These are the storage needs of ecological big data. Today, with the rapid development of industrial blockchain, the distributed storage of blockchain can provide a new storage method for ecological big data storage. This core premise is the distributed storage, non-tampering and data tracking characteristics of the blockchain.

Using blockchain as the underlying technology, build such a platform to specifically store ecological big data. You can set up node management, storage management, user management, license management, business channel management, etc. Implementation of the underlying services of the blockchain network that provides high availability and dynamic expansion for upper-layer business applications. In the application layer of this platform, API interfaces can be built to make the use of the entire platform flexible and scalable. Blockchain distributed storage has the following characteristics:

Utilizing the distributed storage of blockchain can achieve truly secure storage of ecological big data.

First, data is never lost. This is particularly friendly to the historical data of ecological big data, making it easier to call and compare new and old data.

Secondly, data is not easily leaked or attacked. Because the data is stored in a distributed manner, if there is an attack, only the data fragments stored in some nodes can be obtained, and the complete data information or data segments cannot be completely obtained.

Blockchain can realize the storage and confirmation of ecological data, so as to avoid the infringement of intellectual property rights and achieve safe sharing. After all, the acquisition of ecological big data requires ecological workers to be stationed in the wild all year round to extract data.

Ecological big data is hard-won and is the hard work of many ecological workers. It needs to be protected by property rights, so that the data can reflect its application value and commercial value, and the work motivation of ecological workers can be protected. They can go deep into the front line and collect more high-quality big data.

At the same time, the use of blockchain's data security sharing mechanism can also break down data barriers in departments such as meteorology, forestry, and wetlands, and build a safe and reliable data sharing mechanism to make data flow more valuable.

Nowadays, some ecological workers will tamper with ecological data for personal gain. If you use blockchain technology, it is not so easy.

Using encryption technology, the stored data is placed on a distributed storage platform for encryption processing. If the ecological big data changes, the platform can record its different versions to facilitate subsequent tracing and verification.

This protection mechanism mainly takes advantage of the non-tamperability of data to meet the requirements for data security in various business processes that use ecological big data.

The blockchain can provide secure monitoring of data, record the operation logs of the application system and the operation log data of the database, encrypt and store them on the system, provide log warning functions, and browse through the blockchain for abnormal situations The device is displayed to facilitate timely detection of illegal operations and the provision of evidence.

The above is the role that distributed storage of blockchain can play in ecological big data. In the future, there will definitely be many platforms for ecological big data storage.

Ecological big data is an important basic data for the construction of smart cities. Using blockchain technology to create a relevant ecological big data storage and management platform can ensure the safe storage and effective sharing of ecological big data and provide wisdom for the future. Contribute to urban construction and promote the development of industrial blockchain.

Author: Justina, WeChat public account: Miaoyishenghua, engaged in blockchain operations, good at content operations and overseas media operations.

The title picture comes from Unsplash, based on the CC0 agreement.

Ⅲ 108 essential knowledge points for getting started with blockchain

Author: Kong Lin

61. Trapped

Expect the currency price to rise, but unexpectedly the currency price falls after buying; or expect the currency price to fall, but unexpectedly the currency price rises after selling

62. Unwinding

After buying Bitcoin, the currency price fell, causing a temporary book loss, but the currency price rebounded later and the loss turned into profit

63. Going short

After selling Bitcoin because of the bearish market outlook, However, the currency price continued to rise, and I failed to buy in time, so I failed to make profits

64. Overbought

The currency price continued to rise to a certain height, and the buyer's power was basically exhausted. The currency price is about to fall

65. Oversold

The currency price continues to fall to a certain low, the seller's power is basically exhausted, and the currency price is about to rise

66. Lure more

The currency price has been consolidating for a long time and is more likely to fall. Most of the short sellers have sold Bitcoin. Suddenly the short sellers pulled up the currency price, inducing many parties to think that the currency price will rise and buy one after another. As a result, they were short The bulls suppressed the price of the currency, causing the bulls to get stuck

67. Short-selling

After the bulls bought Bitcoin, they deliberately suppressed the price of the currency, making the shorts think that the price of the currency would fall, and they sold them one after another. , and ended up falling into the trap of bulls


68. What is NFT

The full name of NFT is "Non-Fungible Tokens", which means non-fungible. Token, to put it simply, is an indivisible copyright certificate on the blockchain. It is mainly used to confirm and transfer digital assets. The difference from digital currency is that it is unique and indivisible. In essence, it is a unique number. assets.

69. What is the Metaverse

The Metaverse is a collection of virtual time and space, consisting of a series of augmented reality (AR), virtual reality (VR) and the Internet (Internet) Composed of digital currency, which carries the function of value transfer in this world.

70. What is DeFi

DeFi, the full name is Decentralized Finance, which is "decentralized finance" or "distributed finance". "Decentralized finance", as opposed to traditional centralized finance, refers to various financial applications based on open decentralized networks. The goal is to establish a multi-level financial system based on blockchain technology and cryptocurrency. As a basis, re-create and improve the existing financial system

71. Who is Satoshi Nakamoto?

72. Bitcoin is different from Q Coin

Bitcoin is a decentralized digital asset with no issuing entity. Q Coin is an electronic currency issued by Tencent. It is similar to electronic points, but it is not actually a currency. Q Coin requires a centralized issuing institution. Q Coin can only be recognized and used because of the credit endorsement of Tencent. The scope of use is also limited to Tencent's games and services. The value of Q coins is entirely based on people's trust in Tencent.

Bitcoin is not issued through a centralized institution, but it is widely recognized around the world because Bitcoin can self-certify its trust. The issuance and circulation of Bitcoin are jointly accounted for by miners across the entire network, and are not A central authority is also needed to ensure that no one can tamper with the ledger.

73. What is a mining machine?

Taking Bitcoin as an example, a Bitcoin mining machine is a professional equipment that competes for accounting rights by running a large amount of calculations to obtain new Bitcoin rewards. It is generally composed of a mining chip, a heat sink and a fan, and only performs A single calculation program consumes a lot of power. Mining is actually a competition between miners for computing power. The miner with more computing power mines Bitcoin.The probability is greater. As the computing power of the entire network increases, it becomes increasingly difficult to mine bits with traditional equipment (CPU, GPU), and people have developed chips specifically for mining. The chip is the core part of the mining machine. The operation of the chip will generate a large amount of heat. In order to dissipate heat, Bitcoin mining machines are generally equipped with heat sinks and fans. Users download Bitcoin mining software on their computers, use the software to assign tasks to each mining machine, and then start mining. Each currency has a different algorithm and requires different mining machines.

74. What is quantitative trading?

Quantitative trading, sometimes also called automated trading, refers to the use of advanced mathematical models to replace human subjective judgments, which greatly reduces the impact of investor sentiment fluctuations and avoids extreme fanaticism or pessimism in the market. make irrational investment decisions. There are many types of quantitative trading, including cross-platform trading, trend trading, hedging, etc. Cross-platform trading means that when the price difference between different target platforms reaches a certain amount, sell on the platform with a higher price and buy on the platform with a lower price.

75. Blockchain asset over-the-counter trading

Over-the-counter trading is also called OTC trading. Users need to find their own counterparties and do not need to match the transaction. The transaction price is determined by negotiation between the two parties. The two parties can fully communicate through face-to-face negotiation or telephone communication.

76. What is a timestamp?

The blockchain ensures that each block is connected sequentially through timestamps. Timestamps enable every piece of data on the blockchain to have a time stamp. Simply put, timestamps prove when something happened on the blockchain and cannot be tampered with by anyone.

77. What is a blockchain fork?

Upgrading software in a centralized system is very simple, just click "Upgrade" in the app store. However, in decentralized systems such as blockchain, "upgrading" is not that simple, and a disagreement may even cause a blockchain fork. Simply put, a fork refers to a disagreement when the blockchain is "upgraded", resulting in a fork in the blockchain. Because there is no centralized organization, every code upgrade of digital assets such as Bitcoin needs to be unanimously recognized by the Bitcoin community. If the Bitcoin community cannot reach an agreement, the blockchain is likely to form a fork.

78. Soft fork and hard fork

Hard fork means that when the Bitcoin code changes, the old nodes refuse to accept the blocks created by the new nodes. Blocks that do not comply with the original rules will be ignored, and miners will follow the original rules and create new blocks after the last block they verified. A soft fork means that old nodes are not aware of the changes to the Bitcoin code and continue to accept blocks created by new nodes. Miners may work on blocks they have no understanding of, or validation of. Both soft forks and hard forks are "backwards compatible" to ensure that new nodes can verify the blockchain from scratch. Backward compatibility means that new software accepted byData or code generated by old software. For example, Windows 10 can run Windows XP applications. Soft forks can also be "forward compatible".

79. Classification and application of blockchain projects

Judging from the current mainstream blockchain projects, blockchain projects mainly fall into four categories: Category 1: Currency; The second category: platform category; the third category: application category; the fourth category: asset tokenization.

80. USDT against the US dollar

USDT is Tether USD, a token launched by Tether that is against the US dollar (USD). 1USDT=1 US dollar, users can use USDT and USD for 1:1 exchange at any time. Tether implements a 1:1 reserve guarantee system, that is, each USDT token will have a reserve guarantee of 1 US dollar, which supports the stability of the USDT price. The unit price of a certain digital asset is USDT, which is equivalent to its unit price in US dollars (USD).

81. Altcoins and alternative coins

Altcoins refer to blockchain assets that use the Bitcoin code as a template and make some modifications to its underlying technology blockchain, among which Those with technological innovations or improvements are also called alternative coins. Because the Bitcoin code is open source, the cost of plagiarism in Bitcoin is very low. You can even generate a brand new blockchain by simply copying the Bitcoin code and modifying some parameters.

82. Three major exchanges

Binance

Okex

Huobi

83. Market software

Mytoken

Non-small account

CMC

84. Information website

Babbitt

Golden Finance

Coin World News

85. Blockchain Browser

BTC

ETH

< p> BCH

LTC

ETC

86. Wallet

Imtoken

Bitpie

87. Decentralized exchange

uniswap


88. NFT exchange

Opensea< /p>

Super Rare

89. Ladder

Bring your own, buy a reliable ladder

90. Platform currency

The digital currency issued by the platform is used to deduct handling fees, transactions, etc.

91. Bull market, bear market

Bull market: rising market

Bear market: falling market< /p>

92. Blockchain 1.0

A currency trading system based on distributed ledgers, represented by Bitcoin

93. Blockchain 2.0

< p> The contract blockchain technology represented by Ethereum (smart contract) is 2.0

94. Blockchain 3.0

In the era of intelligent Internet of Things, it goes beyond the financial field and provides various The industry provides decentralized solutions

95. Smart Contract

Smart Contract is a computer protocol designed to disseminate, verify or execute contracts in an information-based manner. Simply put, an electronic contract is set up in advance, and once both parties confirm it, the contract will be automatically executed.

96. What is a token?

The token economy is an economic system with Token as the only reference standard, which is equivalent to a pass. If you own Token, you have rights and interests, and you have the right to speak.


Big data is the means of production, AI is the new productivity, and blockchain is the new production relationship. Big data refers to a collection of data that cannot be captured, managed and processed within a certain time range using conventional software tools. It is a massive, high-growth and high-volume data set that requires new processing models to have stronger decision-making power, insight discovery and process optimization capabilities. Diverse information assets. Simply understood, big data is massive data accumulated over a long period of time and cannot be obtained in the short term. Blockchain can be used as a way to obtain big data, but it cannot replace big data. Big data is only used as a medium running in the blockchain and has no absolute technical performance, so the two cannot be confused. (A simple understanding of the production relationship is the labor exchange and consumption relationship. The core lies in productivity, and the core of productivity lies in production tools)

ICO, Initial Coin Offering, initial public token issuance, is the first step in the blockchain digital currency industry. Crowdfunding. It is the most popular topic and investment trend in 2017, and the country launched a regulatory plan on September 4. Speaking of ICO, people will think of IPO, and the two are fundamentally different.

99. Five characteristics of digital currency

The first characteristic: decentralization

The second characteristic: having open source code

The third feature: independent electronic wallet

The fourth feature: constant issuance

The fifth feature: global circulation

100. What is decentralization?

NoThere is an issuer, it does not belong to any institution or country, it is designed, developed and stored on the Internet by Internet network experts, and it is a publicly issued currency.

100. What is measurement (scarcity)?

Once the total amount of issuance is set, it is permanently fixed, cannot be changed, cannot be over-issued at will, and is subject to global Internet supervision. Because the difficulty of mining and mining changes over time, the longer the time, the greater the difficulty of mining, and the fewer coins are mined, so it is scarce.

101. What is open source code?

The alphanumeric code is stored on the Internet. Anyone can find out the source code of its design, everyone can participate, can mine it, and it is open to the world.

102. What is anonymous transaction? Private wallet private?

Everyone can register and download the wallet online without real-name authentication. It is completely composed of encrypted digital codes. It can be sent and traded globally in real-time point-to-point without resorting to banks or any institutions. It cannot be traced by anyone without my authorization. ,Inquire.


A contract transaction refers to an agreement between a buyer and seller to receive a certain amount of an asset at a specified price at a certain time in the future. The objects of contract trading are standardized contracts formulated by the exchange. The exchange stipulates standardized information such as commodity type, transaction time, quantity, etc. A contract represents the rights and obligations of the buyer and seller.


105. Digital Currency Industry Chain

Chip manufacturers, mining machine manufacturers, and mining machine agents mine and export to exchanges for retail investors to speculate in coins< /p>


106. Who is Kong Lin?

Kong Lin: Digital Currency Value Investor

Investment style: Steady




p>

107. Konglin Investment Strategy

Combining long-term and short-term, focusing on price investment, no touching contracts, no short-term play

Reasonable layout, scientific operation, steady and conservative, earning money Cycle money


108. Konglin?

Welcome currency friends and seek common development

IV Blockchain technology concept

Blockchain technology concept

Blockchain technology Concept, nowadays, blockchain has become an area of ​​concern for most people, and many companies have already studied the technology in depth. However, there are still people who don’t know much about it. Below I will share an article about the concept of blockchain technology. information.

Blockchain technologyTechnical Concept 1

Basic concepts and working principles of blockchain

1. Basic concepts

Blockchain is distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm and other new application models of computer technology. The so-called consensus mechanism is a mathematical algorithm that establishes trust and obtains rights and interests between different nodes in the blockchain system.

Blockchain is an important concept of Bitcoin. It is essentially a decentralized database and serves as the underlying technology of Bitcoin. The blockchain is a series of data blocks generated using cryptographic methods. Each data block contains information about a Bitcoin network transaction, which is used to verify the validity of the information, prevent counterfeiting, and generate the next block.

In a narrow sense, blockchain is a chained data structure that combines data blocks in a sequential manner in chronological order, and is cryptographically guaranteed to be non-tamperable and non-tamperable. Fake distributed ledger.

Broadly speaking, blockchain technology uses block chain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, and uses cryptography to ensure data transmission and access. It is a new distributed infrastructure and computing method that uses smart contracts composed of automated script codes to program and operate data securely.

2. Working principle

The blockchain system consists of data layer, network layer, consensus layer, incentive layer, contract layer and application layer. Among them, the data layer encapsulates the underlying data blocks and related basic data and algorithms such as data encryption and timestamps; the network layer includes distributed networking mechanisms, data dissemination mechanisms and data verification mechanisms; the consensus layer mainly encapsulates network nodes Various consensus algorithms; the incentive layer integrates economic factors into the blockchain technology system, mainly including the issuance mechanism and distribution mechanism of economic incentives; the contract layer mainly encapsulates various scripts, algorithms and smart contracts, and is the core of the blockchain The basis of programmable features; the application layer encapsulates various application scenarios and cases of the blockchain. In this model, the chain block structure based on timestamps, the consensus mechanism of distributed nodes, economic incentives based on consensus computing power, and flexible programmable smart contracts are the most representative innovations of blockchain technology.

Blockchain mainly solves the trust and security issues of transactions, so it proposes four technological innovations to address this issue:

1. Distributed The ledger means that transaction accounting is completed by multiple nodes distributed in different places, and each node records a complete account, so they can all participate in supervising the legality of the transaction and can also jointly testify for it.

Different from traditional distributed storage, the uniqueness of blockchain distributed storage is mainly reflected in two aspects: First, each node of the blockchain stores complete data according to the block chain structure. data, traditional distributed storage generally usesThe data is divided into multiple parts for storage according to certain rules. Second, the storage of each node in the blockchain is independent and has equal status, relying on the consensus mechanism to ensure the consistency of storage, while traditional distributed storage generally synchronizes data to other backup nodes through the central node. [8]

No node can record ledger data independently, thus avoiding the possibility of a single bookkeeper being controlled or bribed to record false accounts. Also because there are enough accounting nodes, theoretically speaking, the accounts will not be lost unless all nodes are destroyed, thereby ensuring the security of the accounting data.

2. Asymmetric encryption and authorization technology. Transaction information stored on the blockchain is public, but account identity information is highly encrypted and can only be accessed with authorization from the data owner. , thus ensuring data security and personal privacy.

3. The consensus mechanism is how all accounting nodes reach a consensus to determine the validity of a record. This is both a means of identification and a means of preventing tampering. Blockchain proposes four different consensus mechanisms, which are suitable for different application scenarios and strike a balance between efficiency and security.

The consensus mechanism of the blockchain has the characteristics of "the minority obeys the majority" and "everyone is equal". "The minority obeys the majority" does not entirely refer to the number of nodes, but can also be the computing power and the number of shares. Or other characteristic quantities that the computer can compare. "Everyone is equal" means that when a node meets the conditions, all nodes have the right to give priority to the consensus result, which will be directly recognized by other nodes and may eventually become the final consensus result. Taking Bitcoin as an example, it uses proof of work. Only when more than 51% of the accounting nodes in the entire network are controlled, it is possible to forge a non-existent record. When there are enough nodes joining the blockchain, this is basically impossible, thus eliminating the possibility of fraud.

4. Smart contracts. Smart contracts are based on these trustworthy and non-tamperable data. Some predefined rules and terms can be automatically executed. Take insurance as an example. If everyone's information, including medical information and risk occurrence information, is true and trustworthy, it will be easy to implement automated claims settlement in some standardized insurance products.

3. Others

The Internet exchanges information, and the blockchain exchanges value. Human history and the history of the Internet can be understood in eight words: if they are divided for a long time, they must be combined. For a long time, they must be combined. In the era of long-term separation, all network information is scattered on the Internet. It is not easy for everyone to mine information. At this time, platforms such as Google and Facebook will appear. , the only thing it does is recombine all our information. In the Internet era, what the monopoly giants reorganize is information, rather than generating their own information. The information generated is entirely our own. Once the information is reorganized, a new monopoly giant will emerge, so it will be an era of long-lasting separation. Now due to blockchain technologyIt’s the era of long-term integration and division, and it’s a new multi-centralization. After the new multi-centralization, new value will be generated. These data will be in our own hands. The value generated by personal data belongs to ourselves. This is This is the most exciting era of our time.

What is the value of blockchain? A low-cost mechanism to establish trust, establish data rights, and resolve data property rights.

At present, blockchain technology continues to develop, including the current development of single chains to multi-chains, and the technology can be further expanded. I think there may still be disruptions in the future, especially in transactions and other aspects. , especially many disruptive scenarios for existing industries.

The essence of blockchain is to establish trusted information exchange on untrustworthy networks.

One Belt, One Road + One Chain. The bigger thing about blockchain is not to create trust, but to allow trust to be transmitted losslessly, reducing the friction cost of society as a whole, thereby improving the overall efficiency.

The blockchain itself is still in its initial stage, so it includes the information transmission and encryption of the blockchain. Quantum encryption and other encryption appear in this process, which actually attacks the encryption algorithm used by the blockchain itself. This phenomenon also occurs from time to time. Including blockchain is also a recognition of assets, a recognition of digital assets, but now many of us use cryptographic algorithms, or as the key for us to decrypt, but if you forget the password, it is very likely that your current assets will be lost. If you lose them, you won't be able to get back your original assets. Therefore, there are still some hidden dangers in asset management, including information transmission and some security aspects. Of course, from a technical perspective, the processing speed of our blockchain itself, or its scalability, is because from the perspective of the working mechanism, the entire ledger must be copied to all participants, so in the blockchain Its operational efficiency and scalability are still relatively limited. We feel that these still need further development in terms of technology.

The underlying technologies of the blockchain platform also form blockchain wallets, blockchain browsers, node elections, mining machines, mining pools, development components, development modules, technical communities and project communities. and a series of ecosystems. The perfection of these ecosystems directly determines the efficiency and effectiveness of the underlying platform of the blockchain.

4. Mundell’s Impossible Triangle

It is impossible to achieve the ultimate in decentralization, efficiency, and security at the same time.

Blockchain technology concept 2

The essence of blockchain is a distributed accounting technology, as opposed to centralized accounting technology, which is widely used in our current lives. exist. Blockchain is a new application model of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.

Blockchain is an important concept of Bitcoin. It is essentially a decentralized database and is the underlying technology of Bitcoin.It is a series of data blocks generated using cryptographic methods. Each data block contains a batch of Bitcoin network transaction information, which is used to verify the validity and anti-counterfeiting of the information and generate the next block.

In a narrow sense, blockchain is a chained data structure that combines data blocks in a sequential manner in chronological order, and is cryptographically guaranteed to be non-tamperable and non-tamperable. Fake distributed ledger.

Broadly speaking, blockchain technology uses block chain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, and uses cryptography to ensure data transmission and access. It is a new distributed infrastructure and computing method that uses smart contracts composed of automated script codes to program and operate data securely.

The popular understanding of blockchain technology is: connecting the front, back, left, and right blocks of "things" into a chain using one technology, but each block The original data of the block cannot be tampered with. It is a "linked module" technology in the field of Internet of Things that allows participants to trust. The application of blockchain technology is inseparable from the Internet and the Internet of Things. It is based on the integration and interaction of the two, but allows participants to remain independent, decentralized, and work together. With this set of value chain co-construction and sharing, technology.

Characteristics of blockchain: decentralization, openness, autonomy, information cannot be tampered with, and anonymity.

Blockchain is a network that can deliver value. The demand for a network that can deliver value is an important reason for the emergence of blockchain technology. Blockchain emerged driven by the need to protect information with ownership or other value. Through public and private key cryptography, distributed storage and other technical means, the blockchain ensures on the one hand the efficient transmission of valuable information, and on the other hand ensures that this information will not be easily copied and tampered with during the transmission process.

Understand the connotation of blockchain from the inevitability of its birth. Blockchain is a distributed accounting technology that solves the shortcomings of centralized accounting and solves the problem of distributed consistency. It is also The connected Internet is upgraded to a value network that ensures the safe and efficient transmission of valuable information.

Blockchain Technology Concept 3

Blockchain: Blockchain is like a globally unique account book, or database, which records the history of all transactions in the network.

Ethereum Virtual Machine (EVM): It allows you to write more powerful programs on Ethereum and script programs on Bitcoin. It is also sometimes used to refer to the Ethereum blockchain, which is responsible for executing smart contracts and everything.

Node: You can run a node to read and write to the Ethereum blockchain, that is, using the Ethereum Virtual Machine. Full nodes require downloading the entire blockchain. Light nodes are still under development.

Miner: Mining, that is, the node that processes blocks on the blockchain. On this page you can see the currently activePart of Ethereum miners: stats.ethdev.com.

Proof of Work: Miners are always competing to solve some mathematical problem. The first one to solve the problem (calculate the next block) will be rewarded with Ether coins. All nodes then update their own blockchain. All miners who want to figure out the next block have an incentive to stay in sync with other nodes and maintain the same blockchain, so the entire network can always reach consensus. (Note: Ethereum is planning to move to a proof-of-stake system (POS) without miners, but that is beyond the scope of this article.)

Ethereum: Abbreviation ETH. A true digital currency that you can buy and use. Here is a chart from one of the exchanges where Ethereum can be traded. At the time of writing, 1 Ether is worth 65 cents.

Gas: Executing programs and saving data on Ethereum consumes a certain amount of Ethereum. Gas is converted from Ethereum. This mechanism is used to ensure efficiency.

DApp: The Ethereum community calls applications based on smart contracts decentralized applications (Decentralized App). The goal of DApp is (or should be) to have a friendly interface for your smart contracts, plus some extras, such as IPFS, a decentralized network that can store and read data, not from the Ethereum team but in a similar spirit ). DApp can run on a centralized server that can interact with Ethereum nodes, or it can run on any Ethereum equal node. (Take a minute to think about this: Unlike ordinary websites, DApps cannot run on ordinary servers. They need to submit transactions to the blockchain and read important data from the blockchain rather than a centralized database. Compared to typical users When logging into the system, the user may be represented as a wallet address and other user data is stored locally. Many things will be structured differently from current web applications.)

Ethereum client, smart contract language

p>

Writing and deploying smart contracts does not require you to run an Ethereum node. Browser-based IDEs and APIs are listed below. But if you are just learning, you should still run an Ethereum node to understand the basic components, and running a node is not difficult.

Clients available for running Ethereum nodes

Ethereum has many client implementations in different languages, that is, multiple methods of interacting with the Ethereum network, , including C++, Go, Python, Java, Haskell, etc. Why do we need so many implementations? Different implementations can meet different needs. For example, the goal of Haskell implementation is to be mathematically verifiable, to make Ethereum more secure, and to enrich the entire ecosystem.

When writing this article, I am using the client implemented in Go languagegeth (go-ethereum), and at other times a tool called testrpc, which uses the Python client pyethereum. Later examples will use these tools.

About mining: Mining is fun, a bit like caring for your houseplant, but also a way to learn about the entire system. Although the current price of Ethereum may not even cover the electricity bill, who knows in the future. People are creating many cool DApps that may make Ethereum more and more popular.

Interactive console: Once the client is running, you can synchronize the blockchain, create a wallet, and send and receive Ethereum. One way to use geth is through the Javascript console. In addition, you can use cURL-like commands to interact with the client through JSON RPC. The goal of this article is to take you through the process of DApp development, so I won’t go into details about this. But we should remember that these command line tools are useful for debugging, configuring nodes, and using wallets.

Running the node on the test network: If you run the geth client on the official network, it will take quite a while to download the entire blockchain and synchronize with the network. You can determine if synchronization has occurred by comparing the last block number printed in the node logs with the latest block listed on stats.ethdev.com. ) Another problem is that running smart contracts on the official network requires real Ethereum. Running the node on the test network does not have this problem. At this time, there is no need to synchronize the entire blockchain. Just create your own private chain, which saves time for development.

Testrpc: Use geth to create a test network. Another faster way to create a test network is to use testrpc. Testrpc can help you create a bunch of test accounts with funds at startup. It also runs faster and is therefore better suited for development and testing. You can start with testrpc, and then as the contract slowly takes shape, move to the test network created by geth - the startup method is very simple, you only need to specify a networkid: geth --networkid "12345". Here is the code repository for testrpc, we will talk about it again below.

Next, let’s talk about the available programming languages, and then we can start the real programming. Solidity is the programming language used to write smart contracts.

There are several languages ​​to choose from for writing smart contracts: Solidity, which is somewhat similar to Javascript, has a file extension of .sol. Serpent, which is similar to Python, has a file name ending in .se. There is also a Lisp-like LLL. Serpent has been popular for a while, but now the most popular and stable one is Solidity.So just use Solidity. I heard you like Python? Use Solidity.

solc compiler: After writing the smart contract with Solidity, you need to use solc to compile it. It is a component from a C++ client implementation. Again, different implementations complement each other. Here is how to install it. If you don't want to install solc, you can also use a browser-based compiler, such as Solidity real-time compiler or Cosmo. The programming sections below will assume you have solc installed.

web3.js API. After the Solidity contract is compiled and sent to the network, you can use Ethereum's web3.js JavaScript API to call it and build web applications that can interact with it.

IV What is EOS

Before introducing EOS, we have to talk about the development history of blockchain applications:
Bitcoin is based on blockchain technology The first application, Bitcoin, which represents the blockchain 1.0 era, focuses on the currency attribute;
Ethereum represents the blockchain 2.0 era, which gradually breaks away from the single attribute of currency and focuses more on the application level;
The EOS we are going to introduce next represents the blockchain 3.0 era. So, what are its characteristics and what impact has it brought? Let’s get to the point.
Section 1 The Counterattack of a Frustrated Programmer
Ethereum makes up for the slow transaction processing speed of Bitcoin, but Ethereum is not perfect. Although Ethereum has improved the speed of transaction processing to a certain extent, the improved speed is still far from enough.
The transaction processing speed of the Bitcoin network is 7TPS/S (processing 7 transactions per second), and the transaction processing speed of Ethereum is 35TPS/S (processing 35 transactions per second). In fact, there is not much breakthrough. .
Let’s make a comparison with Alipay. During Double Eleven in 2017, Alipay’s peak processing speed was 256,000 transactions per second. Imagine if all the transactions throughout the day on Double Eleven were put on the Bit Network, then the Bit Network would Dealing with 120 years, by that time whether Alibaba exists will be a question.
So, if the problem of processing speed cannot be solved, the implementation of blockchain technology will be far away.
At this time, EOS came into being.
The founder of EOS is named Daniel Larimer, known as BM.
In the field of blockchain, BM’s status is second only to Satoshi Nakamoto and Buterin, but heroes do not happen overnight. Before founding EOS, BM was plagued by family affairs such as divorce lawsuits. From a decent software The engineer turned into a programmer who was about to go bankrupt.
In 2009,The lonely BM recognized Bitcoin. At that time, Bitcoin had just emerged and existed only in a small circle of technology luminaries.
At that time, BM was also in that circle. He realized that the biggest flaw of the Bitcoin network was that the speed of processing transactions was too slow. Such a slow processing speed could not meet the needs of daily life. In BM’s view, Bitcoin should be as fast as swiping a credit card.
However, BM did not immediately start deploying EOS. Instead, it built a decentralized exchange called BitShares. Bitshares was very successful. BM became famous in one battle and became an industry leader.
In 2015, BM left BitShares and began to develop the Steem blockchain, and developed a content social application - Steemit on this public chain. Steemit does not yet have a Chinese version. Due to language restrictions, domestic users Not very familiar with this platform.
In 2017, BM chose to leave again because he had a more ambitious goal-to develop a blockchain platform similar to an operating system. This large-scale operating platform is called to represent the blockchain 3.0 era. EOS.
We just said that as early as 2009, when BM first came into contact with Bitcoin, he questioned the speed of Bitcoin’s transaction processing. So the biggest problem that his new project EOS needs to solve is to improve The speed of transaction processing,
EOS hopes to reach a processing speed of one million TPS.
In June 2017, EOS token sales began, with plans to sell 1 billion EOS tokens in 355 days. But note that EOS does not have its own mainnet at this time, but is a token based on the Ethereum system. EOS promises to convert this Ethereum basic version token EOS into a token on its main chain after the mainnet goes online.
The community of EOS is very powerful and has many supporters full of hope and belief. Therefore, in just a few days from June 26 to 30, 2017, it sold 2 100 million tokens, raising US$185 million in 5 days, breaking the
world record for ICO at the time. At that time, people believed that the day when blockchain applications would explode on a large scale was just around the corner.
However, the subsequent development of EOS was relatively bumpy.
In June 2018, before the EOS mainnet was launched, the 360 ​​Security Guard team revealed that there were "epic-level" vulnerabilities. There were also some negative news saying that it was an air currency, the founder ran away, etc., which led to EOS Deeply trapped in the whirlpool of public opinion.
In addition, the truly practical blockchain application DAPP has not appeared, and EOS believers have gradually become less calm. With the arrival of a new round of bear market, EOS has become very bleak.
But in any case, compared to Ethereum, EOS has some major upgrades, both in terms of transaction speed and operation management.In terms of its development history, EOS has taken a big step forward.
Many people are now worried about whether EOS will return to zero. We believe that a skinny camel is bigger than a horse, so returning to zero is definitely impossible for the time being.
You must know that since the launch of EOS’s own network, registered accounts have reached more than 600,000. The activity volume and transaction volume of EOS DApp have also surpassed Ethereum, and the TPS of EOS has indeed improved a lot. However, it is now a bear market, and all projects are relatively bleak. Even Bitcoin is not in good shape. Although the bear market is bleak, there are still opportunities. If there is really investment, then you should do a review at this time, summarize your experience, and conduct in-depth research on these once-famous projects, including their technical solutions, operating methods, etc. .
Of course, some people say that the biggest risk of EOS is that BM goes to do other things again.

VI How to use blockchain to solidify, access, and verify evidence to improve the effectiveness of evidence

Using blockchain to solidify, access, and verify evidence can improve evidence effectiveness to prevent evidence from being tampered with or lost. The following are the specific steps:

1. Evidence solidification: record the hash value of the evidence on the blockchain, and use the non-tamperability and decentralization characteristics of the blockchain to ensure the integrity of the evidence sex and authenticity. For example, a public chain or a private chain can be used to solidify evidence. The public chain can better ensure the fairness and transparency of the evidence, while the private chain can better protect the privacy of the evidence.

2. Evidence access: Utilize the distributed storage characteristics of the blockchain to store evidence on multiple nodes to ensure the reliability and durability of the evidence. For example, decentralized storage protocols such as IPFS (InterPlanetary File System) can be used to store evidence, and smart contracts can be used to control access rights to evidence.

3. Evidence verification: Taking advantage of the decentralized and open and transparent features of the blockchain, the authenticity and integrity of the evidence can be easily verified. For example, you can use a blockchain browser to view the hash value or transaction record of the evidence, or you can use smart contracts to verify the authenticity and integrity of the evidence.

It should be noted that the use of blockchain for evidence solidification, access, and verification needs to comply with relevant laws, regulations, and privacy protection principles. At the same time, the security and reliability of the blockchain technology itself need to be considered.

VII How to query the bsc blockchain with a browser

Open the TokenPocket APP, click on the token you want to query on the asset page, and enter the transaction record page. Click on the transaction record you want to query to see the transaction details. Click the browser icon below to enter the BSC block browser. The transaction status, sender, receiver, token contract address, transaction fee and other information will be displayed in the browserserver page.
Binance Smart Chain (BSC) can be described as a blockchain parallel to Binance Chain. Unlike Binance Chain, BSC has smart contract functionality and is compatible with the Ethereum Virtual Machine (EVM). The design goal here is to maintain the high throughput of the full Binance Chain while introducing smart contracts into its ecosystem.

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