TrustBase:the “Ferryman” of Polkadot

Through the self-developed lightweight WASM smart contract language Subscript, TrustBase has captured the developer’s “key minority” in the development of the blockchain ecosystem. To realize the vision of Polkadot and Web 3.0, TrustBase provides a powerful weapon that any developers can use easily.

According to PolkaProject statistics, as of January 31, the number of projects established in the Polka Ecosystem has reached 354, covering DeFi, privacy, games, wallets, and variety of fields, and the expansion of the projects is still increasing.

Among them, nearly 1/3 of the projects (114) are based on the Parachain developed by the Polkadot blockchain framework Substrate. As the open-source development framework provided by Polkadot for global blockchain developers, the Substrate framework is undoubtedly the biggest contributor to the formation of the Polkadot ecology.

In the industry of blockchain, there has never been a public chain or project that can quickly unite other projects together like Polkadot, and this is just the beginning.

Substrate: the powerful weapon to achieve Web 3.0

When Gavin Wood showed the world to develop a blockchain in 15 minutes at the 2018 Web3 Summit, people realized that a whole new era had been opened.

Before Substrate was invented, people were doing repetitive things on every blockchain, such as p2p networks, consensus protocols, Merkle trees… These complicated basic design works consumed a lot of energy from developers, it seems hard for blockchain developers spent a lot to do repetitive things.

The Substrate framework modularly encapsulates the basic low-level design of the blockchain. Developers only need “one-click”, which saves the original complicated workload, can greatly improve the efficiency of developers, and pay more attention to the development of business logic.

As the author of the Ethereum Yellow Paper, Gavin Wood not only put the unfinished things of Ethereum into the Substrate framework, but also gave unprecedented functions, which are highly customizable and adaptable, and can be applied in the blockchain development framework.

· Scalability. Isolated blockchains can only process limited traffic, while the blockchain based on Substrate allows transactions to be processed efficiently and in parallel through the mechanism of parachains;

· Specialization. The Substrate framework can build blocks based on specific use cases or applications to create highly customized blockchains;

· Interoperability. Based on the Substrate framework that different blockchains can share information and functions to achieve interoperability and compatibility between chains;

· Non-forking upgrade. The Runtime section of the Substrate framework enables the blockchain to be upgraded without time-consuming and splitting; It can add new functions without transform the network;

· Autonomy. The community can manage its network according to its own wishes and will have transparent rights and interests in the governance of the entire Polkadot network in the future. The team can customize and optimize its blockchain governance according to their own needs, try new ideas or deploy pre-built modules faster.

With the help of the Substrate framework, Gavin Wood opened the era of “one-click chain distribution”, making Polkadot becomes a platform within the blockchain. From this perspective, the positioning of the Substrate framework is similar to Ethereum’s ERC-20 standard-from Ethereum’s “one-click coin issuance” to Polkadot’s “one-click chain issuance”.

From then on, through the “one-click chain” and parachain slot auctions, any developer can create a Polkadot parachain, customize it according to specific use cases or applications, and share the information and functions of Polkadot’s global ecosystem. This is an unprecedented innovation and creation in the history of blockchain development.

Because of this, many developers were interested in Substrate after they came into contact with Substrate, and more and more teams began to actively build a series of applications, and there are currently nearly 1/3 (114) of Polkadot parachains. All projects accepted the Substrate framework, which not only establishes Substrate’s position as the best blockchain construction tool, but also shows that the Pokadot chain ecology based on it has strong vitality in the long-term:

Compatible with support for TEE, hardware trusted modules, and privacy modules, it is convenient for other blockchain engineers to use, develop and rebuild. It can be foreseen that its future development volume will be unprecedentedly huge, and there is even hope to combine artificial intelligence, big data, and the Internet of Things , Cloud computing and other fields, to achieve the integration and landing of the blockchain and the real economy and society.

Polka’s current achievements are only the beginning of the establishment of the entire PolkaProject empire. This also proves Gavin Wood’s view that we are moving towards Web 3.0.

ink!:Language Learning Threshold and Quagmire, Developers is the Key

However, how many people can be the developer in the industry of blockchain.

According to statistics from the Polkadot community, as of January 2021, Polkadot has 356 developers per month. During the same period, the number of Ethereum developers was approximately 2,200. Compared with last year, the number of developers in EOS was 109. 162 people dropped by 31.48%.

If we look further, we will find that the developers of the entire industry are actually a minority group, which limits the rapid development of the industry to a certain extent:

According to the “2019–2020CSDN China Developer Report”, 31% of traditional developers are optimistic about the combination of big data and blockchain, 28% are optimistic about the combination of IoT and blockchain, and 13% are optimistic about the combination of artificial intelligence and blockchain.

However, people who are proficient in big data, Internet of Things, and artificial intelligence development, more than 76% of developers do not understand concepts at all or only understand some. They can not participate in the development of the blockchain industry.

Compared with people who work on Web 2.0, developers work on Web 3.0 are much less than them. Therefore, how to expand the number of developers is not only an urgent matter to strengthen the early ecology, but also is the core of follow-up long-term competition.

Similarly, if Polkadot wants to realize the vision of Web3.0 and eventually become part of the Web3 network, it also needs to conduct long-term and large-scale drainage of the developer community so that more traditional developers can directly use it. In fact, this is not an easy task, because everything in Substrate uses Rust-based ink! Language.

Compared with traditional languages (such as Java and C/C++), the Rust language has a steeper difficulty curve and a higher learning threshold. And ink! Smart contracts currently lack tools to support the development of DApps, and are basically not easy or safe to use. Existing EVM-based applications will be migrated to WASM-based Substrate blockchain tools or applications that are not easy to integrate with Dapp.

Simple language has a higher limit, however, ink! does not have this problem. Based on ink! Substrate is not friendly to traditional developers. It not only cause the competing with Ethereum for the stock of developers, it also did not help Polkadot actively strive more developers from the Web 2.0 social group. This problem has greatly restricted the development of Polkadot’s developer ecology and has become the biggest stumbling block to the realization of the Web3.0 vision.

In the country with the most traditional developers (China), the author collected developer data from the CSDN forum. Java is the most commonly used development language for developers, while Blockchain languages such as Solidity and Rust all account for less than 1%, which shows the follow-up The development and growth of the blockchain world requires a more open ecology, especially the participation of more traditional developers.

Gavin Wood once wrote in “Why We Need Web3.0”: “Web 3.0 is a set of inclusive protocols and the cornerstone of application developers. A new way of programming.”

If this peer-to-peer, serverless network without information flow management authority represents the future, then it must have the ability to accommodate all the basic languages in the world and allow all developers to authorize themselves without access.

Trust Base: Break down developer barriers and be the extraditioner of Polkadot and Web3

In order to solve this problem, it is foolish to overthrow and rebuild the Rust-based Substrate framework, and the launch of TrustBase based on the Substrate framework proposes a new solution based on this consideration:

The lightweight WASM smart contract language Subscript language follows the Typescript grammar, and completes the encapsulation of the Substrate smart contract in Assemblyscript, which can efficiently inter-operate with JavaScript, not only realizes the integration with Dapp, but also supports any developer to quickly start deploying Web3 .0 The capabilities of the network components. And as soon as it debuted, the audience was astonished. In June 2020, in the Charlotte-Wilmersdorf district of Berlin, Germany, the Symon Ho team showed people how to drag and drop the various modules of the Substrate framework with Subscript. Deploying Polkadot’s native smart contracts, the entire operation process is as simple as “the daily work of a traditional Java programmer”.

“Since Subscript is designed for Wasm, it uses strict typing and language checking as a whole, which makes its learning curve very flat. Our goal is to make a Java engineer feel like seeing an old friend when he sees Subscript.”

Because of this, more and more smart contract developers have begun to show strong interest in TrustBase and its Subscript language. TrustBase is also considered by the industry to solve the problem of “helping traditional developers lower the barriers to entry and participate in the Polkadot ecosystem.” At the core of the problem, its ecological development is also in full swing:

· In April 2020, the TrustBase team independently developed a new underlying programming language Subscript, which was tested for half a year to achieve compatibility with the WASM virtual machine;

· In September 2020, TrustBase was selected by the Web3 Foundation Grant program, and its product Subscript officially became the official support project of the Grant program;

· In November 2020, TrustBase began to implement early market plans;

· In January 2021, the TrustBase CC1 testnet went online;

· On February 2, 2022, TrustBase delivered the core library functions of the Subscript language to the Web3 Foundation and will receive the second Grant as planned.

It is committed to provide more lightweight underlying development tools, to help more developers participate in the construction of Polkado, enabling one-click deployment of applications, and forming a powerful ecology of Polkadot-parachain-smart contracts.

Looking back at the actions of the Symon Ho team, the author does not think that TrustBase can be simply regarded as Polkadot’s smart contract platform, because Subscript is empowering traditional developers to support the development of any Web3.0 network components: customized underlying programming based on Subscript Tools, digital assets, smart contracts, DeFi, oracles, which also benefit from its own original features:

· Static grammar checking. Different from TypeScript, which is aimed at dynamic type operating environment, Subscript has strict static syntax checking when compiling, which avoids the dynamic feature that cannot be effectively compiled in advance of TypeScript;

· Multiple access support. When the smart contract interacts with the environment outside the sandbox, the parameters that can be passed are limited to basic integer types. Subscript provides a complete syntax that can be used to define external interface types. Subscript also comes with access to the underlying instruction functions of wasm, providing integer arithmetic, virtual machine stack access, memory loading and other operations.

· Rich library functions. Subscript adds ERC20 compatible, ERC721 compatible contracts, access control contracts, proxy contracts, governance contracts, multi-signature contracts and other common contract library functions to the extended library, and extends the support for string, address, hash and other data types.

· IDE development environment. Subscript uses Subscript workbench to provide developers with a browser-based smart contract integrated development environment (IDE). The workbench is similar to the Ethereum development environment Remix, and comes with the compilation tools needed for wasm smart contract development. DApp developers can synchronize the code in github in the Subscript workbench, create smart contract projects, compile wasm, and publish to the test network. After the development of the smart contract virtual machine is completed, Subscript workbench can also provide online debugging functions for smart contracts similar to Remix. Developers can choose to add breakpoints to the browser source code to debug the compiled wasm code in a single step;

It can be seen that the underlying programming tools based on Subscript have far-reaching significance to Polkadot. With the expansion of Polkadot’s ecology, the entire Polkadot structure will generate many requirements and needs for the underlying tools, and the Subscript language with the above technical characteristics realizes the backward compatibility with Polkadot, enabling customized underlying programming based on Subscript The tool will serve the entire Polkadot ecology and solid the foundation of Web3.0.

In terms of smart contract applications, the Subscript language realizes compatibility with the WASM virtual machine based on the Polkadot Substrate framework. Different from Solidity’s EVM compatibility, the use of Subscript language to develop Polkadot smart contracts will not produce historical baggage similar to the Ethereum smart contract platform.

“Imagine a traditional developer who does not understand consensus algorithms, Merkle trees and other technical problems, but can quickly deploy a smart contract that is better than Ethereum. This is exactly what TrustBase does.” Based on the intelligence developed by TrustBase Contracts and DeFi applications will have no historical burden of EVM compatibility, no unreasonable transaction fees (Gas), no DeFi contract security vulnerabilities caused by the flexibility of Solidity smart contracts, and share the global cross-chain interoperability with the Polkadot ecology Even cross-chain interoperability with Bitcoin and Ethereum public chains.

In summary, TrustBase has the following characteristics:

· Low barriers to technical participation

· Support the development of Web3 network components

· Smart contract application is simpler and more reliable

· High speed of Wasm execution

· Meet diversified customized models

· Shared cross-chain and good interoperability

· No fork upgrade

· Low deployment cost

· Low Gas Fee

Developers are always the most important part of a public chain. If Polkadot has broken the “no connection” between public chains and the Substrate framework has become a powerful tool for Web3.0, then TrustBase tries to make it available to all developers.

The TrustBase parachain can do many things through the Subscript language: underlying programming tools, digital asset issuance, native smart contract deployment, Dapp, DeFi, Dex, etc. Thanks to the support of Subscript development tools, TrustBase’s future ecology will be very rich.

Therefore, it is building influence in the global developer community. In China, according to the official statistics of the Subscript technical community, there are more than 260 people have registered in “Polkadot Developer Training Camp”, which is co-organized by TustBase, Jinse Hackthon and Huobi Polka Ecologicial Fund. Moreover, nearly 100 people continue to study, and this is only the data of the first course.

Just like Gavin Wood’s amazing “one-click chain” at the time, Polkado has the charm and possibility in the Web 3.0 era that any other competitor may not be able to match. It has become a “zone that continues to grow and develop a larger world on its own.” Blockchain Garden of Eden”.

And through the Subscript language, the TrustBase team has made it possible for anyone to use Substrate to open up the world of Web3.0 with Polkadot, almost acting as the “Ferryman ”of Polkadot.

This allows the TrustBase platform to deploy smart contract solutions that support the Polkadot ecology.