hyperledger-cacti / cacti

Hyperledger Cacti is a new approach to the blockchain interoperability problem
https://wiki.hyperledger.org/display/cactus
Apache License 2.0
344 stars 286 forks source link

feat(connector-chainlink): add skeleton implementation - oracle streams #3530

Open petermetz opened 2 months ago

petermetz commented 2 months ago

Description

The minimal setup we need to have a connector within the API server installed which can stream price updates on a public oracle.

Acceptance Criteria

  1. New plugin directory added with compliant package.json and compiler settings as usual.
  2. Test ledger and end to end tests for verifying that the functionality works
  3. The only feature we need for now is the oracle observation. Check if we also want to publish data to oracles through it.
  4. Tests need to be passing.
  5. Use ConnectRPC for streaming the data.
  6. Make sure to have t he test cases cover the CRPC streaming through the generated API client.