Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize Orakl Network API through orakl-cli #336

Merged

Conversation

martinkersner
Copy link
Member

@martinkersner martinkersner commented Mar 5, 2023

Description

This PR connects orakl-cli with Orakl Network API to enable creation of:

  • Chain (list, insert, remove)
  • Adapter (list, insert, remove)
  • Aggregator (list, insert, remove)

Environment variable

  • ORAKL_NETWORK_API_URL - URL to connect to Orakl Network API

It will be necessary to implement validation of inserter adapter and aggregator #339

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.

Deployment

  • Should publish npm package (orakl-cli)

@martinkersner martinkersner marked this pull request as ready for review March 5, 2023 13:41
@martinkersner martinkersner merged commit 66ad141 into master Mar 5, 2023
@martinkersner martinkersner deleted the i-335/feat/initialized-orakl-api-through-orakl-cli branch March 5, 2023 13:42
{
"function": "PARSE",
"args": ["result", "list"]
"name": "Bybit-ticker-BTC-USDT",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General structure in naming of feeds looks like CEXName-X-Y
Is there any reason why we put ticker in only Bybit ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is good finding! It is mistake.

At some point I thought there were more queries than one for Bybit, therefore I wanted to distinguish between them. Then, I realized I was wrong but did not fix this one. If you have time, can you please make a bugfix for this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. I will create an issue and fix it.

@bayram98
Copy link
Contributor

bayram98 commented Mar 6, 2023

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Define Orakl Network API Adapter and Aggregator through orakl-cli
2 participants