> For the complete documentation index, see [llms.txt](https://jackieluong.gitbook.io/untitled/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jackieluong.gitbook.io/untitled/testnet-running/streamr.md).

# ✨Streamr

## Streamr node

The 1.0 incentivized testnet events will run from November, 2023 till January, 2024.

### Streamr 1.0 Testnets <a href="#streamr-1.0-testnets" id="streamr-1.0-testnets"></a>

System: Ubuntu 22.04 or 20.04 , Port: **32200**

### Server preparation <a href="#server-preparation" id="server-preparation"></a>

sudo apt update && apt upgrade -y​sudo apt install git curl -y​sudo apt install make clang pkg-config libssl-dev build-essential -y

### Install Docker <a href="#install-docker" id="install-docker"></a>

sudo apt install curl -y && curl -sO <https://nodesync.top/docker\\_install> && chmod +x docker\_install && bash docker\_install

### Wallet <a href="#wallet" id="wallet"></a>

1. 1.**( Metamask Wallet ) -> Create new Wallet, Save wallet address and private key** -> **(note 01)**
2. 2.Your **wallet address** need >=**1** token MATIC on **Polygon Mainnet** and >= **0.2** token MATIC on **Polygon Mumbai**
3. 3.Faucet **token TEST** for your **wallet address** on Discord: <https://discord.gg/gZAm8P7hK8>​

![](https://1762590765-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRzXvi3emVKzTi94K7StD%2Fuploads%2F1gSBwHYr7a4OwZMv4ydL%2Fstream_faucet.PNG?alt=media\&token=df82a73d-c991-4ce7-90bb-79731b6f3000)

### Deploy your Operator Contract <a href="#step-1-deploy-your-operator-contract" id="step-1-deploy-your-operator-contract"></a>

Login wallet on **Polygon Mumbai**, Go the the [**Mumbai Streamr Hub**](https://mumbai.streamr.network/hub/network/operators?tab=all) ->Click **Become an OperatorInput your info,** read more: <https://docs.streamr.network/guides/become-an-operator>​​![](https://1762590765-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRzXvi3emVKzTi94K7StD%2Fuploads%2F89ikpWtnWOUptp6ztBzR%2Fstreamr-operator.PNG?alt=media\&token=4518bac6-c805-41e9-904d-cfcb774fa9dc)

**After Become an Operator, You "Search" Your Name Operator or View my Operator**![](https://1762590765-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRzXvi3emVKzTi94K7StD%2Fuploads%2Fo3DMZWKZsVVgAPaPcDrt%2Foperator_search_streamr.PNG?alt=media\&token=f350070c-4c75-4e18-91e0-ff5860a89f38)

**Copy Your Operator Address and Note 02**

![](https://1762590765-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRzXvi3emVKzTi94K7StD%2Fuploads%2F9yJujSQhPS4xGRYVhge9%2Foperator_address_streamr.PNG?alt=media\&token=79e0b39c-2877-4dc7-9dfa-e263ea8756ff)

Scroll down on your Operator page and find the "**Operator's node addresses**" section. Click the "**Add node address**" button, paste in the **wallet address** . Then don't forget to click the **Save** button

![](https://1762590765-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRzXvi3emVKzTi94K7StD%2Fuploads%2FivW3J2ETEOTUnzje2nQX%2Foperator_add_node.PNG?alt=media\&token=ddc33026-8eee-4ff6-85db-02f1c63682e3)

**Now, you need note: (node 03)**

1. 1.Private key (find note 01)
2. 2.Your Operator Address (find note 02)

### Run the config wizard to create and configure your Streamr node <a href="#run-the-config-wizard-to-create-and-configure-your-streamr-node" id="run-the-config-wizard-to-create-and-configure-your-streamr-node"></a>

mkdir \~/.streamrDockersudo chmod -R 777 \~/.streamrDocker/sudo docker run -it -v $(cd \~/.streamrDocker && pwd):/home/streamr/.streamr streamr/broker-node:v100.0.0-pretestnet.6 bin/config-wizard

![](https://1762590765-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRzXvi3emVKzTi94K7StD%2Fuploads%2FHJlLCKFQ07vuxmbl0wyE%2Fstreamr_01.PNG?alt=media\&token=f1182491-cefc-4438-897a-fd47615a5945)

Choose **Import** + enter

​![](https://1762590765-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRzXvi3emVKzTi94K7StD%2Fuploads%2FTTWskw5Qtk8nqKQcC78d%2Fstreamr_02.PNG?alt=media\&token=46d04811-e6ee-44f9-b8ad-2ad12923e6c0)

Paste your **Private key** +enter (find node 01)

![](https://1762590765-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRzXvi3emVKzTi94K7StD%2Fuploads%2F8I8kzWFmGscQW2uCpTsE%2Fstreamr_03.PNG?alt=media\&token=e98c2c36-511e-41b5-bff7-09ed3e38afc0)

Choose **http** + enter -> next enterAnd you can see result:

![](https://1762590765-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRzXvi3emVKzTi94K7StD%2Fuploads%2FxC3KIIkMqhCsxfCsg30w%2Fstreamr_04.PNG?alt=media\&token=433ce9dc-3bcc-4b4e-a761-448d5716a64f)

### Final config your Streamr node <a href="#final-config-your-streamr-node" id="final-config-your-streamr-node"></a>

rm -rf \~/.streamrDocker/config/default.jsonnano \~/.streamrDocker/config/default.jsonPaste config file bellow, you need change 2 yourinfo. ( Find **node 03**)

1. 1.NODE\_**PRIVATE\_KEY**
2. 2.YOUR\_OPERATOR\_CONTRACT\_ADDRES

{"client": {"metrics": false,"auth": {"privateKey": "NODE\_PRIVATE\_KEY"},"network": {"controlLayer": {"entryPoints": \[{"id": "e1","websocket": {"host": "entrypoint-1.streamr.network","port": 40401,"tls": true}},{"id": "e2","websocket": {"host": "entrypoint-2.streamr.network","port": 40401,"tls": true}}]}},"contracts": {"streamRegistryChainAddress": "0x4F0779292bd0aB33B9EBC1DBE8e0868f3940E3F2","streamStorageRegistryChainAddress": "0xA5a2298c9b48C08DaBF5D76727620d898FD2BEc1","storageNodeRegistryChainAddress": "0xE6D449A7Ef200C0e50418c56F84079B9fe625199","mainChainRPCs": {"name": "mumbai","chainId": 80001,"rpcs": \[{"url": "[https://rpc-mumbai.maticvigil.com"}\]},"streamRegistryChainRPCs](https://jackieluong.gitbook.io/untitled/testnet-running/https:/rpc-mumbai.maticvigil.com"}]},"streamRegistryChainRPCs)": {"name": "mumbai","chainId": 80001,"rpcs": \[{"url": "[https://rpc-mumbai.maticvigil.com"}\]},"theGraphUrl](https://jackieluong.gitbook.io/untitled/testnet-running/https:/rpc-mumbai.maticvigil.com"}]},"theGraphUrl)": "<https://api.thegraph.com/subgraphs/name/samt1803/network-subgraphs"\\}},"plugins>": {"operator": {"operatorContractAddress": "YOUR\_OPERATOR\_CONTRACT\_ADDRESS"}}}

### Start your Streamr node <a href="#step-4-start-your-streamr-node-using-docker" id="step-4-start-your-streamr-node-using-docker"></a>

sudo docker run -p 32200:32200 --name streamr --restart unless-stopped -d -v $(cd \~/.streamrDocker && pwd):/home/streamr/.streamr streamr/broker-node:v100.0.0-pretestnet.6

### Check logs <a href="#check-logs" id="check-logs"></a>

sudo docker logs -f streamr

![](https://1762590765-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRzXvi3emVKzTi94K7StD%2Fuploads%2FRFTwW6QxjNnK4fOMpgts%2Flogs_streamr.PNG?alt=media\&token=60b1ef69-3b45-4bdc-9c7b-12def8b70d2e)

Check Operator status on <https://mumbai.streamr.network/hub/network/operators?tab=all>​
