Discord bot built in Rust for interacting with the Klever blockchain.
About | Commands | Requirements | Setup | DockerDiscord bot built in Rust for interacting with the Klever blockchain.
| Command | Description |
|---|---|
/ping |
Replies with pong |
/wallet <address> [network] |
Returns the KLV balance of a wallet address. Network defaults to mainnet, accepts testnet |
- Rust 1.94+
- A Discord bot token (Discord Developer Portal)
- A Klever wallet address to test with (optional)
1. Clone the repository
git clone https://github.com/ernstbecker/crabbo
cd crabbo2. Configure environment variables
make setupEdit .env:
DISCORD_TOKEN=your_bot_token_here
GUILD_ID=your_guild_id_here # optional — omit to register commands globallyIf
GUILD_IDis set, commands are registered only for that server (instant update). Without it, commands are registered globally (may take up to 1 hour to propagate).
3. Run
make rundocker compose upGPL-3.0-or-later