Witness Price Feed v3.0 Ready for Hive HF24

in HiveDevs4 years ago

This an update to the price feed script I had written in Node JS (https://hive.blog/witness-category/@drakos/steemjs-tools-witness-price-feed-in-nodejs). It now relies on Hive-JS instead of Steem-JS, and is ready for HF-24.

The release can be found here:
https://github.com/Jolly-Pirate/pricefeed/releases/tag/v3.0

Features

  • Application resilience with NodeJS restart on crash/exit.
  • Automatic RPC switching.
  • Supported exchanges: Binance, Bittrex, Huobi, Ionomy, Probit, Upbit.
  • USDT/USD correction.

Changes

  • Code update for HF24.
  • Added more RPC nodes to config.json.example.
  • Removal of Steem support (from the previous v2.0).

Installation

New Installation Instructions

git clone https://github.com/Jolly-Pirate/pricefeed
cd pricefeed
git checkout v3.0

Update Instructions from v2.0

git pull
git checkout v3.0

After the checkout, rebuild the docker image (./run.sh build) and restart it (./run.sh restart).

Or the npm way with npm install && npm audit fix && npm start.

Detailed setup instructions are in the README.md https://github.com/Jolly-Pirate/pricefeed/tree/v3.0


Available & Reliable. I am your Witness. I want to represent You.

🗳 If you like what I do, consider voting for me 🗳

Vote

Check my guide about Voting for Witnesses.
Go to https://wallet.hive.blog/~witnesses. Find my name and click the vote button.
Alternatively you can use Hivesigner to vote for me or set me as proxy

Sort:  

Thank you for updates and information on all of this. You imho are a wonderful witness and firsthand see how you are strong on your stances which is a good thing! imho
Many people have extra votes and here is one witness who not only interacts with the "NORMIES" but actually takes an active interest in dialogue outside echo chambers etc.....

Is the HF still on for the 22nd?

It's been pushed for another week. Hivemind is not ready yet. In fact, I suggested to @blocktrades that his team gets hivemind ready first, then set a date for the hardfork, instead of pushing it week after week. And that's how it's going to be.

Thanks for the update :)

Congratulations @drakos! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You distributed more than 32000 upvotes. Your next target is to reach 33000 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @hivebuzz:

Update for regular authors

Thanks for the information, but will this new update affect or make any changes to those that want to sign up into Hive?

The signups aren't affected.

Okay, that's great thanks.

@drakos,
I'm assuming this script still works in the latest HF?

Yes, it seemlessly keeps working in HF25, nothing to change afaik.

I will let you know.
I just upgraded my witness to the latest HF25.