status-go/cmd/ping-community
Mohamed Javid 1886dc3360
[Feature] Allow setting TestNetworksEnabled in Create/Restore Account (#4971)
This commit adds the ability to set the "TestNetworksEnabled" flag while creating an account.

Function affected: "generateOrImportAccount"

This helps Dev/E2E/PR builds to enable Test Networks by default and disable them on release/nightly builds.

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
2024-03-26 17:08:16 +05:30
..
.gitignore Add ping community script 2021-11-16 15:36:55 +00:00
README.md 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 [Feature] Allow setting TestNetworksEnabled in Create/Restore Account (#4971) 2024-03-26 17:08:16 +05:30
signing_phrase.go Add ping community script 2021-11-16 15:36:55 +00:00

README.md

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