A comprehensive cryptocurrency monitoring system that tracks whale transactions and analyzes crypto news using AI-powered insights.
- Whale Transaction Monitoring: Real-time tracking of Solana whale transactions from Telegram channels
- News Analysis: Automated scraping and AI-powered analysis of crypto news from multiple sources
- Telegram Integration: Automated notifications via Telegram bot
- Database Storage: SQLite database for storing whale transactions and news articles
- AI Processing: Poe API integration for intelligent content analysis
- Node.js (>=20)
- Python3 (<=3.12)
- Telegram Bot Token (for notifications)
- Poe API Credentials (for AI analysis)
-
Clone the repository
git clone <repository-url> cd vx-insight
-
Install Node.js dependencies
npm install
-
Install Python dependencies
python3 -m pip install poe-api-wrapper python-dotenv
-
Set up environment variables
cp .env.example .env # Edit .env with your actual credentials
Create a .env file in the root directory with the following variables:
# Telegram Bot Configuration
TELEGRAM_BOT_TOKEN=your_telegram_bot_token_here
TELEGRAM_CHAT_ID=your_telegram_chat_id_here
# Poe API Configuration
POE_P_B=your_poe_p_b_token_here
POE_P_LAT=your_poe_p_lat_token_here
POE_P_CHAT_CODE=your_poe_chat_code_here
POE_P_BOT=GPT-4o
# Database Configuration
DATABASE_PATH=./store.db-
Create a
.envfile in thepoe-query/directory:P_B=your_poe_p_b_token_here P_LAT=your_poe_p_lat_token_here P_CHAT_CODE=your_poe_chat_code_here P_BOT=GPT-4o
-
Get Poe API credentials from Poe API Wrapper
-
Run News Monitor
node news-monitor.js
-
Run Whale Monitor
node whale-monitor.js
Use the provided scripts for automated monitoring:
-
News Monitoring
./scripts/run-news-monitor.sh
-
Whale Monitoring
./scripts/run-whale-monitor.sh
- CryptoNews: https://crypto.news/news/
- CoinTelegraph Markets: https://cointelegraph.com/markets
- CoinTelegraph Technology: https://cointelegraph.com/tags/technology
- CoinTelegraph Business: https://cointelegraph.com/tags/business
- CoinTelegraph Regulation: https://cointelegraph.com/tags/regulation
- CoinTelegraph NFTs: https://cointelegraph.com/tags/nft
- CoinTelegraph Investments: https://cointelegraph.com/tags/investments
- Solana Whale Alert: https://t.me/s/SolanaWhaleAlert
id: Primary keytitle: Article titleurl: Article URL (unique)content: Article contentdatetime: Publication timestampauthor: Article authoreditor: Article editorreport: AI-generated analysis report
id: Primary keycontract: Token contract addressaction: Buy/Sell actionname: Token namesymbol: Token symbolurl: Transaction URL (unique)usd: USD valueprice: Token pricevolume: Trading volumeliquidity: Liquidity amountmarketcap: Market capitalizationdatetime: Transaction timestamp
# Run every 10 minutes
*/10 * * * * open -a Terminal "/path/to/vx-insight/scripts/run-news-monitor.sh"
*/10 * * * * open -a Terminal "/path/to/vx-insight/scripts/run-whale-monitor.sh"*/10 * * * * /path/to/vx-insight/scripts/run-news-monitor.sh
*/10 * * * * /path/to/vx-insight/scripts/run-whale-monitor.shvx-insight/
├── news-monitor.js # News monitoring script
├── whale-monitor.js # Whale transaction monitoring script
├── telegram.js # Telegram bot integration
├── db.js # Database operations
├── scrap.js # News scraping utilities
├── scrap-tg.js # Telegram channel scraping
├── poe.js # Poe API integration
├── util.js # Utility functions
├── poe-query/ # Python Poe API module
│ ├── config.py # Poe API configuration
│ ├── poe.py # Poe API client
│ └── requirements.txt # Python dependencies
├── scripts/ # Execution scripts
│ ├── run-news-monitor.sh # News monitoring script
│ └── run-whale-monitor.sh # Whale monitoring script
├── logs/ # Log files directory
└── store.db # SQLite database
- All sensitive credentials are stored in environment variables
.envfiles are excluded from version control- No hardcoded API keys or tokens in the codebase
- Missing environment variables: Ensure all required variables are set in
.env - Database connection issues: Check if
store.dbexists and is writable - Poe API errors: Verify your Poe API credentials are correct
- Telegram bot issues: Confirm your bot token and chat ID are valid
- News monitoring logs:
logs/Report-YYYY-MM-DD-HH-MM-SS.log - Whale monitoring logs:
logs/Report-WM-YYYY-MM-DD-HH-MM-SS.log - General debug logs:
logs/debug.log
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License.