RiskProtocol / core-protocol

2 stars 0 forks source link

Roll over with ChainLink #5

Closed mz7mz7mz7 closed 11 months ago

mz7mz7mz7 commented 1 year ago

We need to get all the data related to rebase directly from our own API endpoint. So ChainLink has to query it from our URL. https://docs.chain.link/getting-started/advanced-tutorial/ https://docs.chain.link/any-api/introduction/ https://docs.chain.link/any-api/get-request/introduction/

Let's build some PoC how it could work.

jiokeokwuosa commented 1 year ago

please which URL should we query to get the data?

jiokeokwuosa commented 1 year ago
mz7mz7mz7 commented 1 year ago

Notes from the call:

  1. data to be returned from oracle endpoint server: timestamp,NAV,underlying,signature
  2. we will use dynamic chain link oracle, ie not cron-based
  3. MZ to organize FTP endpoint for CJ to be able to test easily oracle endpoint just by substituting content of TXT File
mz7mz7mz7 commented 1 year ago

For point 3 @jiokeokwuosa - please maybe use https://pages.github.com , ie create any simple page yourself on your private github account and just leave there TXT file that you can always update just on GH directly.

mz7mz7mz7 commented 11 months ago

we decided not to use ChainLink