How to Set up Python Library for the Public Testnet

1. Requirements

Install pip3 which will deal with the packages dependencies:

sudo apt-get install python3-pip

2. Installation

Afterwards, we can fetch the python libraries from github and install it:

git clone cd python-graphenelib/

pip3 install –user -r requirements.txt python3 install –user

3. Usage

The usage of this library is well documented on

Create MPAs/UIAs with Python

We now create some Market Pegged assets and construct the price feed.

We can use cron to runt he price feed script on a regular basis:

*/15 * * * * /usr/bin/python3 /home/gph/testnet-pythonscripts/
*/15 * * * * /usr/bin/python3 /home/gph/testnet-pythonscripts/
0    * * * * /usr/bin/python3 /home/gph/testnet-pythonscripts/