Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 09:40
    MEBoo commented #17
  • Aug 02 21:34
    kbadinger commented #17
  • Jul 06 11:02
    MEBoo commented #17
  • Jul 06 10:53
    MEBoo commented #17
  • Dec 06 2020 13:24
    kesar commented #17
  • Dec 03 2020 20:15
    kesar commented #17
  • Oct 26 2020 06:13
    HasithaAthukorala opened #17
  • Jun 30 2020 21:00
    abhi3700 closed #16
  • Jun 28 2020 00:32
    abhi3700 opened #16
  • May 22 2020 14:58

    riccardopersiani on rebranding

    (compare)

  • May 22 2020 14:58

    riccardopersiani on master

    Finalize rebranding (#15) * fe… (compare)

  • May 22 2020 14:58
    riccardopersiani closed #15
  • May 22 2020 14:58
    riccardopersiani assigned #15
  • May 22 2020 14:58
    riccardopersiani labeled #15
  • May 22 2020 14:58
    riccardopersiani opened #15
  • May 22 2020 14:57

    riccardopersiani on rebranding

    feat(readme): rebranding (compare)

  • May 22 2020 14:55

    riccardopersiani on rebranding

    feat: complete rebranding (compare)

  • May 21 2020 13:44

    riccardopersiani on master

    feat(readme): update CDT info (compare)

  • May 21 2020 13:40

    riccardopersiani on support-cdt-1.7.0

    (compare)

  • May 21 2020 13:40

    riccardopersiani on master

    Support CDT 1.7.0 (#14) (compare)

ripal
@ripal07184052_twitter
Actually I am building my own blockchain network like blockstack than , how can i enable Provable connector ? for , that I have to purchase than what is the next step?
Oraclize Support
@oraclize-support
@ripal07184052 - building your own block chain network sounds like a great project! However it seems like Blockstack is its own blockchain protocol entirely and we don't currently have our oracle implemented on that chain. Regarding new integrations such as these, we tend to go wherever there is demand for our oracle, and so we will note you request for integration with BlockStack with an eye to perhaps integrating there in the future.
ripal
@ripal07184052_twitter
I am getting this error:$ cleos --url http://monitor.jungletestnet.io set contract 123shahripal provabletest provabletest.wasm provabletest.abi -p 123shahripal@active
Failed to get existing code hash, continue without duplicate check...
error 2019-10-02T12:00:52.423 thread-0 main.cpp:3896 main ] Failed with error: unspecified (0)
Unable to resolve path 'provabletest'
Parth Kaloliya
@PKaloliya_twitter
Hey everyone,
I hope you are good and doing excellent,
I just wanted to know about eos-api.hpp @oraclize-support
Oraclize Support
@oraclize-support

Hello @PKalollya_twitter, the eos_api.hpp is the c++ header file that allows you to use our wonderful oracle on the EOS blockchain. This file contains all the functions that will empower your smart contract to use Provable. Here the link to the EOS API with further details: https://github.com/provable-things/eos-api

Please, find in our GitHub eos-examples repository some examples to see how it is easy to fetch data from the outside world: https://github.com/provable-things/eos-examples/tree/master/eosusdprice

For any doubts feel free to reach us here or you can have a look also at our documetation: https://docs.provable.xyz/#eos

ripal
@ripal07184052_twitter
Hi..@oraclize-support, can you elaborate what is connector exactly? why it doesn't support private chain? And also tell me that, if I want to implement oraclize into my own private blockchain, that what I have to do?
Parth Kaloliya
@PKaloliya_twitter
Thanks, @oraclize-support, I have gone through the examples of eos-api. So suppose, if any person wants to implement this oracle into their network so they have to just call eos-api.hpp into their smart contracts right ? (correct me if I am wrong)
Also, If I write a one smart contract lets consider addressbook (the example of eos smart contract) in that if I want to implement oraclize functinality so I have to include eos-api.hpp and then implement a function execquery() right? @oraclize-support
Oraclize Support
@oraclize-support

@ripal07184052_twitter, the connector is the Provable smart contracts that listen for incoming data queries. The Provable connector may be different depending on the blockchain it is integrated on. For example, on the blockchain you are using, Blockstack, we do not have a connector yet so you cannot use Provable with Blockstack yet.

The Provable connector is something that the Provable team implement when we decide to integrate the service with a new blockchain. Our policy is basically to wait for some requests from customers like you before starting a new integration.

Oraclize Support
@oraclize-support

@PKaloliya_twitter, yes in order to use the oraclize_query(..) you have to import the eos_api.hpp. You can use the function oraclize_query(..) everywhere in you contract, but you have to create always the callback action in order to receive the result since Provable works in an async way. Basically, you make a request, and we call your action callback in your contract providing you the data you asked for.

In the addressbook example you can ask for a qurey with oraclize_query in an already existing action or create a new action like execquery, then create the callback action to receive the result from Provable

@@PKaloliya_twitter, also to test it you will need to use a public testnet like the Jungle Testnet: https://monitor.jungletestnet.io/#home
Parth Kaloliya
@PKaloliya_twitter
@oraclize-support Thanks for your reply, in the last reply you mentioned that I have to check this on jungle test net so May I know the reason the same? that why only jungle test net, because I have read that EOS is an opensource platform and you are giving support to EOS so oraclize might be opensource right? (correct me if I am wrong)
Parth Kaloliya
@PKaloliya_twitter
@oraclize-support Ohh, I have just read your previous reply which you have given to @ripal07184052_twitter, I think he was discussing the same, I also wanted to know that what will be the possible situation to integrate this oraclize facility to my own network (and yeah my network is not any other blockchain support it is only a fork of eosio). For enable facility of oraclize onto my network what type of information you will need? Obviously, if you are not providing a connector to any blockchain so you are doing it for free right? what will be the charges to implement a connector for my own network.
ripal
@ripal07184052_twitter

Hey everyone, I hope you are good and doing excellent.
I have just created my account on jungle testnet and set my contract on my account. my contract is doing nothing but it has a just execquery function of provable oraclize. Now I want to execute that so I am typing this command

cleos --url http://monitor.jungletestnet.io:8888 push action ripalshah111 execquery '[]' -p ripalshah111@active

so it is throwing an error

Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked.
Error Details:
transaction declares authority '{"actor":"ripalshah111","permission":"active"}', but does not have signatures for it under a provided delay of 0 ms, provided permissions [{"actor":"ripalshah111","permission":"eosio.code"}], provided keys [], and a delay max limit of 3888000000 ms
pending console output: Sending query to Provable...

Please look into it
Armaghan
@xtremist_gitlab
Cleos set account permission ripalshah111 active —add-code
@ripal07184052_twitter
ripal
@ripal07184052_twitter

Thank you @xtremist_gitlab $ cleos --url http://monitor.jungletestnet.io:8888 push action ripalshah111 execquery '[]' -p ripalshah111@active
executed transaction: 1620a86780737a3eb1502f502013d761786fcb5d44d0ac5d0e434524702980ca 96 bytes 565 us

ripalshah111 <= ripalshah111::execquery ""

Sending query to Provable...

provableconn <= provableconn::querystr {"sender":"ripalshah111","sversion":1,"timestamp":0,"queryId":"6544052fea8d56cc7b10db3bde00d762a244e...

{"v":[1,1],"t":0,"o":"ripalshah111","d":"URL","q":"6a736f6e2868747470733a2f2f6d696e2d6170692e63727970746f636f6d706172652e636f6d2f646174612f70726963653f6673796d3d454f53267473796d733d555344292e555344","f":0,"p":65,"i":"62d700de3bdb107bcc568dea2f0544655ada571e4bfe02eb1cff27d3a8e644a2"} I am not able to understand the response .

ripal
@ripal07184052_twitter
@xtremist_gitlab Can you tell me ? if I am calling execquery function than provable will call callback function and what the response will come?
Armaghan
@xtremist_gitlab
Now search your contract on junglenet explorer and see for yourself, what was the response of the action calling callback.
@ripal07184052_twitter
ripal
@ripal07184052_twitter
image.png
@xtremist_gitlab Not getting any response. Here I am attaching screenshot.
Armaghan
@xtremist_gitlab
@ripal07184052_twitter You need to see action history in order to see the callback with sent params.
ripal
@ripal07184052_twitter
image.png
this one?
Armaghan
@xtremist_gitlab
Yes @ripal07184052_twitter
Its working just fine. What do u need now?
ripal
@ripal07184052_twitter
How can i get value of EOS to USD price like 3.47.USD value.?? How can i use this now ? if this is ASCII value than how can i get value like 3.47.USD?
Armaghan
@xtremist_gitlab
This is Vector of ASCII values
Talking about “ Result “
Convert it , simple
ripal
@ripal07184052_twitter
from ASCII to ?
Armaghan
@xtremist_gitlab
Just see the ASCII table, you will get it.
It will start making sense, and you will feel like the king of the World..
Or Queen, i believe in equality. Anyways.
ripal
@ripal07184052_twitter
Thanks a lot @xtremist_gitlab
ripal
@ripal07184052_twitter
@xtremist_gitlab That means I can take any API of json, xml format and In the result I will get in ASCII values only ? right?
bankerneel
@bankerneel
Hey Guys, I am going through the provable oracle and I get to know that eos_api.hpp is depended on the provableconn smart contract so can I know where can I find the provableconn smart contract?
ripal
@ripal07184052_twitter
Oraclize store the data on-chain or off-chain?
Armaghan
@xtremist_gitlab
@ripal07184052_twitter yes
Why would they store data? They bridge the gap between off-chain data and on-chain data.
@oraclize-support right?
ripal
@ripal07184052_twitter
@xtremist_gitlab off-chain or on-chain? what is authenticity proof exactly?
Armaghan
@xtremist_gitlab
They have different types of proof. You can give it a read on their documentation website.
ripal
@ripal07184052_twitter
@xtremist_gitlab Thanks a lot. But why authenticity proof needed?
Armaghan
@xtremist_gitlab
For customer satisfaction I guess.
@ripal07184052_twitter no problem.
bankerneel
@bankerneel
Hey, Is there anyone who can guide me where can I find the SC of provableconn
bankerneel
@bankerneel
@oraclize-support Hey, I am going through the provable oracle and I get to know that eos_api.hpp is depended on the provableconn smart contract so can I know where can I find the provableconn smart contract?