You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/guides/become-an-operator.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ sidebar_position: 7
6
6
**TL;DR 👨💻 Do these things to become an earning Streamr node Operator:**
7
7
- Deploy an Operator smart contract.
8
8
- Run Streamr node(s) and pair them with your Operator.
9
-
- Stake `DATA` tokens on your Operator and give your node address a few `MATIC`
9
+
- Stake `DATA` tokens on your Operator and give your node address a few `POL`
10
10
- Join Sponsorships through your Operator that will earn you DATA tokens.
11
11
12
12
## Operator setup instructions
@@ -19,7 +19,7 @@ The wallet/account that you use to make the Operator creation transaction will b
19
19
20
20
You'll need to decide on your [owner's cut](../streamr-network/network-roles/operators.md#owners-cut) at the time of your Operator deployment. You'll be able to change this value later on, as long as you unstake from all Sponsorships first. The average cut Operators are choosing appears to be around 10%.
21
21
22
-
You can also practice your Operator deployment in the Polygon Amoy testnet environment with the [Streamr Hub](https://streamr.network/hub) (select "Polygon Amoy testnet" on the Streamr Hub). You'll need Amoy `MATIC` - widely available with [public faucets](https://faucet.polygon.technology/) and you'll need ` TEST` tokens (the Amoy network's worthless `DATA` tokens) - There is a `TEST` token faucet on the [Streamr Discord](https://discord.gg/gZAm8P7hK8).
22
+
You can also practice your Operator deployment in the Polygon Amoy testnet environment with the [Streamr Hub](https://streamr.network/hub) (select "Polygon Amoy testnet" on the Streamr Hub). You'll need Amoy `POL` - widely available with [public faucets](https://faucet.polygon.technology/) and you'll need ` TEST` tokens (the Amoy network's worthless `DATA` tokens) - There is a `TEST` token faucet on the [Streamr Discord](https://discord.gg/gZAm8P7hK8).
23
23
24
24
### Step 2: Run a Streamr node
25
25
Spin up a Streamr node using the **[How to run a Streamr node guide](./how-to-run-streamr-node.md#streamr-node-hardware-recommendations)**.
@@ -56,7 +56,7 @@ The format of your node config file should match [this template](./how-to-run-st
56
56
After any config file change you should restart your node. If you're building your Operator in Amoy (for testing purposes), copy and paste [this config snippet](#amoy-node-config) instead.
57
57
58
58
### Step 4: Fund your Node address
59
-
You’ll need a some `MATIC` (the gas token of Polygon) in your node address since the node(s) will periodically make transactions. 5 to 10 `MATIC` is recommended since the nodes will be making a few transactions per day.
59
+
You’ll need a some `POL` (the gas token of Polygon) in your node address since the node(s) will periodically make transactions. 5 to 10 `POL` is recommended since the nodes will be making a few transactions per day.
60
60
61
61
If the node runs out of gas while they’re a part of an active Sponsorship, then a penalty may be applied to your unclaimed earnings. See [Operator value maintenance](../streamr-network/network-roles/operators.md#operator-maintenance).
62
62
@@ -121,7 +121,7 @@ While the Streamr team provides regular updates on the **#node-announcements** D
121
121
## The Amoy test environment
122
122
The [Streamr Hub](https://streamr.network/hub) is the place to test out your Operator before creating it on Polygon with real tokens, just select "Polygon Amoy testnet" from top-right network selector. You'll need to use the [Amoy node config](./how-to-run-streamr-node.md#amoy-node-config).
123
123
124
-
You'll need Amoy `MATIC` - widely available with [public faucets](https://faucet.polygon.technology/) and you'll need ` TEST` tokens (the Amoy network's worthless `DATA` tokens) - There is a `TEST` token faucet on the [Streamr Discord](https://discord.gg/gZAm8P7hK8).
124
+
You'll need Amoy `POL` - widely available with [public faucets](https://faucet.polygon.technology/) and you'll need ` TEST` tokens (the Amoy network's worthless `DATA` tokens) - There is a `TEST` token faucet on the [Streamr Discord](https://discord.gg/gZAm8P7hK8).
125
125
126
126
## Amoy node config
127
127
Below is the template you can use to override and replace the contents of your config file with. You can copy this snippet or download the [JSON file](../../static/assets/testnet-default.json).
Copy file name to clipboardExpand all lines: docs/docs/guides/how-to-stake-and-earn.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Sponsorships are the source of incentivization. These are visible on [The Hub](h
26
26
### The Amoy test environment
27
27
The [Streamr Hub](https://streamr.network/hub) is the place to test out your Operator before creating it on Polygon with real tokens, just select "Polygon Amoy testnet" from the top-right dropdown.
28
28
29
-
You'll need Amoy `MATIC` - widely available with [public faucets](https://faucet.polygon.technology/) and you'll need ` TEST` tokens (the Amoy network's worthless `DATA` tokens) - There is a `TEST` token faucet on the [Streamr Discord](https://discord.gg/gZAm8P7hK8).
29
+
You'll need Amoy `POL` - widely available with [public faucets](https://faucet.polygon.technology/) and you'll need ` TEST` tokens (the Amoy network's worthless `DATA` tokens) - There is a `TEST` token faucet on the [Streamr Discord](https://discord.gg/gZAm8P7hK8).
30
30
31
31
### Community resources
32
32
- Tutorial videos. Follow at your own risk. Note that version numbers and exact instructions may change over time.
Copy file name to clipboardExpand all lines: docs/docs/guides/nodejs.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,10 @@ This is a quickstart guide on creating your first stream using the Streamr TypeS
8
8
**Prerequisites:**
9
9
- NPM v8 or greater
10
10
- NodeJS 18.13.x or greater (version 20 and later ideally)
11
-
- A small amount of `MATIC` to pay for gas on Polygon mainnet. You can reachout to us on the #dev channel of [Discord](https://discord.gg/gZAm8P7hK8) for some tokens.
11
+
- A small amount of `POL` to pay for gas on Polygon mainnet. You can reachout to us on the #dev channel of [Discord](https://discord.gg/gZAm8P7hK8) for some tokens.
12
12
13
13
:::tip Key Point:
14
-
If you'd like to test out Streamr without needing `MATIC` to pay for stream creation and access control transactions then you can configure any Streamr app or node to be on Polygon Amoy.
14
+
If you'd like to test out Streamr without needing `POL` to pay for stream creation and access control transactions then you can configure any Streamr app or node to be on Polygon Amoy.
15
15
16
16
Note that streams that are registered on one chain, cannot see or interact with streams on another chain (including the stream mentioned in this guide).
17
17
@@ -50,7 +50,7 @@ User identity on Streamr is established via cryptographic keys. An Ethereum acco
50
50
A stream is simply a **sequence of data points in time**, i.e. an append only log. This is semantically equivalent to **topics** in traditional pub/sub networks.
51
51
52
52
```ts
53
-
// Requires MATIC tokens (Polygon blockchain gas token)
53
+
// Requires POL tokens (Polygon blockchain gas token)
By default, the creator of the stream has full read, write and manage permissions over the stream, but if you'd like different addresses or public access controls to read and write (publish and subscribe) to your stream, then you'll need to add these permissions.
79
79
80
80
```ts
81
-
// Requires MATIC tokens (Polygon blockchain gas token)
81
+
// Requires POL tokens (Polygon blockchain gas token)
Copy file name to clipboardExpand all lines: docs/docs/guides/use-any-language-or-device.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ This tutorial will show you how to publish data into the Streamr Network from in
11
11
- NPM v8 or greater
12
12
- NodeJS 18.x or greater (Ideally v20+)
13
13
- MacOS/Linux environments (Windows environments may require minor adjustments)
14
-
- A small amount of `MATIC` to pay for gas on Polygon mainnet. You can reachout to us on the #dev channel of [Discord](https://discord.gg/gZAm8P7hK8) for some tokens.
14
+
- A small amount of `POL` to pay for gas on Polygon mainnet. You can reachout to us on the #dev channel of [Discord](https://discord.gg/gZAm8P7hK8) for some tokens.
15
15
- A MQTT library of your choice (this tutorial uses [MQTT.js](https://www.npmjs.com/package/mqtt))
16
16
17
17
If you have a Helium setup, you may benefit from reading this blog post first, [Helium x Streamr](https://blog.helium.com/helium-x-streamr-ea89c4b61a14)
@@ -67,7 +67,7 @@ $ npm install @streamr/sdk
67
67
Having trouble installing the client? Maybe our [troubleshooting](../usage/sdk/how-to-use#Troubleshooting) section will help.
68
68
69
69
:::note
70
-
Make sure the `PRIVATE_KEY` you add has a small amount of `MATIC` (the native token of the Polygon blockchain) in its wallet to pay for gas to create the stream and make the permission assignment.
70
+
Make sure the `PRIVATE_KEY` you add has a small amount of `POL` (the native token of the Polygon blockchain) in its wallet to pay for gas to create the stream and make the permission assignment.
The Streamr node **needs permission to publish data to your stream**. We will be granting the Streamr node `PUBLISH` and `SUBSCRIBE` permissions on the stream we just created. This step will consume a small amount of `MATIC` tokens.
95
+
The Streamr node **needs permission to publish data to your stream**. We will be granting the Streamr node `PUBLISH` and `SUBSCRIBE` permissions on the stream we just created. This step will consume a small amount of `POL` tokens.
96
96
97
97
:::note
98
98
Take care to not confuse `stream` with `streamr` ;)
Copy file name to clipboardExpand all lines: docs/docs/guides/web-app-frameworks.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ In this quickstart guide, you'll be using Streamr in a **ReactJS** web applicati
10
10
- NPM v8 or greater
11
11
- NodeJS 18.x or greater (Ideally v20+)
12
12
- A basic understanding of ReactJS or NextJS
13
-
- A small amount of `MATIC` to pay for gas on Polygon mainnet. You can reachout to us on the #dev channel of [Discord](https://discord.gg/gZAm8P7hK8) for some tokens.
13
+
- A small amount of `POL` to pay for gas on Polygon mainnet. You can reachout to us on the #dev channel of [Discord](https://discord.gg/gZAm8P7hK8) for some tokens.
Copy file name to clipboardExpand all lines: docs/docs/help/operator-faq.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -140,14 +140,14 @@ Yes.
140
140
#### Can we share private key for 25 nodes? In this case will the Operator recognize 1 node or 25 nodes?
141
141
Node addresses do not equal nodes. In other words, yes, you can share private keys among all your nodes.
142
142
143
-
#### Is there any benefit to having two or more node addresses added to the Operator and managing MATIC balance on multiple wallets instead of having a single node address for all nodes in my fleet?
143
+
#### Is there any benefit to having two or more node addresses added to the Operator and managing POL balance on multiple wallets instead of having a single node address for all nodes in my fleet?
144
144
It is perhaps easier to debug if something goes wrong but there's no other benefits to having multiple addresses for each of your fleet nodes.
145
145
146
146
#### As an Operator, can I generate the node signing key in memory?
147
147
No. The node signing key must be known and persist so that it can be paired with the Operator Contract.
148
148
149
149
#### Which address do I need to fund?
150
-
You need to fund your node address(es) with a small amount of `MATIC` tokens.
150
+
You need to fund your node address(es) with a small amount of `POL` tokens.
151
151
152
152
### Troubleshooting common issues
153
153
#### Issue:
@@ -245,7 +245,7 @@ The delegators will then simply leave and delegate to someone else, as they are
245
245
No, you will need to periodically check and claim your uncollected earnings from the Operator(s) that you have staked/delegated on.
246
246
247
247
#### How does the auto collect earnings work?
248
-
Nodes work on a collection trigger which is based on how much value there is to collect. The limit to decide whether the earnings are collected upon checking is configurable, and this is defined relative to the limit. The default is halfway to the limit, meaning that uncollected earnings are collected when they equal at least 2.5% of Operator stake. If nodes are running and have enough `MATIC` to pay for gas, then the 5% uncollected limit should not be exceeded.
248
+
Nodes work on a collection trigger which is based on how much value there is to collect. The limit to decide whether the earnings are collected upon checking is configurable, and this is defined relative to the limit. The default is halfway to the limit, meaning that uncollected earnings are collected when they equal at least 2.5% of Operator stake. If nodes are running and have enough `POL` to pay for gas, then the 5% uncollected limit should not be exceeded.
Copy file name to clipboardExpand all lines: docs/docs/streamr-network/network-roles/operators.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ The Operator’s cut is the percentage taken by the Operator from all earnings.
75
75
#### Operator uncollected earnings limit
76
76
Operators continuously earn rewards from Sponsorships on every block. For the Operator’s total value to be correctly reflected on-chain, those earnings must be periodically collected to limit the error between the recorded on-chain value and the ‘real-time’ value of the Operator, which constantly changes due to uncollected earnings accumulating.
77
77
78
-
Normally, the node software handles this earnings collection and maintenance of Operator value automatically. The Operator is responsible for ensuring that this happens by ensuring their nodes are running and the wallets of their nodes have enough `MATIC` to pay gas for transactions.
78
+
Normally, the node software handles this earnings collection and maintenance of Operator value automatically. The Operator is responsible for ensuring that this happens by ensuring their nodes are running and the wallets of their nodes have enough `POL` to pay gas for transactions.
79
79
80
80
The uncollected earnings limit has been set to 5% and this value is subject to change by Streamr DAO governance vote.
81
81
@@ -90,7 +90,7 @@ This reward is set to 25% and this value is subject to change by Streamr DAO gov
90
90
Streamr nodes are also the validators in the Streamr Network. They inspect and validate that other nodes in the same [sponsored stream] are doing the work
91
91
If an operator fails completely (all their nodes go offline), they will eventually get flagged in all the sponsorships where they are staked. So yes more Sponsorships means more flagging in this case.
92
92
93
-
If the flags are raised by the random inspection process, it's likely that the flags will be raised evenly by all the other operators, so no one operator's MATIC balance gets a major unexpected drain.
93
+
If the flags are raised by the random inspection process, it's likely that the flags will be raised evenly by all the other operators, so no one operator's POL balance gets a major unexpected drain.
94
94
95
95
By default, nodes inspect each other quite lazily (pick one operator-sponsorship-partition triplet every 15 minutes). However, correctly flagging and voting is profitable, so more 'eager' flaggers might appear in the network, with smarter inspection strategies - for example if a node gets slashed in one sponsorship, it might be worthwhile for someone to inspect them in all their other sponsorships too, and raise flags if the inspection fails.
Copy file name to clipboardExpand all lines: docs/docs/usage/streams/creating-streams.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ sidebar_position: 2
4
4
5
5
# Creating streams
6
6
```ts
7
-
// Requires MATIC tokens (Polygon blockchain gas token)
7
+
// Requires POL tokens (Polygon blockchain gas token)
8
8
const stream =awaitstreamr.createStream({
9
9
id: '/foo/bar',
10
10
});
@@ -15,7 +15,7 @@ console.log(stream.id); // e.g. `0x12345.../foo/bar`
15
15
You can also create a stream by defining the address in the provided id. Please note that the creation will only succeed if you specify the same address as provided for authentication when creating the `streamr` instance:
16
16
17
17
```ts
18
-
// Requires MATIC tokens (Polygon blockchain gas token)
18
+
// Requires POL tokens (Polygon blockchain gas token)
Copy file name to clipboardExpand all lines: docs/docs/usage/streams/partitioning.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ Create new partions if your messages extend approx. 100 msg/sec per partition.
31
31
By default, streams only have 1 partition when they are created. The partition count can be set to any number between 1 and 100. An example of creating a partitioned stream:
32
32
33
33
```ts
34
-
// Requires MATIC tokens (Polygon blockchain gas token)
34
+
// Requires POL tokens (Polygon blockchain gas token)
0 commit comments