status-go/cmd/ping-community
richΛrd ba5ed725ce
waku2: static shards (#3944)
- use protected topics for communities
- associate chats to pubsub topics and populate these depending if the chat belongs to a community or not
- mailserver functions should be aware of pubsub topics
- generate private key for pubsub topic protection when creating a community
- add shard cluster and index to communities
- setup shards for existing communities
- distribute pubsubtopic password
- fix: do not send the requests to join and cancel in the protected topic
- fix: undefined shard values for backward compatibility
- refactor: use shard message in protobuffers
2023-10-12 15:21:49 -04:00
..
.gitignore Add ping community script 2021-11-16 15:36:55 +00:00
flags.go Add ping community script 2021-11-16 15:36:55 +00:00
main.go waku2: static shards (#3944) 2023-10-12 15:21:49 -04:00
README.md Add ping community script 2021-11-16 15:36:55 +00:00
signing_phrase.go Add ping community script 2021-11-16 15:36:55 +00:00

Ping community

This script publishes a post every 2 seconds on the given community/chat-id, using the seed phrase provided.

How to build

You must have go installed. Then you can run, from cmd/ping-community

go build

which should create a ping-community executable

How to run

./ping-community --seed-phrase "your seed phrase" --community-id "community-id" --chat-id "chat-id"

The parameters are:

community-id: the ID of the community chat-id: the ID of the chat we want to post on