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 install
oryarn install
- setup
.env
file with your own telegram API key (check.env.sample
). You can get it from Telegram Bot Father. - For development mode, use
npm run dev
oryarn dev
- For production use
npm run build
oryarn build
and 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
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Thank you too moderator
@superoo7 Well done bro, this bot is going to help us a lot. You're truly awesome :)
Thanks for stopping by haha
Hey @superoo7 I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
I would suggest adding API from coinmarketwatch.com & livecoinwatch.com too because not all coins are on cmc :)
Thanks for the suggestion. Currently, we are just checking steem and sbd price only, so should be fine haha.
thanks, happy today
Thats awesome! im using it right now lol
Thanks for finding it useful 😁
cool project. I tried out the bot. Good to get the price :-) so easily.
just a suggestion
The command "/price steem-dollars", is there a way to still get an answer instead of an error, if people type in "/price steem-dollar" without "s" cos quite easy to not type in the "s".
Nice one, please can i get added to the team malaysia telegram group
哦。你要进来我们中文组吗?要背起我们的口号。不然团长会生气的。
普通话:十四是十四,四十是四十
粤语:痴线蜘蛛条蜘蛛丝痴住支树枝