{"id":22636806,"url":"https://github.com/vourhey/streamr_agent","last_synced_at":"2026-05-03T19:31:42.743Z","repository":{"id":149716656,"uuid":"206393458","full_name":"Vourhey/streamr_agent","owner":"Vourhey","description":"An example of Robonomics agent with non-XRT token","archived":false,"fork":false,"pushed_at":"2019-10-08T09:35:35.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T05:12:50.272Z","etag":null,"topics":["robonomics","ros","streamr"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vourhey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-04T19:07:30.000Z","updated_at":"2022-10-18T20:55:45.000Z","dependencies_parsed_at":"2023-04-25T15:02:03.561Z","dependency_job_id":null,"html_url":"https://github.com/Vourhey/streamr_agent","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vourhey/streamr_agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vourhey%2Fstreamr_agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vourhey%2Fstreamr_agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vourhey%2Fstreamr_agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vourhey%2Fstreamr_agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vourhey","download_url":"https://codeload.github.com/Vourhey/streamr_agent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vourhey%2Fstreamr_agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32582507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["robonomics","ros","streamr"],"created_at":"2024-12-09T03:30:25.542Z","updated_at":"2026-05-03T19:31:42.725Z","avatar_url":"https://github.com/Vourhey.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Streamr Agent\n\nAn example of Robonomics agent dealing with \"foreign\" payment token.\nSpecifically Streamr's [DATACoin](https://etherscan.io/token/0x0cf0ee63788a0849fe5297f3407f701e122cc023) in this case.\n\nTo get familiar with Streamr project have a look at the [docs](https://streamr.network/docs/introduction).\n\n## Scenario\n\nThe agent waits for a new liability contract. At the moment it receives one the parameters (see below) are read and the publishing is begun.\n\nFor a simplicity the agent publishes random numbers but it's not a problem to turn it into something more useful.\n\nA user specifies how long he/she desires to receive the data in seconds and the agent creates a thread and performs the task.\n\nThe user pays in proportion to the amount of time.\n\n\u003e Note! The stream ID must be created on a user side\n\nIn the end of the task the whole history is stored in the result message which could be read via the link sent by email.\n\n## Objective:\n\n* `/period` - the amount of time in seconds\n* `/stream_id` - Stream ID\n* `/email` - email of the user\n\n## Build\n\nNixOS way:\n\n```\nnix bulid -f release.nix\nsource result/setup.bash (zsh)\n```\n\nROS common way:\n\n```\nmkdir -p ws/src \u0026\u0026 cd ws/src\ngit clone https://github.com/vourhey/streamr_agent \u0026\u0026 cd .. \ncatkin_make\nsource devel/setup.bash (zsh)\n```\n\n## Launch\n\n```\nroslaunch streamr_agent agent.launch login:=\"\u003cGMAIL_LOGIN\u003e\" email_password:=\"\u003cGMAIL_APP_PASSWORD\u003e\" auth_token:=\"\u003cSTREAMR_API_TOKEN\u003e\"\n```\n\n## Test\n\nThere is the `robonomics/promisee_node.py` file for testing purpose only. Have a look at the content to figure out how it works\n\n## Dapp\n\nThere is a [Dapp](https://github.com/vol4tim/dapp-streamr) for the project. Check it out!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvourhey%2Fstreamr_agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvourhey%2Fstreamr_agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvourhey%2Fstreamr_agent/lists"}