Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 25 23:47
    Amaris101 opened #109
  • Apr 25 23:46
    Amaris101 commented #108
  • Apr 24 01:45
    Amaris101 opened #108
  • Feb 23 19:29
    oliviera9 opened #107
  • Jan 28 21:57
    chitokiser opened #106
  • 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
Philip JonsΓ©n
@philipjonsen
this is all I could find from 2017, https://peakd.com/eos/@m-i-k-e/the-eos-crowdsale-contract-explained but does that work today? or whats the best way to handle smart contracts 2022?
Oraclize Support
@oraclize-support
@phillipjonsen - what are you trying to achieve?
Philip JonsΓ©n
@philipjonsen

Im trying to upgrade my contracts and also explore why I have different grants and all kinds of stuff, like tezos I have 4 different adresses the delegate binance and other big stuff. These adresses are filled with billions Binance Delegator
tz1eogbwM5NdoojKEvvSnjYGcJapZgADRK3m
Spendable Balance: 20,680,968.621 XTZ (48,662,319.16 EUR / 1,425.9528 BTC)
Delegate: Binance Baker
Events:βœ…βŽπŸ€‘πŸŒš

binancedelegator

πŸ‘‘ Binance Delegate
tz1S8MNvuFEUsWgjHvi3AxibRBf388NhT1q2
Spendable Balance: 21,770.55 XTZ (51,226.11 EUR / 1.5011 BTC)
Tokens: 1 OBJKT, 666 OBJKT, 1 akaOBJ, 1 OBJKTCOM
Full Balance: 4,867,148.356 XTZ
Staking Balance: 52,124,837.761 XTZ (983 delegators, 6515 rolls)
Events:βœ…βŽπŸ€πŸ‘‹πŸ’°πŸπŸ€·πŸ»β€β™‚οΈπŸ”ΊπŸ‘‰πŸ™…

binancedelegate

πŸ‘‘ CryptoSweden
tz1S8e9GgdZG78XJRB3NqabfWeM37GnhZMWQ
Spendable Balance: 755.378 XTZ (1,777.40 EUR / 0.0521 BTC)
Tokens: 1 OBJKT, 1 akaOBJ, 1 KT1LMA…PnY9, 1 OBJKTCOM, 1 CA
Full Balance: 235,575.432 XTZ
Staking Balance: 2,336,305.94 XTZ (845 delegators, 292 rolls)
Events:βœ…βŽπŸ€πŸ‘‹πŸ’°πŸπŸ€·πŸ»β€β™‚οΈπŸ”ΊπŸ‘‰πŸ™…

cryptosweden

πŸ‘‘ Foundationbaker4
tz3bTdwZinP8U1JmSweNzVKhmwafqWmFWRfk
Spendable Balance: 432,000.735 XTZ (1,016,497.73 EUR / 29.7865 BTC)
Full Balance: 1,565,279.06 XTZ
Staking Balance: 11,338,765.543 XTZ (13 delegators, 1417 rolls)
Events:βœ…βŽπŸ€πŸ‘‹πŸ’°πŸπŸ€·πŸ»β€β™‚οΈπŸ”ΊπŸ‘‰πŸ™…

foundationbaker4

Hopefully I can get help from coinfirm that is leading in tracking blockchain movements and that kind of stuff
and I also want my blockchain diplomas ;D
Philip JonsΓ©n
@philipjonsen
I was just able to get hold of 1,3 million with InstaDapp and there DSA(defi smart account) finally something is happening. I dont wanna put 8 million in gnosis vault by mistake again, dealing with smart contracts is hard.
Oraclize Support
@oraclize-support
@philipjonsen I don’t think this is the right channel for this discussion, we cannot really help, this channel is to discuss the integration of the oracle service, please stay in topic
Philip JonsΓ©n
@philipjonsen
Yeah im sorry for that @oraclize-support Im just looking for some help or something to point me in a good direction. Im not going to write any more about my issues not regarding oraclize.
Thalesia
@ThalesiaCapital_twitter
@oraclize-support Hi! any new chains supported? Polygon is available now? Will be added new chains soon? Thanks!
Joseph Anderson
@devlancer412
@oraclize-support Hi! How I can use provably in my contract?
Oraclize Support
@oraclize-support
Hi, please have a look at docs.provable.xyz
Joseph Anderson
@devlancer412
@oraclize-support I have already read that site. But there is only older version and github also less than solidity 0.6.0. But I use > 0.8.0. Can you provide me last version of provably API?
RonaldMaule
@RonaldMaule
Screen Shot 2022-05-31 at 3.37.02 PM.png
Hello @oraclize-support, I am trying to make a simple smart contract to learn how to use oraclize to execute scripts. Below are screenshots of my smart contract, docker file, and response from the ethereum bridge. I am able to send and receive responses but no matter what I do the result is always "null". I am using a local blockchain through truffle and ganache and I am pinning the ipfs multi hash using piΓ±ata.cloud. Also, my script is a python file which prints the word "hello" so I am expecting the result of the query to be "hello".
Screen Shot 2022-05-31 at 3.37.42 PM.png
Screen Shot 2022-05-31 at 3.38.12 PM.png
Oraclize Support
@oraclize-support
@RonaldMaule - Thanks for reaching us. Provable oracle is live on Ethereum mainnet and Goerli, Kovan, Ropstein and Rinkeby testnets. You should choose one and deploy your contract there. Then, could you detail the transactions you are sending on-chain?
RonaldMaule
@RonaldMaule
Thank you, @oraclize-support. I am curious, and I forgot to mention this, but I was able to send url type queries and I got the correct results back, so the issue seems to be specific to the computation data source. Does this indicate that the computation queries should work even on the local network?
Oraclize Support
@oraclize-support
@RonaldMaule - it may be that you're IPFS file is not accessible - could you try pinning it via infura instead and see if that works?
RonaldMaule
@RonaldMaule
@oraclize-support pinning it with infura does not work either. Maybe there is an issue with the Dockerfile? I don't know if this means anything but the "url" type queries get a response very quickly while the computation ones take almost a minute.
Oraclize Support
@oraclize-support
That timing is to be expected, however it should work just fine! Have you tried with the sample ones first?
RonaldMaule
@RonaldMaule
Yes, I have tried delegated-math and I am getting the following error
Screen Shot 2022-06-03 at 10.18.00 AM.png
Thalesia
@ThalesiaCapital_twitter
@oraclize-support Hi! any new chains supported? Polygon is available now? Will be added new chains soon? Thanks!
Oraclize Support
@oraclize-support
Hi @ThalesiaCapital - we are always looking to add new chains! Polygon is not currently available but it's on our list of future integrations!
rawinsonde
@rawinsonde
Hi @oraclize-support having issues with this query: 0xd30e13852a94e89d0dcfd1bc378fe7d0955d67147557567df812d589cc9a5a9d didn't get a callback and when checking the query on your site it said query found, but at the same time query not found.
Oraclize Support
@oraclize-support
Hi @rawinsonde, checking!
Oraclize Support
@oraclize-support
@rawinsonde - Here is the callback, https://etherscan.io/tx/0x5ca3211ed7b368644beadbc8b0e289b909c3437a4f2c9ff53ba6c4d83a54ce28
apologies for the inconvenience
rawinsonde
@rawinsonde
@oraclize-support that's perfect, thank you!
RonaldMaule
@RonaldMaule
Hello @oraclize-support, for this query "f833a76493ffcafb68cf7f19f7d8772bd603c2a72f11b0da624f7baeea9f61d0" I am getting an ap_fallback error. What is this error/what could be causing it?
Oraclize Support
@oraclize-support
Hi @RonaldMaule, thanks for asking - that is an internal error which reports that the requested proof have errored (I see you've asked for TLSNotary) and it has fallen back to the Android Proof one (abbreviated with ap).
RonaldMaule
@RonaldMaule
@oraclize-support that makes sense, thank you!
RonaldMaule
@RonaldMaule
Hello @oraclize-support, I was trying to test queries on the website and found that the computation queries seem to run forever. I let one of the random examples run for about 10 minutes and it was loading the entire time. Is this normal or is there an issue with the computation data source?
Oraclize Support
@oraclize-support
Hi @RonaldMaule - we've managed to reproduce the above, we'll let you know when is fixed, thanks for reporting it
RonaldMaule
@RonaldMaule
Hello @oraclize-support, are there any updates on the issue mentioned above?
Oraclize Support
@oraclize-support
Hello @RonaldMaule - sorry, due to other priorities we had to postpone this. We are checking in this moment what is going on and we'll update you on the progress
RonaldMaule
@RonaldMaule
@oraclize-support thank you, I appreciate it
Oraclize Support
@oraclize-support
@RonaldMaule - we've found the source of the problem, hopefully we should be able to fix it within tomorrow morning
RonaldMaule
@RonaldMaule
@oraclize-support thank you again. Would the problem effect all computation queries or just the test queries on the website?
Oraclize Support
@oraclize-support
@RonaldMaule - The issue is limited to computation only. We are still working on a solution
Oraclize Support
@oraclize-support
@RonaldMaule - Thanks for your patience. The problem with computation if fixed: now, the test query tool is working as expected. Notice that computation datasource is slower than the others, i.e. it may take up to 90 s to get the response.
RonaldMaule
@RonaldMaule
@oraclize-support thank you
Jomol Jaison
@jomoljaison

pragma solidity ^0.4.22;
import "github.com/provable-things/ethereum-api/provableAPI_0.4.25.sol";

contract WolframAlpha is usingProvable {
event LogNewProvableQuery(string description);
event LogNewTemperatureMeasure(string temperature);

string public temparature;

function __callback(bytes32 _myid,string memory _result) public
{
    require(msg.sender == provable_cbAddress());
    temparature= _result;
    emit LogNewTemperatureMeasure(temparature);
}

function update() public payable
{
    emit LogNewProvableQuery("query sent ,waiting for answer...");
    provable_query("WolframAlpha","Temaparature in  london");

}

} while calling update it showing message "The transaction has been reverted to the initial state.
Note: The called function should be payable if you send value and the value you send should be less than your current balance.
Debug the transaction to get more information."

i send 1 ether for update,still showing this message
Oraclize Support
@oraclize-support
@jomoljaison - could you link here the failing transaction?
Jomol Jaison
@jomoljaison
@oraclize-support it is working now
Jomol Jaison
@jomoljaison
howto connect local api to contract
Jomol Jaison
@jomoljaison
i want result in json format
Oraclize Support
@oraclize-support
@jomoljaison - I would need to understand better your use case. In which environment do you need to elaborate the result? Can you elaborate more on this?
2 replies
Oraclize Support
@oraclize-support

@jomoljaison - With computation datasource you can execute a custom script in a sandboxed Amazon Web Service virtual machine and retrieve the execution std output. Probably the URL datasource suits better your needs.

I want to store all api result / or I want to show all result in smartcontract
Re your request here, actually it is not possible to retrieve all fields for an ID with a single request to Provable. Let me link you this useful answer https://ethereum.stackexchange.com/questions/6121/parse-json-in-solidity/6128#6128.
As the user correctly writes, you may:

  1. create a new API method which returns you all fields formatted in a simple way to parse, e.g. comma separated, then use URL datasource;
  2. make multiple calls to Provable.