TG: @Bubblemaps_Telegram_Bot
A Telegram bot that provides detailed token analytics, decentralization scores, and interactive Bubblemaps visualizations across multiple blockchains.
- Multi-Chain Support: Ethereum, BSC, Fantom, Avalanche, Cronos, Arbitrum, Polygon, Base, Solana, Sonic
- Token Analytics: Market cap, price, volume, supply distribution
- Decentralization Score: AI-powered score (1-100) with detailed breakdown
- Holder Analysis: Top 10 holders with contract/CEX identification
- Interactive Visualization: Direct links to Bubblemaps + blockchain explorers
- CoinGecko Integration: Real-time market data
- Node.js v18+
- npm v9+
- Google Chrome (for Puppeteer)
- Telegram Bot Token (Get from @BotFather)
- Clone repository:
git clone https://github.com/patrick-ehimen/bubblemap-tg-bot.git
cd bubblemap-tg-bot
- Install dependencies:
npm install
- Create .env file:
TELEGRAM_BOT_TOKEN=your_bot_token
COINGECKO_API_KEY=your_coingecko_key
/start
- Initial bot setup/help
- Usage instructions
- Send contract address to the bot:
0x603c7f932ed1fc6575303d8fb018fdcbb0f39a95
dotnetcli
-
Select blockchain network
-
Receive analysis:
-
Bubblemap visualization
-
Decentralization score
-
Market data from CoinGecko
-
Supply distribution breakdown
-
Explorer links
Package | Purpose |
---|---|
telegraf | Telegram bot framework |
puppeteer | Headless browser for Bubblemap screenshots |
axios | HTTP client for API interactions |
numeral | Number formatting |
-
User sends contract address
-
Address validation with regex patterns
-
Chain selection via inline keyboard
-
Data aggregation:
-
Bubblemaps API → Token distribution
-
CoinGecko → Market data
-
Decentralization score calculation
-
Puppeteer generates visualization
-
Formatted response sent via Telegram
Render.com Setup
-
Create new Web Service
-
Use render.yaml configuration
-
Set environment variables
-
Enable auto-deploy