In the rapidly evolving world of Web3, the concept of modularity is gaining unprecedented momentum. This approach, characterized by its flexibility and scalability, marks a significant shift from the traditional architectures that once dominated the tech landscape. Within this context of change and innovation, KYVE emerges as a pivotal player, offering a fresh perspective on how modular systems can revolutionize blockchain technology and trustless data management.
In this article, we’ll delve into the beginner concepts of it all, understanding modularity’s rise in popularity and KYVE’s impactful role alongside it…
To understand modularity, we need to go back to the previous most common technical structure, called monolithic architecture.
Think of technology like a toy train set. At first, it was like one big train where everything was connected. In more technical terms, this is monolithic architecture. If you need to change something, it affects everything else, similar to changing the entire train set when one part has a problem.
For blockchain development, monolithic architecture creates a lot of roadblocks, especially regarding the blockchain trilemma:
The blockchain trilemma involves achieving a delicate balance between three major components for a successful blockchain: decentralization, security, and scalability. Monolithic chains struggle to maintain this equilibrium due to the complexity of this trilemma, wherein a single, all-encompassing structure handles consensus, smart contracts, and data storage. These chains focus on everything and nothing at the same time, making it difficult to provide high-quality solutions for each of their problems.
For example, achieving scalability becomes cumbersome as the entire network has to be upgraded as a whole, making it difficult to adapt to growing demands efficiently. These issues brought Web3 builders to brainstorm new architectural structures…
In 2018, a new concept arose via a paper by Mustafa Albasan and Vitalik Buterin called “Data Availability Sampling and Fraud Proofs.” Instead of having one big train, they introduced the idea of having multiple small train cars that link together, AKA modular architecture. In this sense, you can change a train car out without messing up the others.
For blockchains, this meant scalability didn’t compromise security or decentralization since not every user (AKA full node or archival node) had to store and process the entire blockchain, and each function could be managed independently by specialized teams. Overall, breaking through the blockchain trilemma.
This concept led to the development of the first modular chains like Cosmos Hub and Celestia. Cosmos Hub, for example, allows different blockchains to work separately yet connect through a central hub, much like separate train cars linking together.
Celestia took a different approach, focusing on separating data availability sampling and consensus from settlement and execution, further enhancing the modularity and efficiency of blockchain architectural designs.
In summary, the shift from monolithic to modular architecture in blockchain enables systems to be easier to manage, more secure, and adaptable, paving the way for more scalable and flexible development.
In the context of modular blockchain architecture, the system is often divided into distinct layers, each with its specific function:
Together, these layers form the backbone of a modular blockchain system, each with a distinct yet interconnected role, ensuring the blockchain’s functionality, security, and integrity. More layers can be added or exchanged depending on a blockchain’s needs.
The idea for KYVE came about in early 2021 from co-founders Fabian and John participating in a bounty to bridge Polkadot data to Arweave, a permanent data storage solution. After building the necessary tool, they realized that if it were more decentralized and built out, it could apply to other blockchains and, in turn, aid historical data validation and management for all in Web3.
The Cosmos SDK was the perfect base for building KYVE. By easily customizing already existing modules, it was possible to focus heavily on building out the validation protocol itself. You can imagine KYVE as a middleware that sits in between a data source and data storage or availability layers like Arweave, ensuring that all data that developers build with is truly correct.
The protocol is made up of data pools, each pertaining to a specific data set, like Cosmos Hub blocks. Each data pool has up to 50 validators, one of which is randomly selected to fetch the bundle (batch of blocks) from chains like Cosmos Hub and upload it onto data storage or availability platforms like Arweave. From there, the other validators cross-verify if the bundle matches what they fetched as well from a different data source. If the validators reach quorum with the majority saying that the data is correct, then that bundle is deemed valid and kept track of by KYVE’s data lake for anyone to source from.
After launching its mainnet in March 2023, KYVE has been providing its trustless data validation protocol for chains like Cosmos Hub, Cronos, Osmosis, Axelar, and Archway. With KYVE being modular, it can easily be plugged into other PoS chains, like Polkadot, Avalanche, Ethereum, and others, to ensure a trustless backup of their historical data. As KYVE archives and validates other blockchains from Genesis, more historical data is being made available to the public, making Web3 data a trustless public good.
KYVE also contributes to modular innovation by ensuring that the actual connection between modular chains is made trustless. If you go modular, it’s key that the traffic between the modules is secure and streamlined in a decentralized way. Like how the internet has a seamless connection to computers, KYVE can validate all the data traffic between modular chains in a trustless way.
With Web3 leading the way for the next generation of the internet, bringing on decentralization and faster building opportunities, modular chains are an easy next step in the course of its evolution, overall enhancing scalability and efficiency.
The modular spirit heavily promotes standardization of communication between chains, code reusability, and overall collaboration for the betterment of Web3. This also means that when building your own blockchain, you can go modular and simply assemble the modular chains that your concept needs so that you can focus on building the exact part that makes your solution so special!
Real-World Applications
Modular chains are not just theory; they’re already in use. For example, Cosmos Hub, KYVE, and Celestia. Other blockchains are also shifting towards modularity, such as:
Although brought to light in 2018, modular chains are taking a strong stance in the top 2024 Web3 trends, inspiring new innovations and ecosystems.
The shift towards a modular approach marks a significant evolution in blockchain technology. Steering away from monolithic structures, the modular architecture introduces enhanced flexibility, scalability, and security. Ultimately providing solutions for the blockchain trilemma and increasing overall opportunity for lasting innovation.
Developers are already working on making modular chains even more efficient, secure, and builder-friendly; and even adapting already established chains to fit this new structure. For example, KYVE aiding modular scalability and ensuring the decentralization of historical data from the Genesis of a chain.
It’s safe to say the future of modular blockchains in Web3 looks bright.
The Rollup is an educational hub acting as a public good that has addressed the need for reliable and accessible information in the rapidly evolving world of DeFi. With 4 years of experience in crypto education, attending conferences, and producing content The Rollup team is well-versed in creating foolproof education and doing deep dives with technical and non-technical builders.
Resources: Sourced from Volt Capital. Can also check The RollUp’s latest interview with Nick White from Celestia.
Main Blog Author: Margaux, KYVE Head of Marketing