Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 04 17:57
    kbadinger commented #17
  • Aug 03 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)

Armaghan
@xtremist_gitlab
scroll down to the actions where u will see successfull callback being called on sept. 26
lemme give u hash
Oraclize Support
@oraclize-support
Very well, thank you. We are investigating.
there u go.
after this , none of the callbacks were successfull
and we loss almost 5k USD due to this.
Oraclize Support
@oraclize-support
Concerning the query id the one you receive in the callback function it is a eosio::checksum256 type so you first have to convert it to string
Armaghan
@xtremist_gitlab
Yes , its already being done.
we have our own algorithm for the comparison of eosio::checksum256
so thats no the issue ,
also , it was working until sept. 26th
Oraclize Support
@oraclize-support
Solved privately. Thanks @xtremist_gitlab for you patience and the useful feedback
ripal
@ripal07184052_twitter

Hey Everyone,
I hope you are good,
I am trying to implementing oracle service in the demo smart contract "addressbook".
I have successfully generated the abi and wasm file but when I was trying to run the execquery function of oracle so it is throwing me the following error

Error 3050000: Action validate exception
Error Details:
inline action's code account provableconn does not exist
pending console output: Sending query to Provable...

Oraclize Support
@oraclize-support
Hello @ripal07184052_twitter, in which network you testing this demo? Could you share your testing account name?
ripal
@ripal07184052_twitter
That means I have to first create account using any testnet?
Oraclize Support
@oraclize-support

Yes, you cannot call the Provable oracle on you local testnet, but you can use the Jungle public testnet for example where our connector is deployed.
You can generate your account keys on your desisered machine using cleos and then create your account on the jungle testnet here: https://monitor.jungletestnet.io/#account

Then you can deploy you contract code on the account you created and call its actions using cleos.

You could also start with this simple example: https://github.com/provable-things/eos-examples/tree/master/eosusdprice

ripal
@ripal07184052_twitter
ohk, thanks you@Oraclize Support
ripal
@ripal07184052_twitter
@oraclize-support Thanks for your quick response. But , I want to know that oraclize is fully open source right? Because Eos is also open source than, If provable connector you have deployed on Eos that it should be open source.
Oraclize Support
@oraclize-support
Our API is open source: https://github.com/provable-things/eos-api/blob/master/eos_api.hpp, our connector is not. Still you can see from any block explorer or using cleos its ABI and tables, and see if the code hash has changed.
ripal
@ripal07184052_twitter
@oraclize-support if I have my own blockchain network and I want to use oraclize than what is the procedure.
Oraclize Support
@oraclize-support

@ripal07184052_twitter, if you are running your own EOS private blockchain it is not possible to use the Provable oracle. You can use EOS Jungle public Testnet and the EOS Mainnet.

We only offer our oracle service for private blockchains that leverage an EVM; in that scenario, it is possible to use the ethereum-bridge, but EOS is not the case. Here is the link: https://github.com/provable-things/ethereum-bridge

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?