/SolanaStatus_BOT

A simple solana status bot written in rust

Primary LanguageRustMIT LicenseMIT

SolanaStatus_BOT

❗ new version is here: https://github.com/DerZwergGimli/solana_tps_bot

Open Source Love buid-test deploy-to-dockerhub

License: MIT badge_discord badge_docker_size badge_docker_size

This repo contains a Discord bot that is monitoring the SolanaBlockchain.

"bot icon""

Current Feature:

  • Display current tps (Transactions per Second)

View

"bot View1""

"bot view2""

Discord-Settings:

  • BOT Permissions

    • Manage Role
    • Change Nickname
  • BOT Roles

    • tickers-red
    • tickers-green

Create 2 Roles in you Discord Server so the bot will change its Nickname color based on that.

"bot roles""

ENV

  • Required:
BOT_PREFIX=!
RUST_LOG=warn
DISCORD_TOKEN=<DISCORD_TOKEN>
LOOP_UPDATE_SLEEP=5
TPS_THRESHOLD=2000
  • Oprional:
SOLANABEACH_TOKEN=<SOLANABEACH_TOKEN>

Deploy via Docker

  • Copy the docker-compose.yaml.sample to docker-compose.yaml
  • Add you <DISCORD_TOKEN> and <BOT_USER_ID>
  • Start you BOT with docker-compose up -d

Donations:

  • Solana-Wallet: coffeeplease.sol
  • ETH-Address: 0xB0Be2420cA00C86aD983F246DEF49EA0F9779DCd