https://github.com/kryptocodes/price-feed-alert
https://github.com/kryptocodes/price-feed-alert
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kryptocodes/price-feed-alert
- Owner: kryptocodes
- Created: 2025-01-24T17:03:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-24T18:37:59.000Z (over 1 year ago)
- Last Synced: 2025-01-24T19:30:32.386Z (over 1 year ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solana Portfolio Alert Bot
A Telegram bot that tracks Solana wallet portfolios and sends price alerts for selected tokens based on percentage thresholds.
## Features
- 📱 Telegram interface for easy interaction
- 💰 Fetch token balances from Solana wallets
- 📊 Real-time price monitoring using Jupiter API
- 🚨 Customizable price alerts based on percentage changes
- âš¡ Support for multiple tokens and alerts
## Prerequisites
- Node.js (v18 or higher)
- npm
- Telegram Bot Token (from [@BotFather](https://t.me/botfather))
- Solana RPC endpoint (default: mainnet-beta)
## Installation
1. Clone the repository:
```bash
git clone
cd price-feed-alert
# Install dependencies:
npm install
# Create a .env file with the following variables:
```bash
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
```
## Usage
1. Start a chat with your bot on Telegram
2. Send the /start command
3. Enter your Solana wallet address
4. Select a token from your portfolio
5. Enter the percentage threshold for price alerts
## Commands
- /start - Initialize the bot and begin wallet tracking
- More commands coming soon...
## Technical Stack
- Telegraf - Modern Telegram Bot Framework
- @solana/web3.js - Solana JavaScript API
- Jupiter API - Price feed data
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.