A Node.js bot that reports Solana NFT sales to a Telegram group or channel using:
- ✅ Real-time Tensor WebSocket feed
- 🕑 Polling Magic Eden API
-
Clone the repo
-
Install dependencies:
npm install -
Copy
.env.exampleto.envand add your bot token and chat ID. -
Start the bot:
npm start
- Customize collections in
collections.js - Add bot as admin to your group/channel
- Railway.app (free hosting)
- VPS + PM2:
npm install -g pm2 pm2 start index.js --name salesbot