RChain and Hoo: The Arrow Has Already Been on the String

On November 27th, 2021, RChain‘s founder Greg Meredith and blockchain scientist Atticbee were invited as guests to an AMA hosted by the Hoo Exchange. Hoo is a Dubai based innovation driven crypto exchange and has their in-house developed public chain, HSC, built for the global cryptocurrency market. In this session, Greg Meredith and Atticbee shared the latest developments in RChain and remarkable ideas about the future of the blockchain and metaverse.

 The Arrow Has Already Been on the String

 The Arrow Has Already Been on the String

Built as A Coordination Technology, Instead of Payment Platform

According to Greg, RChain focuses on blockchain as a coordination technology to provide a means for global coordination as conditions get more and more severe due to climate change. RChain is designed as a scalable global computer and storage mechanism, rather than a payments system. It is impossible to build a general purpose computer out of a cash register, while to build a cash register out of a general purpose computer is like a walk in the park.

This is the first blockchain that scales linearly. This means that as you add nodes/hardware it gets faster, not slower. The current test data shows that the testnet gets roughly 1,000 tps per node per CPU. So a network of 10 nodes with 10 CPUs each gets 10,000 tps. 20 nodes with 20 CPUs each gets 20,000 tps, etc. Data can be realistically stored, updated, and searched on-chain.

RChain’s smart contract language Rholang, is a concurrent transactional query language, reconciling the best of SQL and NoSQL. It means one can write sophisticated queries to search stored data, which distinguishes itself from systems like IPFS. Smart contracts can be statically checked for concurrency and security errors. So, errors like what caused the DAO bug will be caught at compile time not in deployment. Imagine what would have happened to Ethereum if they had been running at 40K tps when the DAO bug was exploited.

Synergy Between Metaverse and RChain

In the AMA Greg explained his long involvement in the metaverse area. He worked directly with the pioneers of VR/AR, was hired at the research lab where Kim Fairchild did SemNet, by Kim Fairchild himself. He also was the one who suggested to Alan Wexelblat the title Software.

However Greg expressed his concerns about our real world. Yes, the metaverse is hot, but planet Earth is even hotter. In fact, in as little as a decade we are likely to see more than 1.5C temperature rise making the tropical zone uninhabitable, with wet bulb conditions — where the humidity and temperature are so high your sweat cannot cool you off — making it so that people will not even know that they are dying of heat exposure. Unfortunately, about 40% of the world’s population lives in the tropical zone. So, in as little as 10 years, 2.8B people are going to become climate migrants. Unfortunately, those 2.8B people will not be able to move into the metaverse. It won’t be any cooler for the servers running the simulations.

Atticbee later commented that this question needs to be answered: what is the role of blockchain in the metaverse? If metaverse only uses blockchain to trade game props, virtual real estates etc as NFTs, then the current technology may be good enough, at least if the transaction volume is low. However if Metaverse tries to simulate the real world, and uses blockchain as the trustable computing layer, RChain’s computing model is much closer to how the real universe works than the state machine used by virtually all other projects. As Greg Meredith said before, evolution has already picked out the best concurrent computing model, and the sequential Turing machine is never the chosen one.

Also the underlying blockchain technology and the upper layer metaverse will mutually stimulate and evolve. Just like in history – when we only had steam engines, we could only build trains and ships. After we created the combustion engine, we could do cars, airplanes etc. Every tech breakthrough will open new doors for tomorrow’s world. With RChain’s concurrent computing, seamless sharding and on-chain storage, Metaverse will be reshaped by RChain’s breakthrough technology.

Click to Play VS Click to Pay

When asked about RChain’s plan for ecosystem development, Greg answered that RChain focuses on a transaction volume driven route.RChain is looking at applications, such as self-sovereign data, online advertising and sponsorship, and social networks that generate large transaction volumes. The economic argument is simple. Currently, proof-of-work miners are making millions per day. What would make them want to switch proof of stake validators? If you lower transaction costs, you are just going to cut into their profits. If you cut transaction costs by a factor of 100, but raise transaction volume by a factor of 1,000, then they stand to make 10X, and at a fraction of their power consumption. Now, you have a real argument for them to move to proof-of-stake.

Once you understand that transaction volume is where the action is, then you just have to look at the Internet. How many times do you click to pay versus click to “Play”? That is, how many times do you click to post on Instagram or Twitter or WeChat versus to pay a bill or a vendor? How many times do you click to stream on YouTube or Spotify versus to pay someone with PayPal, Venmo or WeChat? It’s hundreds (if not thousands) to one. All the transaction volume is in click to “Play”.

And wherever you play, there are ads. In fact, online advertising is the largest economy in the world. It’s bigger than oil. So, RChain wants to help people make lots and lots of decentralized clicks to play DApps: social networks, streaming services, logistics services, data services, etc. And it wants to stream sponsored content through those decentralized services, but do so in a way that it eliminates surveillance capitalism. It also wants people to have a say as to whether their data is sold and if it is sold and get a cut of the profits.

Migration From Other Public Chains’ Ecosystems to RChain

RChain’s sharding solution allows other chains to be mounted as shards. This means that smart contracts can be written as if other chains were just RChain resources. In this case, for the RChain side, there is a very easy migration.

The biggest stumbling block to migration is the mismatch in the computational model. RChain operates concurrently while most other blockchains operate sequentially. This means other chains cannot handle RChain’s execution demands. RChain execution requests to other chains will queue up and queue up as they process them one at a time.

Of course, going the other way is simple, but it means that RChain has to slow down to match the sequential semantics of the other chains.

Toward a Leaderless Global Computer

RChain has been in mainnet for just under 2 years. Last year it released a major feature: the last finalized state, which means that new validators can synchronize to the chain without having to go all the way back to the genesis block. This year it is releasing a major performance improvement called block merge, that gives the linear scaling. It’s the culmination of Greg’s research of architecture and mathematics in the last 30 years, some of the work can go back to Microsoft’s BizTalk Process Orchestration that Greg worked on 20 years ago.

As Atticbee explained, there exists the following relationships btw “traditional computer” and the blockchain “global computer”:

  • Traditional Computer : Blockchain computer.
  • Multithreading : concurrency of block merge.
  • Multiprocess : sharding (composability).
  • Firewall : on-chain formal verification (behavior type system).

All these 3 parts are necessary for a truly useful global computer. And the computational layer should be carefully chosen so that all these parts can be supported, it means the chosen computational model should support concurrency, composability and a behavior type system.

 The Arrow Has Already Been on the String

Figure: Computational Model Comparisons

Unfortunately that leaves very few choices. From the above table, only Pi or Rho-Calculus can provide all the required features. Rho-Calculus is the upgraded version of Pi-Calculus. With reflection with much more expressive power. It is the first process of calculus suitable as a smart contract language. And Greg Meredith is the founder of Rho-Calculus.

 The Arrow Has Already Been on the String

Figure: The Knowledge Graph of RChain

With the coming “block merge” milestone the multi-threading/concurrency capability will be demonstrated. After that RChain will have a “seamless” sharding solution that makes many shards “look and feel” like one. Finally in the Venus milestone, a behavior type system will be implemented to allow thousands of contracts to safely cooperate with each other. Above that it will be possible to add a smart contract orchestration layer like a decentralized Kubernetes. Without a carefully chosen computational model, all these are impossible and the platform will be locked in as a payment solution, rather than a global computer that can handle a global scale, all-in-one computing infrastructure to serve Web 3.0.

This is a sponsored post. Learn how to reach our audience here. Read disclaimer below.

Publication date: 
11/30/2021 - 14:00
Disclaimer

The views and opinions expressed in this article are solely those of the authors and do not reflect the views of Bitcoin Insider. Every investment and trading move involves risk - this is especially true for cryptocurrencies given their volatility. We strongly advise our readers to conduct their own research when making a decision.