Smart BUY/SELL notifications with automatic profit calculations - completely free and runs 24/7 without keeping your PC on!
- π’ BUY Detection - Automatic detection when tokens are purchased
- π΄ SELL Detection - Smart detection when tokens are sold
- π Profit Tracking - Calculate 1x, 2x, 0.5x multipliers automatically
- πΌοΈ Token Images - Rich notifications with token logos
- π° 100% Free - Uses free tiers of Helius + Vercel + Telegram
- π 24/7 Monitoring - Runs continuously without your computer
- β‘ Fast setup - Get running in under 10 minutes
Address: DfMxre4cKmvogbLrPigxmibVTTQDuzjdXojWzjCXXhzj
All transactions (incoming/outgoing) for this wallet will trigger Telegram notifications.
Deploy this app to Vercel for free hosting:
# Install Vercel CLI if you haven't already
npm install -g vercel
# Deploy
vercel --prodOr use the Vercel Dashboard:
- Go to vercel.com
- Connect your GitHub account
- Import this repository
- Deploy with one click
- Sign up at helius.dev (free account)
- Create a new project
- Get your API key from the dashboard
Free tier includes:
- 1M credits per month
- 1 webhook (perfect for our needs)
- 10 RPC requests per second
- Go to your Helius Dashboard
- Navigate to "Webhooks" section
- Create a new webhook with these settings:
Webhook Configuration:
- Webhook URL:
https://your-app.vercel.app/api/webhook - Transaction Type:
ADDRESS_TRANSACTION - Account Address:
DfMxre4cKmvogbLrPigxmibVTTQDuzjdXojWzjCXXhzj - Commitment:
confirmed
In your Vercel dashboard, add these environment variables:
TELEGRAM_BOT_TOKEN=your_token
TELEGRAM_CHAT_ID=5039957435
TELEGRAM_ADMIN_IDS=5039957435
TELEGRAM_NOTIFICATION_LEVEL=ALL
MONITORED_WALLET=DfMxre4cKmvogbLrPigxmibVTTQDuzjdXojWzjCXXhzjπ’ BUY
πͺ Token: USD Coin (USDC)
π Token Address: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
π΄ SELL
πͺ Token: USD Coin (USDC)
π Token Address: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
π Result: 1.50x (+50.0%)
Plus token images are automatically included when available!
- Frontend: Next.js 15 + React 19 + Tailwind CSS
- Backend: Next.js API Routes (serverless functions)
- Deployment: Vercel (free tier)
- Monitoring: Helius webhooks (free tier)
- Notifications: Telegram Bot API
- URL:
/api/webhook - Method:
POST - Authentication: None required (Helius handles security)
- Rate Limiting: Handled by Vercel
- β Token purchases (BUY detection)
- β Token sales (SELL detection)
- β DEX swaps (Raydium, Jupiter, etc.)
- β Profit/loss calculations
- β Token metadata & images
- β Position tracking
# Clone the repository
git clone <repository-url>
cd solana-telegram-alerts
# Install dependencies
bun install
# Copy environment variables
cp .env.example .env.local
# Edit .env.local with your credentials
# Run development server
bun devYou can test your webhook endpoint:
# Check webhook status
curl https://your-app.vercel.app/api/webhook
# Expected response
{
"status": "active",
"timestamp": "2025-06-04T15:30:00.000Z",
"monitoredWallet": "DfMxre4cKmvogbLrPigxmibVTTQDuzjdXojWzjCXXhzj"
}| Service | Plan | Cost | Usage |
|---|---|---|---|
| Helius | Free | $0/month | 1M credits, 1 webhook |
| Vercel | Hobby | $0/month | 100GB bandwidth, serverless functions |
| Telegram | Bot API | $0/month | Unlimited messages |
| Total | $0/month |
- Environment variables are encrypted in Vercel
- No sensitive data stored in the application
- Webhook endpoint is public but only accepts Helius payloads
- Telegram bot token is securely stored
- Webhook Status: Check
/api/webhookendpoint - Vercel Analytics: Built-in deployment and function metrics
- Helius Dashboard: Webhook delivery statistics
- Telegram: Real-time notification delivery confirmation
Edit /app/api/webhook/route.ts to customize message format:
function createTransactionMessage(transaction: HeliusWebhookPayload): string {
// Customize your message format here
let message = `π Custom Alert Format\n\n`;
// ... rest of your custom logic
return message;
}To monitor multiple wallets, modify the webhook logic:
const MONITORED_WALLETS = [
'DfMxre4cKmvogbLrPigxmibVTTQDuzjdXojWzjCXXhzj',
'AnotherWalletAddress...'
];Add filters for specific transaction types or amounts:
// Only notify for transactions > 0.1 SOL
if (Math.abs(account.nativeBalanceChange) < 100_000_000) {
continue; // Skip small transactions
}Webhook not triggering:
- Verify webhook URL is correct in Helius dashboard
- Check Vercel function logs for errors
- Ensure wallet address is exactly correct
Telegram messages not sending:
- Verify bot token and chat ID are correct
- Check if bot is added to the group/chat
- Verify bot has permission to send messages
Environment variables not working:
- Redeploy after adding environment variables
- Check variable names match exactly
- Ensure no extra spaces or quotes
Enable detailed logging by adding to your environment:
DEBUG=trueFeel free to submit issues and enhancement requests!
This project is open source and available under the MIT License.
- Helius - For excellent Solana infrastructure
- Vercel - For seamless deployment
- Telegram - For the Bot API
π Deploy now and never miss a transaction again!