top of page
Writer's pictureJeremy Britton

Real-time decentralised on-chain data reliability

Introduction to Streamr

In a world where data is the new oil, Streamr emerges as a powerful platform that empowers individuals and businesses to trade and use data in real time. Built on blockchain technology, Streamr aims to decentralize data sharing and ensure privacy and ownership for data producers. If you're new to the concept, this guide will walk you through the basics of Streamr and its native cryptocurrency, the DATA token.


What is Streamr?

Streamr is a decentralized platform designed for the exchange and monetization of real-time data. It allows data producers and consumers to connect directly without intermediaries, fostering a more open and fair data economy. Streamr's infrastructure is built on Ethereum, leveraging the security and transparency of blockchain technology.


Key Features of Streamr

  1. Real-Time Data: Streamr focuses on real-time data streams, making it suitable for applications that require up-to-the-second information, such as IoT (Internet of Things) devices, financial markets, and smart cities.

  2. Decentralization: Unlike traditional data platforms, Streamr operates without a central authority. This decentralization ensures that data producers maintain control and ownership over their data.

  3. Privacy and Security: Data on Streamr is encrypted and secure, giving users peace of mind that their information is protected from unauthorized access.

  4. Marketplaces: Streamr features data marketplaces where users can buy and sell data streams. This democratizes access to data and creates new revenue opportunities for data producers.


What problem does Streamr solve?

As our connected world creates and consumes more and more data, it has not been possible to connect the billions of devices worldwide with real-time data via a decentralised network. Meanwhile, today's existing centralised services are subject to a single point of failure and vendor lock in.


Streamr solves these problems by delivering a low latency and secure decentralised broadcast messaging protocol - via a peer-to-peer (P2P) network architecture. Thanks to this P2P architecture, the network is fault tolerant, resilient to malicious attacks, and scales in line with the growth of the network, which allows for scalable, many-to-many real-time data pipelines.


What is the DATA Token?

The DATA token (DTA) is the native cryptocurrency of the Streamr network. It plays a crucial role in the platform's ecosystem, facilitating transactions and incentivizing participation.


Functions of the DATA Token

  1. Payment for Data Streams: Consumers use DATA tokens to purchase data streams from producers on the Streamr marketplace.

  2. Incentives for Node Operators: The network relies on nodes to relay and validate data streams. Node operators are rewarded with DATA tokens for their services, ensuring the network remains robust and efficient.

  3. Governance: Holders of DATA tokens have a say in the platform's governance, allowing them to vote on proposals and influence the project's future direction.


Why the Streamr Network needs token economics

In the Streamr Network, both data publishers and subscribers are nodes in a peer-to-peer network. Nodes involved in a stream of data connect to each other in a certain way – forming the stream’s topology – to perform the main function of the Streamr Network: the dissemination of messages published to that stream.

So every node that joins a stream both consumes data in that stream AND helps relay it onwards to other nodes that are interested in the stream in a peer-to-peer configuration. Since everyone who uses resources also contributes resources back to the network, can’t the system work without any token incentives, based on reciprocity alone?

Under perfect conditions, perhaps, yes, but the real world is far from perfect. In practice, the reliability of message passing is reduced by the following


  • Churn – Nodes joining and leaving the stream can add instability to the topology, which could disrupt message flow

  • Free riders – In a decentralized network, there’s no way to enforce honest behaviour. Some nodes might selfishly consume messages but refuse to propagate them onwards

  • Malicious nodes – Some nodes may intentionally try to disrupt the network

  • Node failures – Nodes can crash, run out of memory, get overwhelmed with data, get disconnected, experience packet loss, etc.


So, very roughly, what determines the quality of service in a stream’s topology is the ratio of honest, stable nodes vs. nodes that perform questionably. If your use-case needs honest, stable nodes to make your data flows more robust, how do you incentivise good nodes to join? Well, you pay them. This forms the basis of the token economics (tokenomics).


Traditional software products often have freemium and paid plans. Decentralized protocols usually have more of a grayscale spectrum due to being subject to true market conditions – you pay more for better service. Gas price on Ethereum is a good example: you bid a higher gas price to incentivise miners to execute your transaction faster. A similar economy is at play on Streamr: you pay less (or even nothing) if you’re happy with the best-effort performance, while you can pay to incentivise nodes to make your stream more robust and secure.


For clarity, the Streamr Network tokenomics should not be confused with the transactions happening on the Streamr Hub. On the Network, people pay for infrastructure costs; for data delivery. On The Hub, people pay for access to data content. Here’s an analogy: when you order an item from an online store, someone (either you or the store) pays the postal service for package delivery. You also pay the online store for the item you ordered, or the package content. Note that you can very well use the Network for data delivery without using The Hub at all, just like you can send and receive packages without ordering stuff from online stores.


The roles in the Streamr tokenomics

Publishers and Subscribers are already familiar roles in the Streamr Network. These roles are only related to the data flows in the network, meaning these roles could be seen as being one layer ‘below’ the tokenomics. In the below diagrams, data flows are shown in blue.


The introduction of token economics defines three new roles: Sponsor, Operator, and Delegator. These roles use DATA tokens to participate in the incentive mechanisms, and those value flows are shown in the diagrams below in orange.


It should be noted that the roles are independent of each other and can be mixed and matched by all actors depending on their goals, for example, the same person could be a Sponsor, Publisher, and a Delegator.



Publisher

A Publisher is simply a node through which certain data enters the network. The data usually originates in an adjacent application that interfaces with the Publisher node, with the goal of delivering that data to Subscribers via the network. Publisher nodes relay the messages to other nodes they are connected to.


Subscriber

A Subscriber is a node in the network that wants to receive messages from a stream. Just like Publishers, they also relay the messages to other nodes they are connected to. Subscribers may have a range of different motivations for joining a stream – there could be an adjacent application that wants the data, they could be Operators who mine the stream by becoming Subscribers (see below), or they may even want to help the stream simply for charitable reasons.

Wanting better service for the stream, a sponsor deploys and funds a Sponsorship in $DATA


Sponsor

Sponsors pay to secure the operation of a stream. They pay DATA tokens into a smart contract called a Sponsorship. Essentially, the Sponsor says “I want to spend X amount of DATA tokens over a period of time T to improve stream S”. The Sponsorship contract releases the funds over time to Operators who are mining the Sponsorship (see below to learn about Operators). It should be noted that a stream can have many Sponsors, and they could be anyone at all, including the Publisher(s), Subscribers, or a third party.


Streamr Node

Streamr nodes are the miners in the Streamr Network. They are nodes that constantly monitor which Sponsorships are available – Sponsorships are smart contracts on the public blockchain, so they are visible to everyone. Streamr nodes choose the Sponsorships they want to start mining, stake DATA on them, and become Subscribers in the related streams. The promise of the Operator is: “I am an honest and stable node, and I’ll join the stream topologies to help stabilise and secure them”. Operators don’t subscribe to a stream because they’re interested in the data, they join because they want to earn a share of the DATA tokens flowing through a Sponsorship. The Operator can claim their rewards periodically to withdraw earned tokens from the Sponsorship contract.


Operators are expected to be honest, following the protocol rule of properly forwarding messages to other connected nodes. They are also expected to be stable, with good uptime along with sufficient bandwidth and hardware resources to handle the traffic of the stream. If they fail to meet these standards, they could be kicked out of the Sponsorship and their stake could be slashed.


The amount of DATA tokens the Operator stakes on the Sponsorship determines the size of their share of the token flow. The Operator will generally stake on Sponsorships where they can earn the best available yield for their stake. Other Operators in a Sponsorship are there to share the cake, so overcrowded Sponsorships may not offer the best yields, and some Operators will decide to mine other Sponsorships instead. Like any open market, the market of servicing Sponsorships will always gravitate towards achieving equilibrium between supply and demand.

Delegators can help Operators join more streams and earn yield on their stake


Delegator

Delegators are DATA token holders who don’t want to do mining themselves, but would rather earn on their tokens by supplying liquidity to Operators. In exchange, they earn a share of the Operator’s rewards. Since Operators need to stake tokens to mine Sponsorships, having access to tokens from Delegators enables them to earn more from Sponsorships, creating a win-win situation.

Delegators select Operators to stake on and deposit tokens into the Operator’s Stake Pool smart contract. The funds in the pool can then be used by the Operator for staking on Sponsorships.


Observability and free riding

While the above processes and roles may seem quite straightforward, one of the key challenges is preventing Operators who don’t do the work (of joining the stream’s topology and relaying messages to connected peers) from earning Sponsorships.


Since the Operators place a stake on the Sponsorships, they could be slashed for not doing the work. The problem is proving to the smart contract that a particular Operator did not do the work or otherwise live up to its promises. There’s limited observability in the network, as only the peers connected to a node really know what the node is up to.


On the other hand, only the tracker knows which nodes are connected to each other. By combining attestations from a Operator’s peers as well as the tracker, it could be shown with reasonable confidence that a Operator did/didn’t fulfill the requirements of servicing the Sponsorship – potentially leading to slashing the Operator or at least kicking them out of the Sponsorship.


To avoid being slashed, Operators will need to ensure that their node is connectable and up to the challenge of distributing data on the sponsored stream. Running redundant nodes is an excellent way to protect yourself against slashing.


Delegators are also at risk of losing value if they delegate to unreliable Operators.


Nodes regularly spot test each other in Sponsorships, and raise flags if they think another Operator is not online and doing the work. A flag stake is placed to back up the claim. A number of reviewers are selected to validate the flag by also testing the flagged Operator and voting. The flagger loses the flag stake due to a false flag when the majority of flag reviewers vote that the flagged Operator is actually fine, and the flag was therefore deemed invalid. See node inspections for more information on the node flagging process and parameters.


As you probably realize by now, this is pretty complex. As is usually the case with decentralized systems, nothing is foolproof and every such system has some conditions under which it fails or becomes less reliable. Understanding those conditions well is the key to establishing what parameters work in the real world and what guarantees can be given about the system in practice. And indeed, much of the remaining work is exactly in this area.


Real-World Use Cases

Streamr's technology has a wide range of applications across different industries:

  1. IoT: Devices can share real-time data on the Streamr network, enabling more efficient and responsive IoT systems.

  2. Financial Markets: Traders can access real-time market data streams to make informed decisions.

  3. Smart Cities: Streamr can power smart city initiatives by providing real-time data for traffic management, environmental monitoring, and public safety.

  4. Healthcare: Real-time health data can be securely shared between patients, doctors, and researchers, improving patient outcomes and accelerating medical research.


Streamr and the DATA token represent a new paradigm in data sharing and monetization. By leveraging blockchain technology, Streamr provides a secure, decentralized, and efficient platform for real-time data exchange. Whether you're a data producer looking to monetize your information or a consumer seeking valuable data streams, Streamr offers a powerful solution that aligns with the principles of privacy and ownership. As the world becomes increasingly data-driven, platforms like Streamr will play a pivotal role in shaping the future of the data economy.


How to Get Started with Streamr and DATA Tokens

Step 1: Set Up a Wallet

To interact with the Streamr network, you'll need a cryptocurrency wallet that supports ERC-20 tokens (the standard for tokens on the Ethereum blockchain). Popular options include MetaMask, MyEtherWallet, and Trust Wallet.


Step 2: Acquire DATA Tokens

You can acquire DATA tokens from various cryptocurrency exchanges, such as

a. Binance, You can purchase DATA on Binance using your mobile phone or desktop. You only need to follow the step as instructed. You can also receive a 25% discount on trading fees using Binance Coin (BNB) instead of cash. Use this link for a bonus 10% discount.

b. KuCoin,

c. Uniswap.

Once purchased, transfer the tokens to your wallet.


Step 3: Explore the Streamr Marketplace

Visit the Streamr marketplace to browse available data streams. Here, you can purchase data using your DATA tokens or list your own data streams for sale.


Step 4: Run a Node

If you have technical expertise, consider running a Streamr node. This involves setting up software to relay and validate data streams. In return, you'll earn DATA tokens as rewards.


Tips:

1. Get free crypto by browsing the internet: use Brave Browser instead of Edge or Chrome, block ads, and earn free crypto by browsing. Click here to start.


 2. Get free crypto by paying your bills! Use the prepaid CRO Visa debit card to pay for purchases and receive 3% cash back on purchases, up to 100% rebate for streaming services. No account fees, no interest charges, no credit checks. Use this link to get a free US$25 when you open an account.


3. OKX, you can purchase cryptocurrencies using this link to sign up and get a 10% discount on trading fees.


4. For the Aussies: Coinstash is an Australian crypto exchange based in Brisbane. New users can get $10 free on signup using this link


5. After you purchase any cryptocurrencies, if you would like to store the coins in offline cold storage devices for safety, you can use Ledger


6. Independent Reserve -- one of Australia's oldest and best value crypto exchanges, since 2013 


7. If you have a business and would like to accept payments in Bitcoin or crypto, click here -- fees from 1% (less than credit card or PayPal)


Congratulations on educating yourself about this crypto project through Cryllionaire.com. We also profile a few coin projects, CEO interviews, and group chats on our YouTube channel. 


If you find investing on your own to be difficult or time-consuming, we have you covered! Bostoncoin is a "done for you" diversified crypto fund where you can easily invest in 30-40 coins. A professional hedge fund manager manages the investment, so you can handle your busy lifestyle. Join the community and find out more at www.BostonTrading.co

Comments


Single post: Blog_Single_Post_Widget
bottom of page