A simple Discord scraper bot for Solana
- Scrapes token-related content from Discord
- Encrypted private-key support (
--encrypt-key) - Simple setup via
config.tomlandignored_tokens.txt
-
Give the executable permission to run
chmod +x * -
Encrypt your private key
./cap-scraper --encrypt-key [your_private_key]
-
Set your ignored pubkeys
nano ignored_tokens.txt
Add one mint pubkey per line to ignore it (no names or symbols).
-
Configure your settings
nano config.toml
Use the minimal config below.
-
Run the bot
./cap-scraper
cap-scraper— main executableconfig.toml— runtime configurationignored_tokens.txt— pubkeys only, one per line
ignored_tokens.txt (pubkeys only)
# One pubkey per line. Lines starting with # are comments.
So11111111111111111111111111111111111111112
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
config.toml
# Minimal config for cap-scraper
# Discord bot token (keep secret; do not commit)
discord_token = ""
# Allowed Discord channel IDs (as strings)
discord_channels = [
"1409939729771925545",
]
# Amount threshold or unit (project-specific meaning)
amount = 1_000_000
# Retry attempts for transient operations
retries = 3MIT License