
secondary title
Figure: Zhang Huiyong, head of research and development of the ThunderChain open platform
Figure: Zhang Huiyong, head of research and development of the ThunderChain open platform
Zhang Huiyong, head of ThunderChain open platform R&D, took the lead in unveiling the mystery of ThunderChain, and analyzed the original isomorphic multi-chain framework of ThunderChain for developers on site, that is, it has the world's leading million TPS high concurrency and second-level confirmation Processing capacity, how exactly is the Thunder Chain developed?
Why ThunderChain takes one million TPS as the primary goal, Zhang Huiyong made the following answer. As the basic layer service of the Internet, the blockchain is different from the application layer. It can be compared to the DNS service. It needs to have a strong basic ability to transfer money or Taking transactions as an example, the chaining of information or confirmation of information rights will generate more and more information. Only a very large TPS can provide strong support to adapt to more application scenarios. In this way, a large amount of basic information can be Use the blockchain to truly serve the entity enterprise. In order to achieve this goal, ThunderChain has created the isomorphic multi-chain technology. The requests of different users will be divided into different chains. At the same time, it supports parallel expansion, laying a solid foundation for the development of blockchain in the future.
Subsequently, Zhang Huiyong analyzed and explained the choice of PBFT consensus algorithm for ThunderChain. There are two consensus algorithms that developers are familiar with, namely deterministic and random. For commercial-level applications, the application of randomness is not easy to accept, especially in the case of block rollback and fork in the random consensus algorithm. For example, when paying for a transaction on Taobao, the block rollback caused the order to fail , it is definitely unacceptable to users, and the solution may be to place an order again. Obviously, this is a way to damage the user experience. ThunderChain chooses PBFT as the consensus algorithm. The fork does not roll back. Only when these two points are achieved can commercial-level applications be effectively supported.
Aiming at a series of pain points in the current application of blockchain to physical enterprises, such as the lack of professional and technical personnel, high employment costs, and difficulty in adjusting current business processes, etc. Thunderchain not only provides powerful performance support and technical support, but also provides a series of peripheral auxiliary systems, such as transaction order system, Thunderchain File System (TCFS), etc., to facilitate developers to access the blockchain system. It allows enterprises to focus on their own business level and not be occupied by the underlying technology of the blockchain.
secondary title
image description
Figure: Hao Xu, Application Layer R&D Engineer of ThunderChain
With strong performance support, in order to enable developers and enterprises to quickly implement decentralized business applications, ThunderChain provides an open platform for rapid deployment and access to smart contracts. A smart contract is actually a blockchain account with a rough code. Other accounts can send transactions through this account to implement contract calls to change the state variables stored in the contract.
Relying on the underlying leading technology, ThunderChain is currently able to support contract applications required by various business scenarios, and provides various technical support and basic service support behind the scenes, and provides developers and enterprises with query and callback tools for various peripheral auxiliary systems . In Hao Xu's view, business and data in various industries can be uploaded to the chain through smart contracts, thereby solving various trust center problems in the industry.
The bottom layer of ThunderChain is compatible with EVM. Hao Xu recommends that developers use Solidity language to develop smart contracts, and this is one of the most popular languages for contract writing. Influenced by C++, Python and Java languages, the purpose of the design is to be able to machine (EVM). As a statically typed language, it also supports features such as inheritance, libraries, and complex user-defined types.
The Truffle framework is one of the commonly used development methods. It integrates some tools such as deployment, compilation, and localization testing, and can quickly compile, deploy, and debug contract code. In addition to Truffle, you can also quickly implement deployment and invocation through Remix provided by Ethereum, compile the contract directly on the browser, run the contract or debug in the virtual environment. These two tools for developing contracts are very convenient, but there are also some differences. As a framework-level application, Truffle is more conducive to complex engineering contracts. The advantage of Remix is that it supports single-step debugging, and you can see detailed stack content and assembly. code, it is more convenient to deploy simple contracts through Remix.
image description
Figure: Thunderchain technology salon scene
At the salon, Hao Xu analyzed the difficulties in the current application of smart contracts and some solutions and technical explorations of ThunderChain, and what security precautions are there for smart contracts. He believes that since smart contracts are deployed on the blockchain by sending transactions Decentralized applications, this nature determines that once the contract is successfully deployed and invoked, it cannot be rolled back. The saved state and transferred assets in the contract have important value and significance, so if there is a bug in the contract code, it will often have very serious consequences.
secondary title
image description
Figure: Ma Shuangyang, head of Thunderchain development products
Why use DAPP? How to find advantages compared to centralized Internet products? What direction can developers choose? From what scene to cut into? How to do it? How much does it cost? Where are the head resources?
Ma Shuangyang raised a series of questions at the salon to help the developers on the spot to clarify their needs for the underlying technology platform of the blockchain, which requires support in technology, traffic, capital, talents, etc., and these are the current Xunlei Chain platform can provide.
Subsequently, Ma Shuangyang gave four points of view on the current status of DAPP development that developers are most concerned about and the future development trend of decentralized applications:
First, it is gradually driven by investment and shifted to the trend of "investment + utility". At present, most DAPPs have strong investment attributes. In the future, the maturity of DAPP ecology will increase the demand for digital assets.
Second, as the scope of blockchain users expands, just like Internet products, the corresponding applications for different age groups, genders and other user stratifications will increase, not only in asset management and game-related fields.
Third, the increase in demand for usage and the increasing interaction between various DAPPs and blockchain ecosystems will lead to more frequent exchanges between digital assets.
Fourth, from attracting users mainly through investment and speculative gameplay to finding matching scenarios from technological innovation.
Ma Shuangyang believes that compared with traditional centralized application users, there are some difficulties at this stage, such as higher learning costs for users, separation of online and offline scenarios, and underlying performance support issues. Therefore, considering low-frequency scenarios, carry out blockchainization, or prioritize some Urgently needing transparent and consensus-based content to be implemented on the chain is also a choice in direction.
To this end, Thunderchain provides a series of product solutions:
1. Industry solutions + templated contract implementation process = Thunderchain small plug-in, lowering the threshold for developers to transform and access Thunderchain.
2. Optimize the underlying performance and achieve a million-level concurrent processing capability to support phenomenon-level commercial applications.
3. The main functions provided by the open platform: LinkToken exchange, smart contracts, Thunder Chain File System (TCFS), LinkToken Mall.
4. The ThunderChain open platform provides developers with technology, zero cost, traffic, and investment one-stop support policies for blockchain entrepreneurship.
As an offline salon brand created by the ThunderChain open platform, two technical salons will be held in Hangzhou and Hong Kong in October this year, and follow-up will be held in Guangzhou, Shanghai and other cities. Follow the ThunderChain WeChat Official account or official website, you can get the latest information from the technology salon, and continue to pay attention to cutting-edge technologies and hot topics in blockchain-related fields.
I hope that through face-to-face in-depth exchanges with developers, I will show you more development results and thinking of the Thunder Chain, so that developers can keep abreast of the hot developments in blockchain technology, and hope that more technology enthusiasts will join the blockchain industry. In the same industry, we will jointly open the era of the Internet of Value, which will have an impact on all fields of society.