create account

Tutorial:Muse Witness Price Feed Publishing by davidguo

View this thread on: hive.blogpeakd.comecency.com
· @davidguo · (edited)
$7.58
Tutorial:Muse Witness Price Feed Publishing
![](https://steemitimages.com/DQmP6QYF6u6snoWVf6ufTSsScZZb9WFXG45iFRcz97ib1kQ/image.png)
# 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`.
👍  , , , , , , , , , , , , ,
properties (23)
authordavidguo
permlinktutorial-muse-witness-price-feed-publishing
categorymuse
json_metadata{"tags":["muse","witness","price","feed","publishing"],"links":["https://nodejs.org/en/download/package-manager/"],"app":"steemit/0.1","format":"markdown","image":["https://steemitimages.com/DQmP6QYF6u6snoWVf6ufTSsScZZb9WFXG45iFRcz97ib1kQ/image.png"]}
created2018-03-26 14:09:15
last_update2018-03-26 15:34:30
depth0
children5
last_payout2018-04-02 14:09:15
cashout_time1969-12-31 23:59:59
total_payout_value5.691 HBD
curator_payout_value1.888 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,069
author_reputation147,900,381,491
root_title"Tutorial:Muse Witness Price Feed Publishing"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id46,702,611
net_rshares2,990,122,238,852
author_curate_reward""
vote details (14)
@btsbear ·
cool
do it
properties (22)
authorbtsbear
permlinkre-davidguo-tutorial-muse-witness-price-feed-publishing-20180328t032121807z
categorymuse
json_metadata{"tags":["muse"],"app":"steemit/0.1"}
created2018-03-28 03:21:21
last_update2018-03-28 03:21:21
depth1
children2
last_payout2018-04-04 03:21:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length10
author_reputation-623,156,020,679
root_title"Tutorial:Muse Witness Price Feed Publishing"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id47,014,363
net_rshares0
@davidguo ·
Mr xiong,  I need your vote~
properties (22)
authordavidguo
permlinkre-btsbear-re-davidguo-tutorial-muse-witness-price-feed-publishing-20180328t102642854z
categorymuse
json_metadata{"tags":["muse"],"app":"steemit/0.1"}
created2018-03-28 10:26:45
last_update2018-03-28 10:26:45
depth2
children1
last_payout2018-04-04 10:26:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length28
author_reputation147,900,381,491
root_title"Tutorial:Muse Witness Price Feed Publishing"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id47,067,317
net_rshares0
@btsbear ·
cool
mygoodfriend,voted
properties (22)
authorbtsbear
permlinkre-davidguo-re-btsbear-re-davidguo-tutorial-muse-witness-price-feed-publishing-20180401t032702229z
categorymuse
json_metadata{"tags":["muse"],"app":"steemit/0.1"}
created2018-04-01 03:27:06
last_update2018-04-01 03:27:06
depth3
children0
last_payout2018-04-08 03:27:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length23
author_reputation-623,156,020,679
root_title"Tutorial:Muse Witness Price Feed Publishing"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id47,714,986
net_rshares0
@cob ·
$4.26
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.
👍  ,
properties (23)
authorcob
permlinkre-davidguo-tutorial-muse-witness-price-feed-publishing-20180326t153803599z
categorymuse
json_metadata{"tags":["muse"],"app":"steemit/0.1"}
created2018-03-26 15:38:03
last_update2018-03-26 15:38:03
depth1
children1
last_payout2018-04-02 15:38:03
cashout_time1969-12-31 23:59:59
total_payout_value4.258 HBD
curator_payout_value0.002 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length135
author_reputation28,093,007,195,816
root_title"Tutorial:Muse Witness Price Feed Publishing"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id46,718,334
net_rshares1,685,137,397,225
author_curate_reward""
vote details (2)
@davidguo ·
$4.26
Thanks~ Very glad to contribute to muse community, it's a very promising project~
👍  ,
properties (23)
authordavidguo
permlinkre-cob-re-davidguo-tutorial-muse-witness-price-feed-publishing-20180326t154907132z
categorymuse
json_metadata{"tags":["muse"],"app":"steemit/0.1"}
created2018-03-26 15:49:09
last_update2018-03-26 15:49:09
depth2
children0
last_payout2018-04-02 15:49:09
cashout_time1969-12-31 23:59:59
total_payout_value3.195 HBD
curator_payout_value1.062 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length81
author_reputation147,900,381,491
root_title"Tutorial:Muse Witness Price Feed Publishing"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id46,720,358
net_rshares1,685,207,805,065
author_curate_reward""
vote details (2)