Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.17 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.17 KB

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