Skip to content

MbotixTech/telegram-bot-crypto-convert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Convert Bot

Welcome to MbotixTECH Crypto Convert Bot 🚀 — A smart and powerful Telegram bot that instantly converts between crypto and fiat currencies, checks market trends, and provides real-time updates. Built for speed, accuracy, and reliability.


🌟 Features

  • 💸 Convert any crypto to fiat or fiat to crypto easily.
  • 📊 Check Top 10 Coins by Market Cap.
  • 📈 Get Top Gainers and Top Losers in the last 24h.
  • 🌎 View Global Crypto Market Stats (Market Cap, 24h Volume, BTC Dominance).
  • 🔥 Discover Trending Coins.
  • 🔄 Refresh Button to update prices live.
  • Delete Button to remove messages for a cleaner chat.
  • 🌍 Multi-currency support for all major crypto and fiat pairs.
  • ✨ Powered by Coinbase and CoinGecko APIs.

🛠️ APIs Used

API Purpose
Coinbase Spot Price API Real-time crypto/fiat spot prices
CoinGecko API Market data: Top coins, Gainers, Losers, Global Info

No authentication required — fully public APIs.


🔧 Installation

  1. Clone the repository
git clone https://github.com/yourusername/crypto-convert-bot.git
cd crypto-convert-bot
  1. Install dependencies
npm install
  1. Create .env file
BOT_TOKEN=your-telegram-bot-token-here
  1. Run the bot
node bot.js

Or using PM2 (recommended for production):

pm install -g pm2
pm2 start bot.js --name "crypto-bot"
pm2 save
pm2 startup

🛋️ Usage Guide

Command Description
/convert amount from_currency to_currency Convert between any crypto/fiat (e.g. /convert 1 btc idr)
/top10 Show Top 10 coins by market cap
/gainers Top 10 coins with highest gain in last 24h
/losers Top 10 coins with biggest loss in last 24h
/global Global market statistics
/trending Currently trending coins

🔄 Use Refresh button to update the price live.
❌ Use Delete button to clean up the chat.


🎉 Contributors

Feel free to open Pull Requests or Issues if you have suggestions!


📈 Preview

Crypto Convert Bot Screenshot


🌍 License

This project is licensed under the MIT License See LICENSE file for details.


Built with 💙 by MbotixTECH

About

A powerful Telegram bot for instant crypto and fiat currency conversions, market stats, and live updates. Powered by Coinbase and CoinGecko APIs.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors