LogoLogo
  • 🚀getting started
    • Intro to Data Unions
    • Build a Data Union
      • 1️Installation And Deployment
      • 2️Integration
    • Build a Data Union with Streamr
      • 1️Create A Data Stream
      • 2️Deploy A Data Union With Streamr Core
      • 3️Integrate Data Union & Stream
      • 4️Publish to Streamr Marketplace
    • Glossary of Terms
  • 📚Main Concepts
    • Roles and Responsibilities
      • 🧑‍💻Admin
      • 🤵JoinPart Agents
      • 🙋Member
      • 🧑‍🔧Protocol Beneficiary
    • Join Server
    • Contract Functions
    • Manage Wallets And Earnings
    • Data Union Observation
    • Add Your Own Token
    • Custom Modules
  • 🧐Resources
    • Existing Data Unions
    • Framework Governance
    • Data Unions UX Best Practices
  • ❓Questions?
    • Ask us on Discord
Powered by GitBook
On this page

Was this helpful?

  1. getting started
  2. Build a Data Union with Streamr

Create A Data Stream

PreviousBuild a Data Union with StreamrNextDeploy A Data Union With Streamr Core

Last updated 2 years ago

Was this helpful?

You can create the data stream via the (a UI to create data streams and data unions), creating a stream requires a small amount of MATIC on Polygon Network for gas. Once the stream has been created, you can use the to publish and subscribe to data flowing on the stream.

A data stream is a continuous flow of data coming from the client. Data buyers can subscribe and consume this data stream by paying the fee you set in the data union contract.

Why do I need a data stream?

This will be the gateway for the data. Your users publish their data into this stream via your application and data buyers can subscribe to the stream for the fee you set in the data union contract.

Steps:

  1. Add some MATIC to your wallet (transaction fee will be very low)

  2. Open the and connect your wallet to generate an account

  3. Click the "create stream" at the top right corner and fill out the details

  4. Deploy the stream and pay the transaction fee (MATIC)

  5. It might need a few minutes until your stream shows up in your streams section

🚀
1️
Streamr Core
Streamr Client
Streamr Core
Example of how to deploy a stream