provable-things / fabric-api

Provable API for Hyperledger Fabric Chaincodes
https://docs.provable.xyz/#fabric
MIT License
12 stars 13 forks source link

Computation query to Hyperledger Fabric with Oraclize. #3

Open SirJ0han opened 5 years ago

SirJ0han commented 5 years ago

Hi,

I was wondering if there is any way to make a computation query with Hyperledger Fabric. My problem is that I want to consult a price of energy from an api but I have an Hyperledger Fabric network. I know in EOS this is possible following this http://docs.oraclize.it/#eos-advanced-topics-computation-data-source but with Hyperledger Fabric I'm afraid this is not possible.

Am I right? I'm sincerely grateful for any ideas or suggestions.

SirJ0han commented 5 years ago

With computation query I mean query with headers. In order to consult the price that I want is necessary to send a token in a header request.

riccardopersiani commented 5 years ago

The computation datasource is not yet available for Hyperledger Fabric, but we have added the implementation of the computation to our roadmap for the fabric-api.

SirJ0han commented 5 years ago

Okay, I get it. Thank you very much for your attention.

D-Nice commented 5 years ago

re-opening this until it's implemented