This script installs the GSwarm CLI tool, sets up a Telegram bot for notifications, and starts monitoring Gensyn Swarm rewards automatically.
- β Automatic installation of Go (version >= 1.24.5)
- β jq installation for JSON parsing
- β GSwarm CLI installed from GitHub
- β Telegram bot token setup with automatic chat ID fetch
- β
Saves config in
telegram-config.json - β
Starts
gswarminstantly
bash <(curl -sL https://raw.githubusercontent.com/CodeDialect/gswarm-role/main/gswarm.sh)Follow the Telegram bot setup prompts
- Create a new bot using @BotFather
- Paste your bot token when asked
- Send a message to your bot so the script can fetch your chat ID
- Get your EOA from gensyn dashboard
After setup, you'll get a telegram-config.json file like this:
{
"bot_token": "123456:ABC-DEF...",
"chat_id": "987654321",
"welcome_sent": true,
"api_url": "https://gswarm.dev/api"
}- Linux (Debian/Ubuntu)
curl,jq,sudoaccess
π¬ Questions? Join Telegram