This repo help everyone create a telegram bot to notify new listing liquidity on Solana, Ethereum, BNB, Base
Powered by https://txdecoder.xyz
- Open telegram
- Chat with @BotFather
- Type command
/newbot - Save telegram bot token to TELEGRAM_BOT_TOKEN in .env
- Create a new telegram channel
- Add above telegram to channel as admin
- Chat with @username_to_id_bot
- Enter telegram channel name to get CHAT_ID, saving to TELEGRAM_CHAT_ID to .env
- Go to https://txdecoder.xyz
- Sign in with Google
- Upgrade account to Plan that support Websocket. https://txdecoder.xyz/#pricing
- Get API key , saving to TXDECODER_API_KEY in .env
- Clone this repo
- Run below command
npm install
cp .env.sample .env- Update .env file
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
TXDECODER_API_KEY=
- Run command
node index.jshttps://txdecoder.gitbook.io/docs/tutorials/creating-dex-new-listing-streams