zetachain-discord-bot
v1.0.0
Published
Discord bot for ZetaChain CLI MCP server
Maintainers
Readme
ZetaChain Discord Bot
A Discord bot that integrates ZetaChain's cross-chain functionality directly into Discord servers.
Features
- Balance Checking: Check cryptocurrency balances across multiple networks
- Account Management: List and create blockchain accounts
- Cross-Chain Transactions: Send transactions between different blockchains
- Network Information: Get real-time network status and information
Available Commands
/balance <address> [networks]- Check balances for an address/accounts- List all managed accounts/send <from> <to> <amount> <network>- Send a cross-chain transaction/create-account <name> <type>- Create a new blockchain account
Setup
Install dependencies:
npm installSet up environment variables:
cp .env.example .env # Edit .env with your tokensRequired Environment Variables:
DISCORD_TOKEN- Your Discord bot tokenCLIENT_ID- Your Discord application client IDZETACHAIN_API_KEY- Your ZetaChain API key
Run the bot:
npm start
Getting Discord Tokens
- Go to Discord Developer Portal
- Create a new application
- Go to "Bot" section and create a bot
- Copy the bot token
- Get the Client ID from "General Information"
Getting ZetaChain API Key
Visit the ZetaChain dashboard to obtain your API key for MCP server access.
Supported Networks
- Ethereum
- Polygon
- BSC (Binance Smart Chain)
- Solana
- Sui
Example Usage
/balance 0x742d35Cc6C7486B4E1f5312b2E6a9F9E2A91D1b0 ethereum,polygon
/create-account MyWallet evm
/send 0xfrom... 0xto... 1000000 ethereumLicense
MIT
