[Guide]:How to set up muse price feed on Docker

in docker •  6 years ago  (edited)

muse

Step1 Use below docker command to download muse-pricefeed-docker image,
docker pull museblockchaindocker/muse-pricefeed

Step2 Run container:
docker run --name muse-pricefeed -itd museblockchaindocker/muse-pricefeed

Step3 Enter container:
docker exec -it muse-pricefeed /bin/bash

Step4 Use editor to set config.json file(witness name and active private key) and save it.
config.json format is like that:
{
"account": "Witness Account Name", // name of your muse witness account, modify it
"active_key": "Witness Active Private Key", // private active key of your muse witness account, modify it,
"exchanges": [],
"interval": 60,
"peg_multi": 1
}

Step5 Use the following commands to start:
pm2 start feed.js

Done, muse price feed is working now.

If this post helps you, please vote for my muse witness "wallet", thank you very much.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!