Tutorial:Muse Witness Price Feed Publishing

in #muse7 years ago (edited)

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.

Sort:  

Awesome post david.
Well worth the resteem!
Thanks for the support. I'm about to update the community I will make sure to link to this.

Thanks~ Very glad to contribute to muse community, it's a very promising project~

cool
do it

Mr xiong, I need your vote~

cool
mygoodfriend,voted

Coin Marketplace

STEEM 0.25
TRX 0.20
JST 0.036
BTC 96147.07
ETH 3525.13
USDT 1.00
SBD 3.45