Coder Social home page Coder Social logo

oracle-monitoring's People

Contributors

apehex avatar jppade avatar nnn-gif avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

apehex nch7 brymes

oracle-monitoring's Issues

Build Oracle Monitoring Tool

We are looking for an experienced Go developer who is interested in writing a service which monitors DIA oracles performance metrics.

The service should take these parameters as input:

  1. Oracle address
  2. Chain ID
  3. RPC node

Given these input parameters, it should connect to the respective blockchain via RPC node and scan for oracle update events.
More precisely, the the following output quantities should be written into a database:

  1. Oracle creation date
  2. Oracle funding wallet address
  3. Transaction hash
  4. Block number
  5. Timestamp of block inclusion
  6. Asset which got updated
  7. Asset value
  8. Timestamp of data inside (part of the update)
  9. Gas usage
  10. Gas cost
  11. Total transaction cost
  12. Remaining gas funds in oracle funding wallet
  13. TX sender

As there is no straightforward way to get the Oracle creation date/block/hash please proceed as follows:
Check for the latest transaction in the DB. If there is no entry, iterate backwards in history and fetch all transactions until you hit the contract creation. If there is an entry, continue from this block until now.

Furthermore, please:

  • Write the service in Go
  • Use timescaleDB as database
  • Allow to input more than one contract address per blockchain and run the service on multiple blockchains in parallel
  • Develop comprehensive unit tests to ensure functionality and robustness of the oracle monitoring service
  • Deliver a docker container with entire functionality
  • Provide documentation for setting up the service and running tests

Resources:
Documentation for DIA oracles architecture
Demo oracles

If you have questions don't hesitate to ask. Ideally we can connect on our Discord server in order to discuss if necessary.

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.