Sequencer Options
This documentation is currently being updated. Please check back later for the latest version.
Overview
The default DePIN configuration provided with the W3bstream release offers the essential stack needed to stream data messages from a DePIN device and process them in W3bstream, generating a validity proof that can be written and verified on-chain.
The Sequencer service provided in this configuration is a reference implementation for a DePIN data sequencer, supporting both ioID and W3bstream. While suitable for development purposes, this demo service however is best used as a reference or starting point for your own sequencer implementation.
Below, we explore some configuration options for the data sequencer that can be useful during development of your W3bstream project.
Data Aggregation
In a DePIN application, the data sequencer, whether centralized or decentralized, typically authenticates devices, validates, filters, and sorts their data. Each data message processed by the Sequencer is usually appended to a W3bstream Task until the expected "aggregation value" is reached. In the provided demo sequencer, the default aggregation value is set to 1
, meaning each message sent to the sequencer is immediately wrapped in a W3bstream Task, stored in the Postgres DB, and fetched by W3bstream for processing.
You can change the data aggregation amount in the Sequencer configuration of docker-compose.yaml
like shown below:
Last updated