Moving Towards web3.0 Using Blockchain as Core Tech

Moving Towards web3.0 Using Blockchain as Core Tech

- in TECH

The invention of Bitcoin and blockchain expertise units the foundations for the subsequent generations of net purposes. The purposes which can run on peer to see community mannequin with current networking and routing protocols. The purposes the place centralized Servers could be out of date and knowledge might be managed by the entity whom it belongs, i.e., the Consumer.

From Net to Net

As everyone knows, Net was static net, and nearly all of the data was static and flat.  The most important shift occurred when user-generated content material turns into mainstream. Initiatives comparable to WordPress, Fb, Twitter, YouTube, and others are nominated as Net websites the place we produce and eat verity of contents comparable to Video, Audio, Pictures, and so on.

The issue, nevertheless, was not the content material; it was the structure. The Centralized nature of Net opens up tons of safety threats, knowledge gathering of malicious function, privateness intrusion and price as properly.

The invention of Bitcoin and profitable use of decentralized, peer to see, safe community opens up the chance to take a step again and redesign the way in which our net works. The blockchain is changing into the spine of the brand new Net, i.e., Net

Historical past of blockchain

The invention of blockchain got here to the mainstream after the increase of the Bitcoin in 2018. Take a look on the graph beneath; Bitcoin was at its peak round $20000.



However the applied sciences that energy the blockchain community shouldn’t be one thing new. These ideas have been researched and developed in the course of the ’90s. Take a look at this timeline.

Blockchain history

The ideas, comparable to proof of labor, peer to see community, public key cryptography and consensus algorithms for distributed computing which powers the blockchain have been researched and developed by varied universities and laptop scientists in the course of the ’90s.

These algorithms and ideas are mature and battle-tested by varied organizations. Satoshi Nakamoto mixed these applied sciences and concepts collectively and constructed a decentralized, immutable, peer to see database primarily used for monetary functions.

Initially, all of us thought that blockchain is appropriate just for cryptocurrencies and never for different purposes. This thought was challenged when Vitalik buterin developed the Etherum cryptocurrency with a brand new Good contract function.

Good contracts modified all the things. The flexibility to code your personal software and run on high of blockchain was the reply to critics who thought that blockchain is just for currencies.

“Cryptocurrency is a small subset of the blockchain, just like the E mail of the web.”

The good contracts open up the wave of latest purposes. The viral recreation cryptokitties showcases blockchain can deal with giant finish purposes comparable to video games.

Good contracts are written in Solidity language and might be executed on Etherum community. The protocol and design of Etherum impressed the engineers to construct an open supply and blockchain agnostic platform to construct decentralized purposes.

DApps protocols

As I’ve talked about earlier, Etherum good contracts have been among the many first such expertise that can be utilized to program the decentralized purposes. The problem was that good contracts have been written by maintaining transactions or cash in thoughts.

Builders want a number of instruments to construct a full-fledged net software comparable to storage (database, information, index, and so on.), message queues or occasion queues to facilitate the communication. Etherum handle these issues by introducing Etherum Swarm and Etherum Whisper initiatives.

Etherum stack

As you may see within the diagram above, With Etherum Good contracts for writing contracts and swarm to retailer information that may be related to contracts. To make the decentralized apps talk with one another, Whisper can be utilized. All of those can run contained in the decentralized browser comparable to Dbrowser.

Swarm is a distributed storage platform for an ethereum stack. The core goal of Swarm is to supply decentralized storage for ethereum public information. Swarm is meant to save lots of the DApps code base and knowledge related to it.

Swarm permits public contributors to pool their storage and bandwidth sources to make the community sturdy and receives a commission in Etherum incentives. Honest deal.

Ethereum whisper, in a nutshell, is a protocol for DApps operating on Etherum blockchain to speak with one another, just like message queues or occasion queues. Whisper offers low-level API’s to help communication between DApps. You may be taught extra about it right here.

Nevertheless, do you sense the restrictions right here? Nicely, the principle problem is that that is completely Etherum agnostic, i.e., all apps are written and run on high of Etherum blockchain. This modification will improve the scale of the chain considerably, and scalability might be a difficulty.

Apart from scalability, adaptability might be a difficulty as properly. We’d like a clean shift from the centralized net to decentralized net. A shift the place plenty don’t want to vary all the things for the sake of the decentralized net.

That is the place our new protocol is available in, known as the IPFS (Interplanetary file system) stack by Protocols labs.

Protocols labs is devoted to constructing the decentralized net which runs in parallel to TCP/IP stack. This may make the shift from current net to net very clean, and much don’t have to make a major change to make use of the online

Right here is the stack.

IPFS Stack

Rings a bell? This stack seems fairly just like TCP/IP protocol layers. Let’s find out about this intimately.

The IPFS stack is split into three important layers:

  1. Networking layer.
  2. Knowledge definition and naming layer.
  3. Knowledge layer.

Let’s find out about every of them intimately.

Networking Layer

One of many core challenges within the decentralized net is the peer to see community and designing the protocols which work in a peer to see community in parallel to the centralized system.

The Libp2p challenge addresses this problem with protocols labs. Libp2p offers the modular stack which one can use to construct peer to see community together with current protocols comparable to WebRTC or any new transport layer protocols. Therefore, Libp2p is transported agnostics.

Options of libp2p:

  • Libp2p is a modular networking stack. You should use all of it or use a part of the stack to construct your software.
  • Libp2p offers transport and peer to see protocols to construct giant, sturdy and scalable community software.
  • Libp2p is transport protocol agnostics. It could work with TCP, UDP, WebRTC, WebSockets, and UDP.
  • Libp2p presents quite a lot of modules comparable to transport interface, discovery, distributed hash lookup, peer discovery, and routing.
  • Libp2p presents built-in encryption to forestall eavesdropping.
  • Libp2p presents built-in roaming options in order that your service can swap networks with none intervention and lack of packets.

Libp2p is the answer upon which the networking layer of peer to see might be constructed.

Knowledge definition and naming layer

Content material addressing via hashes is broadly utilized in a distributed system. We use hash-based content material addressing in Git, cryptocurrencies, and so on. The identical can be utilized in peer to see networking.

IPLD offers a unified namespace for all hash-based protocals. Utilizing IPLD, knowledge might be traversed throughout varied protocols to discover and consider the info unfold throughout peer to see community.

IPNS is a system to create a mutable handle to the contents saved on IPFS. The rationale why they’re mutable as a result of the addresses of the content material change each time the content material modifications.

Knowledge Layer

The topmost layer on this stack is the info layer. Interplanetary file system or IPFS is the peer to see hypermedia protocol. IPFS offers a option to retailer and retrieve the info throughout peer to see community.

IPFS makes use of IPNS and Libp2p to create, title and distribute content material throughout peer to see community.

IPFS peer

Anybody can turn out to be an IPFS peer and begin searching for the content material utilizing hashes. IPFS peer doesn’t have to retailer each knowledge; they solely have to retailer knowledge created by them or the one they’ve searched up to now.

Options of IPFS:

  • IPFS offers peer to see hypermedia protocols for net
  • IPFS can work with current protocols and browsers. This offers a clean transition from centralized net to net
  • IPFS makes use of Libp2p to help peer to see networking.
  • IPFS knowledge is cryptographically safe.
  • IPFS can save tons of bandwidth in streaming providers. For in-depth particulars, learn this white paper.

IPFS is underneath growth, and there are some incredible purposes constructed by builders which are operating on high of the IPFS. One of many purposes of my selection is This can be a decentralized model of YouTube with built-in incentive and reward function offered by Steem blockchain.

IPFS additionally attempting to resolve the inducement problem. We will’t anticipate each individual linked to the web to behave as a peer. With a purpose to present an incentive to those that take part and contribute worth to the community, IPFS has created a coin known as Filecoin which might be paid to friends within the community by the person.


Decentralized net or Net is the longer term. There’s a have to design a sturdy, safe and peer to see community to deal with the difficulty in current net. Etherum and IPFS are main the trail to develop the event suite for builders like us to begin growing core purposes which are wanted to make a clean transition from the prevailing net to decentralized net.

Shahid Shaikh

Shahid Shaikh

Blockchain Engineer. Backend Methods and Integration knowledgeable. Node.js knowledgeable. Revealed creator. Founding father of Codeforgeek.

About the author

Leave a Reply

Your email address will not be published. Required fields are marked *