Crypto Telegram Bot
This repository contains the code for the aricle How to create a Telegram Crypto Bot in Javascript in my blog.
Env variables
In order to launch the project you need to obtain the API keys from Binance and Telegram
- For Binance - register here (referral link). Then generate the keys on API Management page.
- For Telegram Bot - get the bot token from the BotFather
How to run the project?
First install the npm dependencies by running npm install
. Then start the project by running npm start
. After these steps you can send the commands to the Telegram bot to get the prices for cryptocurrencies, for example, /price BTC
(for getting the price of Bitcoin).