Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 13 15:55

    riccardopersiani on master

    feat(readme): update cdt details (compare)

  • Jul 18 10:35

    riccardopersiani on query-id-consistency

    (compare)

  • Jul 18 09:05

    riccardopersiani on master

    feat: restore queryId type cons… Merge pull request #13 from pro… (compare)

  • Jul 18 09:05
    riccardopersiani closed #13
  • Jul 15 14:22
    D-Nice review_requested #13
  • Jul 15 14:22
    D-Nice review_request_removed #13
  • Jul 15 14:20
    pull-assigner[bot] review_request_removed #13
  • Jul 15 14:20
    pull-assigner[bot] review_requested #13
  • Jul 15 14:20
    D-Nice review_requested #13
  • Jul 15 11:38
    riccardopersiani assigned #13
  • Jul 15 11:38
    riccardopersiani opened #13
  • Jul 15 11:37

    riccardopersiani on query-id-consistency

    feat: restore queryId type cons… (compare)

  • Jul 15 10:35

    riccardopersiani on query-id-consistency

    (compare)

  • Jun 26 15:52

    riccardopersiani on master

    fix(readme): rebranding (compare)

  • Jun 18 14:11

    riccardopersiani on support-testnet-kylin

    (compare)

  • Jun 18 14:11

    riccardopersiani on master

    feat: add testnet kylin context… feat(readme): update with netwo… Merge pull request #12 from ora… (compare)

  • Jun 18 14:11
    riccardopersiani closed #12
  • Jun 17 17:31
    riccardopersiani review_requested #12
  • Jun 17 17:31
    riccardopersiani opened #12
  • Jun 17 17:30

    riccardopersiani on support-testnet-kylin

    feat(readme): update with netwo… (compare)

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?
ripal
@ripal07184052_twitter
@xtremist_gitlab Oraclize is off-chain oracle or on-chain oracle?
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?
ripal
@ripal07184052_twitter
@xtremist_gitlab Hello Everyone!!!Hope you are doing well. I want to run oraclize query on ropsten network. Is it possible?
Davi
@davilinfo
Hello everyone
Does EoS team already registered a DDoS attack and how it was resolved? I am gathering info regarding this subject.
I read recently a paper called Empirical Analysis of Denial-of-Service Attacks in the Bitcoin Ecosystem
the goal is to aggregate info on other types of consensus, specially DPoS
EoS is the biggest on on DPoS so I would like to have some info on it
I am a master student