Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 11 10:03
    vishnu-rai commented #100
  • Jun 16 2021 21:09
    aelmanaa edited #105
  • Jun 16 2021 21:09
    aelmanaa edited #105
  • Jun 16 2021 09:54
    aelmanaa opened #105
  • Jun 15 2021 10:08
    nft1126 commented #100
  • Jun 15 2021 10:02
    lhoenig commented #100
  • Jun 15 2021 09:58
    nft1126 commented #100
  • Jun 08 2021 15:07
    lhoenig commented #100
  • Jun 08 2021 14:52
    nft1126 commented #100
  • Jun 08 2021 14:34
    lhoenig commented #100
  • Jun 08 2021 14:34
    lhoenig commented #100
  • Jun 08 2021 14:13
    nft1126 commented #100
  • May 13 2021 21:53
    lhoenig commented #100
  • May 13 2021 18:37
    citizen-stig commented #99
  • May 12 2021 14:11
    lhoenig commented #100
  • Apr 02 2021 13:07
    cTatu commented #103
  • Mar 11 2021 09:31
    gskapka commented #78
  • Feb 12 2021 13:08
    ytrezq commented #78
  • Feb 12 2021 02:41
    ytrezq opened #104
  • Feb 09 2021 05:47
    kroos47 commented #103
Oraclize Support
@oraclize-support
@nicolas-siplis - in order to fix this we would need an update of our Ropsten client nodes and a re-sync which requires time. In the meantime you can use the Kovan testnet which should work fine
Nicolás Siplis
@nicolas-siplis
@oraclize-support thanks for the update, do you know of any faucets for Kovan? I'll need to redeploy my contract on the network
Oraclize Support
@oraclize-support
@nicolas-siplis this one should work fine https://gitter.im/kovan-testnet/faucet#
Nicolás Siplis
@nicolas-siplis
Yeah tried that but 0.001 ETH is too low for my needs. Found https://app.mycrypto.com/faucet which gives 0.01 3 times, which is just enough!
Oraclize Support
@oraclize-support
Ah thanks for sharing then ; )
zachrosen
@zachrosen
What's size limit when returning data from oraclized API? Can I return a map that's iterated over by contract?
Oraclize Support
@oraclize-support
@zachrosen - since the returned data is a string, you're limited either by what you're willing to pay for gas wise, or the block gas limit.
Nicolás Siplis
@nicolas-siplis
@oraclize-support Hi there! I'm wondering if there's any detailed documentation on the XML language used to parse query results. I thought it was pretty much a copy of JsonPath, but looks like that isn't actually the case
I know you can use XPath for XML as well as HTML, but I'm wondering how Provable's simplified XML-specific path specification works
Oraclize Support
@oraclize-support
Hi @nicolas-siplis, thanks for your question. As XML-specific we are using the xmltodict python module, you can have more details here: https://pypi.org/project/xmltodict
Nicolás Siplis
@nicolas-siplis
Thanks!
Oraclize Support
@oraclize-support
@wiskDev - you've got it!
Eric Vander Wal
@ericvanderwal
@oraclize-support , who should I contact for adding support to a L2 EVM compatible chain that is not on ethereum ?
Oraclize Support
@oraclize-support
@Hedge-FX have you tried importing the latest version? It should work fine with little to no changes: https://github.com/provable-things/ethereum-api/blob/master/provableAPI_0.6.sol
@ericvanderwal please send us an email, info@provable.xyz
1 reply
Minh Nguyen
@nhatminh12369
@oraclize-support Hi! Does provable working on Kavan test net at the moment? I am trying the YoutubeViews.sol and able to run the update method but the callback never get called.
Minh Nguyen
@nhatminh12369
Rinkeby doesn't seem to work too
DavideCl
@dave_95:matrix.org
[m]
I have the same issue, I can't see the __callback Txn by using Rinkeby Testnet
Minh Nguyen
@nhatminh12369
Hey @oraclize-support , btw, here is my query id on Kovan 0x1d241954e00599797de78a4030297f9e4c45b77a4f018e2ee68d748bb104017c, just in case u need it for investigation. I also try the https://app.provable.xyz/home/check_query but it unable to find my query. I am not sure if that tool only check for query on the main net?
Oraclize Support
@oraclize-support
Hi @nhatminh12369, will check shortly, that check query tool should work for testnet too
Hedge-FX
@Hedge-FX
Hello, im looking to pass a API response into my DeFi Smart contract. Any advice on handling the response and passing it into a function?
Oraclize Support
@oraclize-support
@Hedge-FX - the response comes as a string to your __callback function. From there you can do whatever you wish with it, including passing to to other functions etc.
Hedge-FX
@Hedge-FX
@oraclize-support fantastic thanks, im new to oracles
Hedge-FX
@Hedge-FX
@oraclize-support do you have any examples i could follow? I want to pass the_callback into a minter function
Minh Nguyen
@nhatminh12369
Hey @oraclize-support , I saw that my query on Kovan already received a __callback, however, the viewsCount is still empty meaning that the __callback didn't send a correct value
Oraclize Support
@oraclize-support
@Hedge-Fx the callback is the entrypoint so if you want to do anything with the result you can postprocess it within callback and then call your own minter function straight from there, there are plenty of examples in our official doc at docs.provable.xyz or on github in the ethereum-examples repo of the provable-things org
@nhatminh12369 please share here the txid of the callback on kovan or check yourself from the tx payload what was received by the callback method: there may be an issue with your query or with the way your callback parses the result
Minh Nguyen
@nhatminh12369
@oraclize-support This is the txid of the callback transaction on kovan: 0x0188b254d00cb09991de70547b4ada3a0d111c5d493d6c3f6c5f91afce356bab. I checked on Etherscan, the _result parameter is empty.
Oraclize Support
@oraclize-support
@nhatminh - what does your query solidity code look like?
Minh Nguyen
@nhatminh12369
function update() public payable
    {
        emit LogNewProvableQuery("Provable query was sent, standing by for the answer...");
        currentID = provable_query("URL", 'html(https://www.youtube.com/watch?v=9bZkp7q19f0).xpath(//*[contains(@class, "watch-view-count")]/text())');
    }
I just added the currentID parameter to store the query id, the rest is the same as the sample code in YoutubeViews.sol
Oraclize Support
@oraclize-support

@nhatminh12369 - unfortunately that sample code is deprecated (we will mark as deprecated soon, since there are a lot of users reporting the same issue) because the youtube html page retrieved by our engine misses the html element containing the number of views.
You can check that yourself running this command

`curl https://www.youtube.com/watch?v=9bZkp7q19f0` -o youtube.html

and check the content of the youtube.html\ page.

We suggest you to run the test above before running the query in order to be 100% sure that the html element you're looking for exists inside the page.

Minh Nguyen
@nhatminh12369
@oraclize-support it worked for me now when I try with my own API. However, it took 1h20 mins for the callback to be called on Kovan and that's very long (https://kovan.etherscan.io/address/0xCB511504a4Dd627a395d043a9C41a23A1CB47706). I tried ChainLink before and it usually took around 1-2 minutes to receive the callback call. Why does Provable take so long to make the callback call? Is it the same on other test nets and main net?

unfortunately that sample code is deprecated

btw, thanks for letting me know, I didn't notice that an html element was missing

Kisile
@Kisile
Anyone else been having issues today? Getting no __callbacks on rinkeby
@oraclize-support your service down or?
Kisile
@Kisile
Same for Kovan
Oraclize Support
@oraclize-support
I can confirm we are having some issues on some testnets, the ethereum-bridge component being used there isn't super stable unfortunately - on mainnet that's not being used. We’ll restore the service on testnet in the next few hours
1 reply
Dhanush
@Dhanush49294653_twitter
Hey @oraclize-support is provable implemented in polygon network?
Oraclize Support
@oraclize-support
Hi @Dhanush - the oracle is not implemented on Polygon, but token bridges are.
coiny123
@coiny123
hi all, there's a new EVM network called songbird. is there a way i can use the wolfram 'random number' question on songbird? i have to deploy the provable contract on songbird right?
Oraclize Support
@oraclize-support
@coiny123 - yes, you can use the ethereum-bridge for that: https://github.com/provable-things/ethereum-bridge
coiny123
@coiny123
@oraclize-support hey thanks but this is not on-chain right?
Oraclize Support
@oraclize-support
coin123 - what do you mean by on-chain?
Kisile
@Kisile
Still not getting callbacks on testnet
Hope this isn't a feature of main net
Dhanush
@Dhanush49294653_twitter
@oraclize-support when will provable be implemented in polygon network?
Dhanush
@Dhanush49294653_twitter
hi @oraclize-support provable is down in ropsten? and not getting _callback on kovan network.
Oraclize Support
@oraclize-support
Hello everyone, we are currently fixing kovan and ropsten and get back to you as soon as possible
0x1hack
@0x1hack
does provable random work on binance blockchain?
Oraclize Support
@oraclize-support
@0x1hack - we're not integrated there but you can use the ethereum-bridge if you want to on bsc: https://github.com/provable-things/ethereum-bridge