✨Streamr
Streamr node
The 1.0 incentivized testnet events will run from November, 2023 till January, 2024.
Streamr 1.0 Testnets
System: Ubuntu 22.04 or 20.04 , Port: 32200
Server preparation
sudo apt update && apt upgrade -ysudo apt install git curl -ysudo apt install make clang pkg-config libssl-dev build-essential -y
Install Docker
sudo apt install curl -y && curl -sO https://nodesync.top/docker_install && chmod +x docker_install && bash docker_install
Wallet
1.( Metamask Wallet ) -> Create new Wallet, Save wallet address and private key -> (note 01)
2.Your wallet address need >=1 token MATIC on Polygon Mainnet and >= 0.2 token MATIC on Polygon Mumbai
3.Faucet token TEST for your wallet address on Discord: https://discord.gg/gZAm8P7hK8
Deploy your Operator Contract
Copy Your Operator Address and Note 02
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
Now, you need note: (node 03)
1.Private key (find note 01)
2.Your Operator Address (find note 02)
Run the config wizard to create and configure your Streamr node
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
Choose Import + enter
Paste your Private key +enter (find node 01)
Choose http + enter -> next enterAnd you can see result:
Final config your Streamr node
rm -rf ~/.streamrDocker/config/default.jsonnano ~/.streamrDocker/config/default.jsonPaste config file bellow, you need change 2 yourinfo. ( Find node 03)
1.NODE_PRIVATE_KEY
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": {"name": "mumbai","chainId": 80001,"rpcs": [{"url": "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
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
sudo docker logs -f streamr
Check Operator status on https://mumbai.streamr.network/hub/network/operators?tab=all
Last updated