酷我区块链测试
大家好,今天我们来聊聊区块链,这是一个极具潜力的技术,它能够改变我们的生活,让我们的生活更加便捷和安全。关于区块链,我们今天要聊的是酷我区块链测试,它是一种区块链技术,它能够帮助我们更好地了解区块链技术,并且能够更好地应用它。下面,我们就来看看酷我区块链测试的三个关键词:
去中心化:去中心化是区块链的核心理念,它是一种分布式账本技术,它能够将数据和账本分散到多个节点上,每个节点都能够记录交易,这样就不需要中央服务器来记录和管理交易,这样就能够有效地防止数据被篡改,保证数据的安全性和完整性。同时,这也能够有效地减少交易成本,让交易更加便捷和安全。
智能合约:智能合约是一种可以自动执行的代码,它能够让我们更容易地开发和部署应用,而且还能够帮助我们更好地管理我们的应用。智能合约可以更快地完成交易,而且还能够更有效地管理和审计交易,这样就能够有效地减少交易成本,让交易更加安全和可靠。
共识机制:共识机制是一种技术,它能够帮助我们解决分布式系统中的问题,它可以帮助我们更好地确保系统的安全性和可靠性。共识机制可以帮助我们确保网络的安全性,而且还能够有效地防止网络被攻击,从而保护我们的数据安全。同时,共识机制还能够有效地减少交易成本,让交易更加快捷和安全。
以上就是关于酷我区块链测试的三个关键词的介绍,希望大家能够更好地了解区块链技术,并且能够更好地应用它,让我们的生活更加便捷和安全。
请查看相关英文文档
❶ 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.
❷ How to detect the risk level of blockchain smart contracts
With the acceleration of digital transformation in Shanghai, blockchain technology has been widely used in government affairs, finance, logistics, It has been widely used in many fields such as justice. During the application process, not only new business forms and business models have been born, but also many security issues have arisen, so security supervision is particularly important. As one of the important means of supervision, security evaluation has become a focus of many blockchain R&D manufacturers and application companies. This article talks about some of our exploration and practice on the blockchain compliance security assessment that everyone is concerned about.
1. Blockchain technology evaluation
Blockchain technology evaluation is generally divided into functional testing, performance testing and security evaluation.
1. Functional testing
Functional testing is a test of the basic functions supported by the underlying blockchain system, with the purpose of measuring the capabilities of the underlying blockchain system.
Blockchain functional testing is mainly based on GB/T 25000.10-2016 "System and Software Quality Requirements and Evaluation (SQuaRE) Part 10: System and Software Quality Model", GB/T 25000.51-2016 "System and Software Quality" Requirements and Evaluation (SQuaRE) Part 51: Quality Requirements and Testing Details for Ready to Use Software Products (RUSP)" and other standards to verify whether the software under test meets the requirements of relevant test standards.
Blockchain function testing specifically includes networking methods and communication, data storage and transmission, encryption module availability, consensus function and fault tolerance, smart contract function, system management stability, chain stability, privacy protection, and interoperability , account and transaction types, private key management solutions, audit management and other modules.
2. Performance testing
Performance testing is a type of test implemented and executed to describe the performance-related characteristics of the test object and evaluate it. Most of them are used in project acceptance evaluation to verify the established Whether the technical indicators are completed.
Blockchain performance testing specifically includes high-concurrency stress test scenarios, peak impact test scenarios, long-term stable operation test scenarios, query test scenarios and other modules.
3. Security Assessment
Blockchain security assessment mainly conducts security testing and evaluation of account data, cryptography mechanisms, consensus mechanisms, smart contracts, etc.
The main basis for blockchain security evaluation is "DB31/T 1331-2021 General Requirements for Blockchain Technology Security". You can also refer to standards such as "JR/T 0193-2020 Blockchain Technology Financial Application Assessment Rules" and "JR/T 0184-2020 Financial Distributed Ledger Technology Security Specifications" based on actual testing needs.
Blockchain security assessment specifically includes storage, network, computing, consensus mechanism, cryptography mechanism, timing mechanism, personal information protection, networking mechanism, smart contracts, services and access, etc.
2. Blockchain Compliance Security Assessment
Blockchain compliance security assessment generally includes “Blockchain Information Service Security Assessment”, “Network Security Level Protection Assessment” and “Special Funding Projects” "Acceptance Evaluation" three categories.
1. Blockchain information service security assessment
Blockchain information service security assessment is mainly based on the "Blockchain Information Service Management Regulations" issued by the Cyberspace Administration of China on January 10, 2019 (hereinafter referred to as "Regulations") and refer to the national blockchain standard "Blockchain Information Service Security Specification (Draft for Comments)".
The "Regulations" aim to clarify the information security management responsibilities of blockchain information service providers, standardize and promote the healthy development of blockchain technology and related services, avoid blockchain information service security risks, and provide blockchain Provide effective legal basis for the provision, use and management of information services. Article 9 of the "Regulations" states: Blockchain information service providers that develop and launch new products, new applications, and new functions must report to the national and provincial, autonomous region, and municipality Internet Information Offices for security assessment in accordance with relevant regulations.
The "Blockchain Information Service Security Specification" is a construction and preparation project led by the Institute of Information Engineering of the Chinese Academy of Sciences and jointly participated by Zhejiang University, China Electronics Technology Standardization Institute, Shanghai Information Security Evaluation and Certification Center and other units. National standards for evaluating the security capabilities of blockchain information services. The "Blockchain Information Service Security Specification" stipulates the security requirements that blockchain information service providers of alliance chains and private chains should meet, including security technical requirements and security assurance requirements as well as corresponding test and evaluation methods, and is suitable for guiding blockchain Chain information service security assessment and blockchain information service security construction. The security technical requirements and guarantee requirements framework proposed by the standard are as follows:
Figure 1 Blockchain information service security requirements model
2. Network security level protection evaluation
The main basis for network security level protection evaluation includes "GB/T 22239-2019 Basic Requirements for Network Security Level Protection" and "GB/T 28448-2019 Network Security Level Protection Evaluation Requirements".
As an emerging information technology, the application system built by blockchain is also an object of level protection and needs to be evaluated for level protection in accordance with regulations. The general requirements for level protection security evaluation are applicable to the infrastructure part of the blockchain, but currently no specific blockchain requirements are proposed.Some security requirements. Therefore, the expansion requirements for blockchain security evaluation still need to be further explored and studied.
3. Special fund project acceptance evaluation
According to the relevant regulations of the Municipal Economic and Information Technology Commission, information technology special fund projects are required to issue a safety evaluation report during project acceptance. The acceptance evaluation of blockchain application projects will be carried out in accordance with Shanghai’s latest blockchain local standard "DB31/T 1331-2021 General Requirements for Blockchain Technology Security".
3. Exploration and practice of blockchain security assessment
1. Standard preparation
Shanghai Assessment Center actively participates in the preparation of blockchain standards. Led by the Shanghai Evaluation Center, Suzhou Tongji Blockchain Research Institute Co., Ltd., Shanghai Qiyin Information Technology Co., Ltd., Shanghai Moheng Network Technology Co., Ltd., the First Research Institute of Telecommunications Science and Technology and other units participated in the preparation of the blockchain local standard " DB31/T 1331-2021 "General Requirements for Blockchain Technology Security" was officially released in December 2021 and will be officially implemented on March 1 this year. The blockchain national standard "Blockchain Information Service Security Specification", which the Shanghai Assessment Center participated in the preparation of, is in the stage of soliciting opinions.
At the same time, the assessment center also participated in the compilation of primary and intermediate textbooks for blockchain engineering technicians organized by the Ministry of Human Resources and Social Security and led by Tongji University, and was responsible for compiling the chapter "Testing the Blockchain System".
2. Project Practice
In recent years, the Shanghai Assessment Center has conducted a large number of blockchain security assessment practices based on relevant technical standards, including grade protection assessment, information service security assessment, project security assessment, etc. In the evaluation practice, the main security issues discovered are as follows:
Table 1 Blockchain is mainly a security issue
Serial number
Evaluation items
Problem description
1
Consensus Algorithm
The consensus algorithm uses Kafka or Raft consensus and does not support Byzantine fault tolerance or tolerate malicious node behavior.
2
On-chain data
On-chain sensitive information is not encrypted, and all data on the chain can be accessed through the query interface or blockchain browser.
3
Cryptographic Algorithm
The random numbers used in the cryptographic algorithm do not meet the randomness requirements of GB/T 32915-2016.
4
Node Protection
For the alliance chain, security protection measures failed to be configured for the area where the node server is located.
5
Communication transmission
When communicating between nodes, the blockchain and upper-layer applications, no secure information transmission channel has been established.
6
Consensus Algorithm
The number of nodes deployed in the system is small, and sometimes the number of fault-tolerant nodes required by the consensus algorithm is not even reached.
7
Smart Contract
The operation of the smart contract is not monitored, and the smart contract cannot be discovered and dealt with in a timely manner.About problems that arise during operation.
8
Services and Access
Upper-layer applications have access control flaws such as unauthorized and unauthorized access, leading to business confusion and data leakage.
9
Smart Contract
Smart contract coding is not standardized. When an error occurs in the smart contract, the smart contract freezing function is not provided.
10
Smart Contract
The running environment of smart contracts is not isolated from the outside, and there is a risk of external attacks.
3. Tool Application
When the evaluation center organized and compiled the "DB31/T 1331-2021 General Requirements for Blockchain Technology Security", it has considered the connection needs with the graded protection evaluation. The "infrastructure layer" security in DB31/T 1331 is consistent with the relevant requirements of the secure physical environment, secure communication network, security area boundary, secure computing environment, security management center, etc. of level protection, "protocol layer security", "extension layer" "Security" more reflects the unique security protection requirements of the blockchain.
Based on the relevant security requirements of DB31/T 1331, the assessment center is organizing and compiling extended blockchain assessment requirements. The relevant results will be applied to the network security level protection assessment tool - Assessment Expert. By then, evaluation institutions using the "Evaluation Expert" software will be able to carry out blockchain security evaluations accurately, standardly and efficiently, discover blockchain security risks, and put forward corresponding rectification suggestions
❸ They all say open source It is a general trend. What are the open source products of domestic blockchain?
QuLian Technology’s open source products include BitXHub, an open and interoperable cross-chain technology platform, and HyperBench, a comprehensive and powerful blockchain performance testing platform.
BitXHub, as a consortium chain cross-chain platform with high performance, complete authority system, and a rich number of application chains in the industry, was fully open sourced in March 2020 and supports the Shanxi Provincial Public Security Bureau Alliance Chain, People’s Chain, and Xiongan Chain and other core blockchain infrastructure projects have been implemented, and it has participated in the formulation of multiple interoperability standards at home and abroad. It is currently an open source cross-chain platform with great influence in China;
Blockchain performance testing tool HyperBench , fully open sourced in September 2021, is currently adaptable to heterogeneous blockchain platforms such as Quchain Blockchain, Ethereum, Hyperledger Fabric, Open Atomic Super Chain, and China Telecom CT-Chain. It has a wide range of blockchain performance testing tools and has established good ecological cooperative relationships with Zhejiang University, China Telecom, Zhejiang Blockchain Research Institute and other units.
❹ If you want to choose a certain blockchain to output solutions to business problems, how to quickly understand the performance indicators of various blockchains as a reference
You can use Qulian Technology to publish A high-performance, easy-to-use, distributed universal blockchain performance testing platform - HyperBench. As a universal blockchain performance testing solution, HyperBench adapts to a variety of different blockchain platforms. Based on scripts and virtual machines, it can flexibly and quickly build blockchain performance test cases. It adheres to the design concept of efficiency, flexibility, and scalability. Promote the standardization and ease-of-use of blockchain performance testing, promote the development of blockchain technology, and better empower blockchain business.
❺ Is blockchain project testing reliable?
Answer: Blockchain project testing can be reliable, but the testing process and testing methods must also be considered. Explain the reason: As an emerging technology, blockchain technology is receiving more and more attention and applications. The testing of blockchain projects is also a very important part and is a necessary link to ensure the success of the project. Due to the complexity and security of blockchain projects, testing requires a lot of time and energy, and requires very rigorous testing processes and methods. If testers lack the necessary professional skills, make mistakes in the testing process or use improper testing methods, problems and loopholes may easily occur, which may even lead to project failure or losses. Expanded content: Current blockchain project testing faces various challenges and difficulties, such as the emerging new technologies and new application scenarios, the complexity and security of the project itself, and the instability of the test environment. In response to these problems, scientific and reasonable testing methods and tools need to be used to ensure the accuracy and effectiveness of test results, so as to discover and repair defects and loopholes in the project. In addition, testing also needs to work closely with development and operation and maintenance to form an entire testing system to strengthen the integrity and consistency of the testing process and testing strategy.
❻ What is the ranking of Qulian Technology in the blockchain industry
Foreword: With the continuous development of national science and technology in recent years, blockchain technology has also gained It is developing rapidly and is widely used in various fields of our lives. So how does Qulian Technology rank in the entire blockchain field? The editor below will lead you in the analysis.
1. The overall development trend of the blockchain industryGenerally speaking, blockchain-related conferences are held in Beijing, and the results of the first batch of domestic blockchain technology display platform evaluations, It shows that Qulian Technology’s domestic controllable blockchain platform has passed relevant tests. This also shows that the technology of this industry has been recognized by everyone and relevant national technology platforms, which also shows that it has strong development potential and capabilities in this area of the blockchain chain.
2. Specific standards for evaluationSo why is Qulian Technology domestically recognized? In this evaluation, the relevant departments adopted a more stringent blockchain function test indicator system. It uses blockchain performance-related tests and covers various evaluation indicators of communication methods, intelligent identification, and node management, so the test results this time are very scientific. In terms of testing, the relevant departments have adopted standardized testing tools to test the stability of the blockchain platform and the data transmitted by the network, so these capabilities have also been given higher standards.requirements, and in the end Qulian Technology’s domestic controllable blockchain reached this evaluation standard, and achieved very good results in all evaluation institutions, with performance and related data far exceeding that of the same industry. of other platforms.
3. ConclusionQulian Technology’s domestic controllable block chain platform also provides some governance plans in order to support higher types and more encryption mechanisms, and it also Having acceleration capabilities can give users higher privacy protection and data management. Relevant governments or enterprises can better protect themselves through applications in these fields, and also enable communication between various agencies.
❼ Blockchain and smart contracts, Ethereum development, compiled by 183 developers, summary of knowledge system
Available tools, components, patterns and methods for developing applications on Ethereum Platform Guide.
The creation of this list was driven by product managers at ConsenSys who saw a need for better sharing of tools, development patterns, and components between new and experienced blockchain developers.
Develop smart contracts
Smart contract language
Architecture
IDE
Other tools
< p> Test the blockchain networkTest the Ethereum faucet
Front-end Ethereum API
Back-end Ethereum API
Bootstrap/Out-of-the-Box Tools
Ethereum ABI (Application Binary Interface) Tools
Ethereum Client
Storage
Mahuta - IPFS storage service with additional search capabilities, formerly known as IPFS-Store
OrbitDB - decentralized database on top of IPFS
JS IPFS API - Client library for the IPFS HTTP API, implemented in JavaScript
TEMPORAL - Easy-to-use API to IPFS and other distributed/decentralized storage protocols
PINATA - Using The Easiest Way to IPFS
Messaging
Testing Tools
Security Tools
Monitoring
Other Miscellaneous Tools
Chesshire - A native sandbox implementation of the CryptoKitties API and smart contracts, available as a Truffle Box
ERCs - Ethereum Comment Request Repository
ERC-20 - The original token for fungible assets Token Contract
ERC-721 - A token standard for non-fungible assets
ERC-777 - An improved token standard for fungible assets
ERC-918 - Minable Token Standard
Popular Smart Contract Library
Scalability
Payment/State Channels
Plasma
Sidechain
POA Bridge
POA Bridge User Interface
POA Bridge Contract
ZK-SNARK
ZK-STARK
Pre-built UI components
The above content is from the git library:
github.com/ConsenSys/ethereum-developer-tools -list
I am Yuge, a full-stack programmer starting a business in Shenzhen, focusing on blockchain, metaverse and smart contracts, as well as additional small programs and app development.
[Prayer]
- 上一篇: 游戏区块链是什么意思?,游戏区块链项目
- 下一篇: 区块链系统硬件有哪些,区块链系统硬件组成