First cut: it may work, with errors
For full flow see README
export RPC_URL=http://127.0.0.1:8545
export SUBGRAPH_URL="http://172.15.0.15:8000/subgraphs/name/oceanprotocol/ocean-subgraph"
export PRIVATE_KEY="xx"
where:
Install requirements if needed
pip install -r requirements.txt
Start:
python3 main.py
The actual true_val is fetch by calling function get_true_val is in prd_trueval/trueval.py.
We call get_true_val with 4 args:
Function returns true_val, which gets submited to contract
You need to change the function code and do some of your stuff. Now, it's just doing some random truevals
Content type
Image
Digest
sha256:0694f4e7e…
Size
431.2 MB
Last updated
over 3 years ago
docker pull oceanprotocol/pdr-trueval