iotexproject / w3bstream

An offchain computing layer for DePIN verifiable data computation, supporting a variety of validity proofs including Zero Knowledge (ZK), Trusted Execution Environments (TEE), and Multi-party Computation (MPC)
https://docs.iotex.io/depin-infra-modules-dim/w3bstream-depin-verification
Apache License 2.0
26 stars 18 forks source link
depin mpc tee validity-proofs zk

W3bstream

Overview

W3bstream is a key Layer-2 solution within the IoTeX ecosystem, designed to support verifiable data processing for Decentralized Physical Infrastructure Networks (DePINs). It operates through a network of Sequencer nodes and Prover nodes.

Workflow

Sequencer nodes assemble received data messages with a “block header” that (among other things) references the previous block of data. Each block of data is mined using a proof-of-work mechanism and is then assigned as a Task to a Prover node that is available for data computation. Sequencer nodes receive rewards in IOTX for the mining activity.

Prover nodes fetch their tasks and process the task data to generate Zero-Knowledge (ZK) proofs, using circuits that are specific to the DePIN project associated with the data. Prover nodes will receive rewards denominated in the token of the DePIN project for which the proof was generated.

The chain of tasks and their ZK-proofs are recorded on the IoTeX blockchain, making them accessible for dApps. The actual data, uniquely referenced by the on-chain tasks, remains available for full off-chain verification.

This architecture ensures secure, reliable, and scalable data processing, allowing DePIN dApps to act on verified real-world facts to trigger blockchain-based incentives.

Running nodes

Note: Joining the W3bstream network as a sequencer or prover node is currently unavailable. Stay tuned for updates in future releases. Follow us on X.

Get Started for Builders

Deploy a simple zk prover to W3bstream →

Build your custom zk prover for W3bstream →

Docker images

Sequencer Node →

Prover Node →

Contract Deployments

smartcontracts/README.md

Contributing

We welcome contributions!

Please read our contributing guidelines and submit pull requests to our GitHub repository.