4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Tutorial:Muse Witness Price Feed Publishing

Install nodejs if you haven't

Follow insturctions on https://nodejs.org/en/download/package-manager/, choose the appropriate distribution for your operating system.

Install pm2

pm2 is a tool that makes nodejs program run in background.

$ sudo npm install pm2 -g

Download price feed publishing tool and it's dependencies

$ git clone https://github.com/Tadasu85/pricefeed.git
$ cd pricefeed
$ npm install

Edit configuration file

Open config.json with your editor, and replace account and active_key field with your own, just leave other fields as it is :

{
  "account": "Witness Account Name",  // modify it!
  "active_key": "Witness Active Private Key",  // modify it!
  "exchanges": [],
  "interval": 60,
  "peg_multi": 1
}

Remember to save it before going ahead.

Publishing price feed

$ pm2 start feed.js

Now price feed publishing with your account is done.

If this post helps you, please vote for my witness account david.

14 upvotes $1.89

Replies (5)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: