Skip to content

altafan/btc-converter-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin Converter Telegram Bot

Look at the current btc price with this simple telegram bot

Available exchangers:

Available currencies:

  • Euro (EUR)
  • Dollar (USD)
  • Pound (GBP)

Prerequisites

Installing

First start a new bot on Telegram with the BotFather.
If you want to use Kraken API sign in and create an API key.
Put the bot token and kraken api credentials in a config.json in the root of the project as follows:

{
  "token": "TELEGRAM_BOT_TOKEN",
  "apiKey": "KRAKEN_API_KEY",
  "apiSecret": "KRAKEN_API_PRIVATE_KEY"
}

If you don't want to use Kraken API just comment/delete all kraken stuff in index.js, helpers.js and constants.js.

Install dependencies

npm i

Running

Start the bot

node index.js

Example

You can find a running version of this bot @BtcConverterBot

License

This project is licensed under the MIT License - see the LICENSE file for details

About

look at current btc price with a telegram bot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published