{"id":13341878,"url":"https://github.com/chriamue/whisper-example","last_synced_at":"2026-05-05T08:32:04.464Z","repository":{"id":44008258,"uuid":"236304174","full_name":"chriamue/whisper-example","owner":"chriamue","description":"Docker compose environment and example for whisper.","archived":false,"fork":false,"pushed_at":"2023-01-24T01:13:47.000Z","size":2158,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-09T11:51:46.193Z","etag":null,"topics":["docker-compose","geth","p2p-network","shh","web3js","whisper"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chriamue.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}},"created_at":"2020-01-26T11:42:31.000Z","updated_at":"2024-01-04T22:14:45.000Z","dependencies_parsed_at":"2023-01-27T07:45:31.269Z","dependency_job_id":null,"html_url":"https://github.com/chriamue/whisper-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chriamue/whisper-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chriamue%2Fwhisper-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chriamue%2Fwhisper-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chriamue%2Fwhisper-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chriamue%2Fwhisper-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chriamue","download_url":"https://codeload.github.com/chriamue/whisper-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chriamue%2Fwhisper-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32642007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["docker-compose","geth","p2p-network","shh","web3js","whisper"],"created_at":"2024-07-29T19:26:40.634Z","updated_at":"2026-05-05T08:32:04.447Z","avatar_url":"https://github.com/chriamue.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# whisper-example\nDocker compose environment and example for whisper.\n\n## Environment Init\n\nA bootnode key was generated:\n\n```bash\ndocker run --rm -v ${PWD}/bootnode/:/bootnode/:rw --entrypoint bootnode ethereum/client-go:alltools-v1.9.10 \"-genkey=/bootnode/bootnode.key\"\n```\n\nNew accounts where generated\n\n```bash\ndocker-compose run --rm geth account new\n```\n\nresulting in \n\n```\nYour new key was generated\n\nPublic address of the key:   0x367E3Ac27dAf7595f5A62F0de74c37f15D459D45\nPath of the secret key file: /keystore/UTC--2020-01-26T12-13-41.627717698Z--367e3ac27daf7595f5a62f0de74c37f15d459d45\n```\n\nA second account was generated\n\n\n```bash\ndocker-compose run --rm geth account new\n```\n\nresulting\n\n```\nYour new key was generated\n\nPublic address of the key:   0x771552299F38E66403371BE507189FB491cE8D2a\nPath of the secret key file: /keystore/UTC--2020-01-26T12-15-05.597330011Z--771552299f38e66403371be507189fb491ce8d2a\n```\n\nWarning: Never use these accounts outside this example.\n\nA genesis file was created using puppeth.\n\n```bash\ndocker-compose up --rm puppeth\n```\n\nThe genesis file was exported.\n\nThe nodes have to be initialized using the genesis file:\n\n```bash\ndocker-compose run --no-deps --rm node1 init /genesis.json\ndocker-compose run --no-deps --rm node2 init /genesis.json\n```\n\n## generate new keys\n\n```bash\ndocker-compose run --rm geth account new\n```\n\n## run\n\nTo send a message from app2 to app1 start the nodes.\n\n```bash\ndocker-compose up -d node1\ndocker-compose up -d node2\n```\n\nWait some seconds the nodes can find each other using the bootnode.\n\nStart the first app.\n\n```bash\ndocker-compose up app1\n```\n\nIn another terminal start the second sending app.\n\n```bash\ndocker-compose up app2\n```\n\nApp 2 will send Hello World! which will be printed on app 1.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchriamue%2Fwhisper-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchriamue%2Fwhisper-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchriamue%2Fwhisper-example/lists"}