zkJSON: The Next Step in Web3 Evolution by WeaveDB

Olumide Michael
4 min readMar 17, 2024

In today’s digital age, we’re on the brink of a major breakthrough that will change how we handle data online. Web3 is the new frontier, promising a decentralized and secure internet. But to truly harness its power, we need to solve a big puzzle: how do we connect the traditional web (Web2) with this new, blockchain-based web (Web3)? That’s where zkJSON comes into the picture, presented by the innovative minds at WeaveDB.

The Challenge: Web2 Meets Web3

Most of the data online today is stored in a format called JSON. It’s like a simple language that both humans and computers can understand. Blockchains, which are the building blocks of Web3, can’t work with this kind of data unless it’s stored on the blockchain itself. This is because blockchains aren’t designed to handle all the data on the web, and there hasn’t been an easy way to connect them to regular data.

Here’s an example: Imagine you’re trying to buy something online. The website stores information about the product, like its price and description, in JSON format. But if that information isn’t also stored on the blockchain, it is difficult to be sure if it is accurate.

The WeaveDB Solution

zkJSON is WeaveDB’s answer to this problem. It lets you prove that any piece of JSON data is true, without actually revealing the data itself. Imagine showing someone you have a key to a lock, without showing them the key itself!

To make this work, WeaveDB built a special kind of database called zkDB that uses something called zero-knowledge proofs, a kind of cryptographic magic that lets you prove you know something without revealing what it is. It’s designed to be just like the databases we use today but with the extra security of blockchain technology. They even created a way for blockchains to interact with this database, and this is called zkQuery.

Think of zkDB as a secure vault for your data. You can prove that something is in the vault, without actually opening it up and showing everyone what’s inside. This is perfect for situations where you need to keep some information private, but still be able to verify its accuracy.

The Potential of zkJSON

Today, much of the data we interact with online is stored in centralized databases controlled by big companies. This means we have to take their word for it that the information is accurate. zkJSON changes this by allowing anyone to prove that a piece of data is true, without revealing the data itself.

This opens up a whole new world of possibilities. For instance, social media platforms built with zkJSON could be much more secure and user-controlled. Users would own their own data and be able to decide who can see it. This could help to combat the spread of misinformation and fake news online. Additionally, businesses could leverage zkJSON to integrate Web3 technologies while keeping their data private and secure. For example, a company could use zkJSON to verify the identity of a customer without revealing any personal information. This would allow businesses to offer new services and products that are more secure and trustworthy.

But the potential of zkJSON goes even further. Today’s internet is dominated by data silos, which are like walled gardens where information is trapped and controlled by a single entity. This makes it difficult for users to share data and applications across different platforms. zkJSON has the potential to break down these silos and create a more open and interconnected web. By allowing anyone to verify the truthfulness of data, regardless of where it is stored, zkJSON could pave the way for a more collaborative and innovative online environment. In short, zkJSON has the potential to change the way we interact with data online, making it more secure, trustworthy, and accessible for everyone.

What Next?

WeaveDB isn’t stopping with zkJSON and zkDB. They’re also working on something called the WeaveDB Rollup, which will make zkDB even faster and more efficient. This means Web3 apps will be just as fast and easy to use as the ones we use today, but still secure thanks to the blockchain.

Wrapping It Up

WeaveDB is dreaming big, and they want databases to be fair play for everyone, with no single boss. They’re working hard to make sure Web3 apps can run on their own, without needing to lean on the big guys for storage space. Imagine a web that’s safer, open to all, and plays fair — that’s what WeaveDB is after.

Useful resources

--

--

Olumide Michael

Typescript, JavaScript, Python, React.js, Next.js, Solana.