比特股见证人喂价程序调试教程
要求:墙外得vps 运行ubuntu 16.XX 以上版本
1) cd ~
2) sudo apt-get update
3) sudo apt-get install git pip virtualenv
4) git clone https://github.com/Zapata/bitshares-pricefeed.git

5) cd bitshares-pricefeed
6) pip install virtualenv
7) virtualenv -p python3 wrappers_env/
8) source wrappers_env/bin/activate

9) python setup.py install
10) cp examples/baip2.yaml ./
11) nano baip2.yaml

关闭窗口,修改配置文件baip2.yaml
#The producer name(s)
producer: education
改为你自己的见证人账号
12) cd bitshares-pricefeed
source wrappers_env/bin/activate
bitshares-pricefeed –configfile ~/bitshares-pricefeed/baip2.yaml update –dry-run
测试是否能取市场价格


出现下面窗口内容说明取价试验成功。

13) bitshares-pricefeed –configfile ~/bitshares-pricefeed/baip2.yaml update –active-key=XXXXXXX
这里的XXXXXXX 是你见证人资金账号的私钥
14)如果到这里,说明你可以喂价了。下面大家做个corn计划,每5分钟更新喂价或者手动更新。
附件1:公会喂价程序调试指导手册
附件2:NBS喂价程序修改方法