Skip to content
The Web3 Stack - Feature Image
Conor Svensson

Published On - February 17, 2022

The Web3 Stack

The tech industry is bursting with stacks, be that the full-stack developer, LAMP, MEAN or Java stacks to name a few. These groups of tools or frameworks, or stacks as you may, are crucial building blocks upon which technology platforms are built using and deployed upon. 
There are no strict rules as to what is defined as a stack, it's simply the sets of technologies you use to support various parts of your organisation. The LAMP stack (Linux, Apache, MySQL, and PHP) is one of the best-known stacks, as it was a key building block adopted by Web2 companies such as Facebook, where each component of this stack has a clearly defined role. In the LAMP stack: 
• Linux is the underlying operating system (or Windows in the case of the lesser-known WAMP stack)
• Apache provides the webserver serving up the web pages
• MySQL provides the data persistence layer
• PHP provides the web application framework encapsulating the business logic and presentation layers 
As the technology landscape has evolved so have the stacks, and in addition to these core web stacks, there are also stacks or applications for application performance monitoring (APM), business intelligence, load balancing, product analytics, machine learning, etc. — the list goes on. 
If we switch our attention to Web3, the notion of a stack is less well defined, which is a testament to how early we are still with respect to the evolution of this technology. Additionally, given decentralisation is a core theme of Web3, one can argue that a Web3 stack should be fully decentralised, which provides some interesting challenges to more traditional stacks. 
Person weighing out their options
If we examine the core application themes as they stand in Web3, they are dominated by:
• Cryptocurrencies and utility tokens
• Non-fungible tokens (NFTs)
• Decentralised finance (DeFi)
• Decentralised Autonomous Organisations (DAOs)
• Decentralised identity (DID)
• Workflow synchronisation 
These are typically making use of the following foundational building blocks, which I think of as the Web3 foundation stack:
• Consensus
• Data availability
• Execution
• Storage
• DApps
• Wallets 
There are additional components, for example, interoperability, layer2s and naming protocols, but they won't be discussed here. 
The distributed ledger or blockchain maintains the state of the application. This is underpinned by a consensus and data availability layer, which are enablers for the core ledger technology, rather than the specific application being built out. The execution layer sits on top of these layers providing the capabilities to actually run applications. 
The logic that runs these applications is embedded in smart contracts which define how the decentralised applications (DApps) themselves run. Wallet technologies may also be used by users to interact with the DApps depending on their specific use case.They may also make use of decentralised storage technologies to store data off-chain in a decentralised manner. 
After this point, the foundation stack ends and more traditional web technologies come into play, as an integration layer is required to bridge DApps to users or other services. This is where front-end integration libraries such Hardhat or Truffle come in, or back-end libraries such as our very own Web3j library
It is here that with the creation of the integration applications that centralisation starts to creep in, as we're now transitioning to an established, traditional stack for the execution of these applications. These applications likely run within virtual machine containers on top of an orchestration platform such as Kubernetes in the cloud. Where this cloud exists in a data centre controlled by the likes of Amazon, Microsoft or Google. Here, new opportunities for decentralisation start to emerge, which is an area that is lesser discussed at present, but will likely become commonplace as the Web3 industry evolves. 
The Web3 Index, provides an interesting snapshot of some of the companies and protocols building out this next iteration of decentralised platform building blocks. Many of these companies have already been running for a number of years in relative obscurity compared with some of the better-known Web3 projects. 
Their areas of focus include decentralised services for:
• APIs (The Graph)
• Permanent storage of data and serverless applications (Arweave)
• Wireless infrastructure (Helium)
• Cloud computing marketplace (Akash)
• Video streaming (Livepeer) 
These types of services will facilitate truly decentralised services and applications. If we consider the integration layer discussed above, using these additional services, one could deploy the services onto Arweave in the case of front-end applications, or run them on cloud services provisioned by Akash in the case of server-side applications which rely on The Graph for querying various blockchain services. Video content could also be streamed using Livepeer and users could access these platforms via wireless infrastructure provided by Helium. 
It will take time for these services to mature, and for winners to emerge, but it really helps to paint a more vivid picture of how Web3 technology is not just about blockchains and tokens, but fully decentralised applications and services that run entirely on decentralised infrastructure as I've outlined here with all of the resiliency features we have become accustomed to with public networks like Ethereum. 
This is another reason why I'm incredibly excited about the potential of Web3 and why when you dig beneath the surface of the dominant technology stacks in existence today, you can see that we're only just getting started. 
If you'd like to dig deeper into what I've discussed here, I encourage you to check out the episode of Web3 Innovator's I did with Doug Petkanics, founder and CEO of Livepeer, the decentralised video streaming network.


Have any questions or comments? We’d love to hear from you! If you want to find out more about blockchain, its growth, and newest developments, then check our blog or listen to our enlightening Blockchain Innovators podcast.
Web3, Dev Stack