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
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
Oraclize Support
@oraclize-support
@0x1hack - ignore the above, we are integrated on bsc mainnet and the random ds is available there too
Oraclize Support
@oraclize-support
Hello everyone - ropsten and kovan service are back working
Leon Alvarez Del Canto
@LeonAlvarez
is there any guide to use provable on bsc?
Oraclize Support
@oraclize-support
@LeonAlvarez - all the existing documentation holds for BSC too, since it's an EVM compatible chain. http://docs.provable.xyz/
Dhanush
@Dhanush49294653_twitter
Hi @oraclize-support i am still not getting _callback on kovan and ropsten network.
ryuhei0x
@ryuhei0x
@oraclize-support , I sent a provable query spending some rinkeby eth but didn't receive tx for callback yet.
Is the service functional on rinkeby network?
Here is the query id that was sent. 0x7ef8a6ed31e931a5d2b0170131f1a828ffb12e1a13bb40674cc29ee485a3e13e
I am curious if the service is fully functional on mainnet at this moment because I had some troubles with that on mainnet as well in the past.
Can you please confirm if you are 100% sure with mainnet service?
@oraclize-support
Oraclize Support
@oraclize-support
Hi @ryuhei0x - here's the callback, unfortunately I saw there was an error due to the fact that all the attempts to retrieve the IPFS multihash through our gateway ran into timeout. Are you sure to have uploaded the zip correctly?
ryuhei0x
@ryuhei0x
yes, I am sure.
I tried another query and got callback txn properly but result param is empty
0x2d3d649f29c9feb642be168280cd3b675470add866198a3f06d8c82681ef390b
here is the query id.
when I ran the script on my local, I am getting result properly and I also downloaded uploaded ipfs and confirmed the script was properly uploaded.
do you have any insight on this issue? @oraclize-support
ryuhei0x
@ryuhei0x
Here is another example.
I built very simple script that prints a simple string and sent a query using that ipfs.
Here is the zip file which was uploaded to ipfs. https://ipfs.io/ipfs/QmecFXMij1VsitoNzoBKPYizKsX4mCxXj4RpD3BXNcCUMb
Here is the query id. 0xce58f76f5be42dd201b676fe702f76ee59bbbf378279344c3b16f1d497bc3e70
This time, I didn't get any callback txn. Would you take a look into that? @oraclize-support
Oraclize Support
@oraclize-support
ryuhei0x - sure we will and get back to you
ryuhei0x
@ryuhei0x
any news? @oraclize-support
Oraclize Support
@oraclize-support
ryuhei0x - rinkeby can't be used at the moment as we are waiting for a node of ours to be synced
Can you retry the query on kovan? We increased the timeout of for the download of the multihash at 2mins, so it should be working now
Oraclize Support
@oraclize-support
Hello everyone, rinkeby testnet service has been restored
TKHuang
@TKHuang
@oraclize-support is rinkeby testnet still working??
I can't get my callback txn, I'v wait for 10 mins
Sh1kamaru4
@Sh1kamaru44_twitter
Hi does anyone know if there is an updated version of ProvableAPI for solidity version ^0.8.0?
Oraclize Support
@oraclize-support
Hi, the latest version on github should work fine with 0.8!
ryuhei0x
@ryuhei0x
@oraclize-support , seems like rinkeby is still having issues with returning callback txn.
ryuhei0x
@ryuhei0x
Could you please check the issue and let me know when it gets back to be used? @oraclize-support
JeanGalt1957
@JeanGalt1957
Hey folks - for whatever reason I cannot get provableAPI_0.5.sol to deploy on remix no matter what I do...any suggestions?
Oraclize Support
@oraclize-support
Hi @JeanGalt1957, are you importing it using the github link?
TheCryptoCracks
@TheCryptoCracks_twitter
Hi ya beautiful nerds. Can a script running in the t2.micro access an ethereum node and get blockchain data? Thanks!
TheCryptoCracks
@TheCryptoCracks_twitter
ethers.js or web3.py?
Oraclize Support
@oraclize-support
@TheCryptoCracks - it can access external APIs so long as you have them available!
14gautam
@14gautam
@oraclize-support, I am trying the example at https://github.com/provable-things/truffle-starter. The test step "Callback should have logged a new ETH price" is failing after waiting for 5 mins. Is this example still valid? Any help with this or any beginner example with truffle will be greatly appreciated. Thank you
sarem eskandary
@saremeskandary
hi. is there api for solidity V8 . if not how can I implement it on V8.4?
Oraclize Support
@oraclize-support
Hi @14gautam - we've just tried that repository and it does appear to have some issues due to older versions of npm plus the ethereum-bridge, so we'll look into that fix. Meanwhile, have you tried our examples that use truffle here: https://github.com/provable-things/ethereum-examples/tree/master/solidity/truffle-examples?
@saremeskandary - the latest version in our repo is for 0.6 and is here: https://github.com/provable-things/ethereum-api/blob/master/provableAPI_0.6.sol. If you need 0.8 we are accepting pull requests as ever, otherwise we will get round to updating it sooner or later.
NFT-C0NTACT
@NC0ntact_twitter
Hey guys I really need some help. I need to get some data from an Array to my Contract through an oracle. So essentially I have a smart contract that needs to get the returned data from the oracle contract, but I cannot figure out how to do this, been struggling with it for a couple of days now :/
Oraclize Support
@oraclize-support
HI @NC0ntact - where do you get your data from? You can call an external API via the provable oracle ala: https://github.com/provable-things/ethereum-examples/blob/master/solidity/KrakenPriceTicker.sol
NFT-C0NTACT
@NC0ntact_twitter
I get my data from my website which is a json file. Or from IPFS no matter, the main problem is getting that data to my real contract and not only on the provable one
Oraclize Support
@oraclize-support
@NC0ntact - "getting that data to my real contract and not only on the provable one" <- can you explain that part a bit more?
NFT-C0NTACT
@NC0ntact_twitter
@oraclize-support sure thing. So I have my smart contract which mints NFTs. When the person hits the mint button, a function will be activated, which creates some attributes for that token, one of them depends on the rarity of this item. The rarity is stored offchain in a json file, an array with 4500 values, each value for each token. Now to get that rarity from the Json File, I need to use an oracle, because I cannot get it in any different way (as far as I know), so I send a oracle which gets the data. Cool the rarity is now stored in the contract that has the oracle function, but I cannot send it automatically to my NFT contract, for it to use that rarity to decide which attribute that token should get
NFT-C0NTACT
@NC0ntact_twitter
@oraclize-support you gave up on me mate? :*)
Oraclize Support
@oraclize-support
@N0contact - once you have the rarity in your oracle contract, you just need your oracle __callback fxn to call a fxn in your NFT contract, passing along that rarity as an argument.
NFT-C0NTACT
@NC0ntact_twitter
@oraclize-support you the king
Beatz 748
@748Beatz_twitter
image.png
@oraclize-support hi, https://gist.github.com/Beatz748/0c721617ce0817224dd523a5440dad5b, my code is not working. In remix ide there is QueryId and no result. This queryId not found in app.provable. What's a problem?
vishnu-rai
@vishnu-rai

@oraclize-support I am trying the code from provable documentation
// SPDX-License-Identifier: GPL-3.0
pragma solidity > 0.6.1 < 0.7.0;
import "github.com/provable-things/ethereum-api/provableAPI_0.6.sol";

contract ExampleContract is usingProvable {

string public ETHUSD;
bytes32 public queryId;
event LogConstructorInitiated(string nextStep);
event LogPriceUpdated(string data,string price);
event LogNewProvableQuery(string description);
event LogCallbackCalled(string data);

constructor() public payable {
provable_setCustomGasPrice(10000000000);
emit LogConstructorInitiated("Constructor was initiated. Call 'updatePrice()' to send the Provable Query.");
}

function __callback(bytes32 myid, string memory result) public override {
emit LogCallbackCalled("Callback called");
if (msg.sender != provable_cbAddress()) revert();
ETHUSD = result;
emit LogPriceUpdated("Update done",result);

}

function updatePrice() public payable {
if (provable_getPrice("URL") > address(this).balance) {
emit LogNewProvableQuery("Provable query was NOT sent, please add some ETH to cover for the query fee");
} else {
emit LogNewProvableQuery("Provable query was sent, standing by for the answer..");
queryId = provable_query("URL", "json(https://api.pro.coinbase.com/products/ETH-USD/ticker).price");
}
}
}

The __callback function is not called on the rinkbey network and the queryId I am getting is showing does not exist on query status search.