Licence
MIT
Version
1.0.3
Deps
2
Size
8 kB
Vulns
0
Weekly
0
BINANCE PRICE BOT & GET TOP 10 GAINER
Install NVM
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.39.0/install.sh | bash
source ~/.profile
Turn off current session console & reopen
Install node & npm
nvm install 19
Check
node -v
npm -v
Install Dependencies
npm install axios telegraf@3.38
Add Telegram API Key (get it from @BotFather)
const bot = new Telegraf('YOUR_TELEGRAM_BOT_API_KEY');
Run
node index.js
Command
p symbol
Example:
p btc
p bnb
Click update button to update current price
Click Top 10 Gainers button to get list