CoinStats - A NodeJS Cryptocurrency Statistic Bot - Changed Image Upload Logic
New Features
What feature did you add?
I have changed the logic of uploading images to Spee.ch (LBRY Blockchain). The problem is that every image needs time to process and be saved correctly in the blockchain. Before the logic change I uploaded every image with an timeout between them (Async). It only worked sometimes, since an image could take longer to upload than the timeout provides. The logic change now uploads images sync instead of async.
Also I have added EOS as coin.
How did you implement it?
Basically did the logic changed from:
- Creating Graph (Async)
- Uploading Graph to blockchain (Async)
- Saving created URL for coin
- Next coin (same procedure)
- Generate markdown
To:
- Creating Graph (Step 1)
- Save graph name (Step 2)
- Next coin (Repeat Step 1-2 for all coins)
- Uploading Graphs to blockchain (Sync)
- Generate markdown
Have a look here
Roadmap
- V.0.3:
- Bar Charts shows only percentage change over last week
- Toggle Steemit auto posting via config
- V.1.0:
- More information (e.g different Charts for each Coin)
- Running on a Server and automatically post every day
- Custom messages for the coins
- Better overall layout
Proof for GitHub
benediktveith is my main GitHub account.
Check here for another proof
Posted on Utopian.io - Rewarding Open Source Contributors
Nice contribution. Will have a look at the code when I will add crypto information to my app :) Thanks
Congratulations @moonrise! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
You got a First Reply
Click on any badge to view your own Board of Honor on SteemitBoard.
To support your work, I also upvoted your post!
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Hey @moonrise 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