Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 848 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 848 Bytes

Meme Monitor TG Bot

suibianwanwan-meme-monitor.png

fetch data from chain.fm eg. https://chain.fm/channel/1305381392003109041?eventKinds=token%3Abuy&eventKinds=token%3Asell from ( suibianwanwan's X account )

set TG related data to .config

Installation

npm install node-telegram-bot-api axios
node monitor.js 2>/dev/null

Configuration

fill tg related data to config.json (copy from config-example.json) file

{
  "DATA_API": "xxxx", // chain fm API
  "BOT_TOKEN":"xxxx", // get from tg
  "CHAT_ID":"xxxx", // get from tg
  "PER_BUY_LOWER_BOUND": 11.9, // tacking orders that exceed this amount of SOL
  "SEND_TO_TG": true // whether send msg to tg (or only in console)
}

Tracking Scenario

token:buy / token:sell