About Project
This project is a telegram bot with the name called "CryptPriceBot". This bot serve the purpose for our telegram group user to use telegram to check the price of Cryptocurrency.
Implemented CryptPriceBot to Steemit Malaysia CN Group
This bot is hosted on Digital Ocean. Anyone interested to use this bot can simply use this link
Features
- Check price of Cryptocurrency from CoinMarketCap.
- Check price of it at your preference currency.
- Check ratio of a Cryptocurrency to another.
This bot make use CoinMarketCap API to get the price for that certain CryptoCurrency.
Commands
/price steem(Check price of steem in USD(default currency))/price steem-dollars MYR(Check price of SBD in MYR (Malaysian Ringgit))/ratio steem steem-dollars(Check ratio of steem to steem-dollars)
About the Projects
- What is the project about?
This project solve the issue of the group of people who are actively on telegram. Instead of going CoinMarketCap website to check the current price of a CryptoCurrency, the user can simply type in chat to know the current price. - Technology Stack
- Node.js the programming language that I used to code the programme.
- Axios a JS library I use to consume CoinMarketCap API
- Babel a JS Compiler for compatibility of older Node.js
- Roadmap
- Add a feature that a user can key in a certain amount of coins. (e.g.
/price 1 steem MYR) - Add a better naming for coins. (e.g. instead of steems-dollars, use SBD; instead of bitcoin, use BTC)
- Add a feature that a user can key in a certain amount of coins. (e.g.
- How to contribute?
This project is under MIT License and the source code is on Github (superoo7/CryptPriceBot). Any Issue and Pull Request can be send on GitHub. - Developer notes on installation
- Clone this Repo
- Run
npm installoryarn install - setup
.envfile with your own telegram API key (check.env.sample). You can get it from Telegram Bot Father. - For development mode, use
npm run devoryarn dev - For production use
npm run buildoryarn buildand adist/file will be generated. - Simply run
node dist/index.js, or using PM2,pm2 start dist/index.js
Posted on Utopian.io - Rewarding Open Source Contributors