Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 518 Bytes

readme.md

File metadata and controls

26 lines (21 loc) · 518 Bytes

Pink Buysn Notification Telegram Bot

Requirements

  • NodeJS 20
  • pm2

env variables

# ChatID where the messages will be sent
TELEGRAM_CHANNEL_CHATID = ''
# TokenID given by BotFather
TELEGRAM_BOT_TOKEN_ID = ""
# RPC URL for Moonbeam with access to eth_getFilterLogs
MOONBEAM_RPC_URL = ""
# RPC URL for Base with access to eth_getFilterLogs
BASE_RPC_URL = ""

Run it

  • clone this repo
  • run npm/yarn/pnpm install
  • run npm/yarn/pnpm build
  • fill .env variables
  • run npm/yarn/pnpm production