Coder Social home page Coder Social logo

Comments (3)

bertani avatar bertani commented on June 27, 2024

Hello @maurelian, the reason why we have chosen not to write any extensive tutorial/documentation on the ethereum-bridge tool, is that this is still highly experimental and subject to breaking changes (as specified in the README).
Specifically, we have plans to change a lot the way you would interact with this tool in the coming weeks so please be patient for some more weeks until we roll this out :)

All your questions are around the internal workings of the Oraclize contracts and architecture so its understanding is of limited utility given its wiring-only use. Most of your questions can find an answer by reading our public Ethereum contracts code here.

  • when you call oraclize_query, the connector is called and the Oraclize engine starts computing the relevant answer - which is then sent back to the calling contract
  • the callback address is the address Oraclize uses to send back data to the calling contracts
  • the connector is where you find most of the Oraclize onchain logic, it is the gateway to our offchain engine

I hope this helps.

from ethereum-bridge.

maurelian avatar maurelian commented on June 27, 2024

Thanks very much for the response. I appreciate it and understand this is a young tool!

the callback address is the address Oraclize uses to send back data to the calling contracts

But my callback address is a non-contract account.

So you're sending msg.data to a non-contract account? That's not something I'd considered as useful previously. There would be no logs generated. Is bridge then reading some data from the transaction receipt?

from ethereum-bridge.

bertani avatar bertani commented on June 27, 2024

I am not sure I understand your question.

The callback is the transaction Oraclize sends back to the calling contract. Let's say your contract A calls out to Oraclize via oraclize_query. Oraclize will send back the result with a new transaction (the callback one), sent from a given Oraclize account (the callback address) to the calling contract (A).

Does that make sense to you?

from ethereum-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.