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

Start blockchain provider class #11

Merged
merged 6 commits into from
Aug 12, 2023
Merged

Conversation

ross-weir
Copy link
Member

Depends on #8

): Promise<Box<T>>;
}

export class DefaultBlockchainProvider extends Component
Copy link
Member Author

Choose a reason for hiding this comment

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

@arobsn I see nautilus uses a lot of gql, do you have any feelings on if we should go with that here or use REST api?

Copy link
Member Author

Choose a reason for hiding this comment

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

Gonna go with REST api for now for the following reasons, can update later if you have other feelings:

  • We will need REST for uexplorer, simpler to keep with one API type
  • I dont have much gql experience so more familiar to me

Copy link
Member

Choose a reason for hiding this comment

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

Oh, I'm sorry for the delay.

You are right. GraphQL is used in nautilus mostly because of cached responses and query flexibility, uexplorer will be a nice fit for ergomatic.

@ross-weir ross-weir marked this pull request as ready for review August 12, 2023 03:58
@ross-weir ross-weir changed the title [DRAFT] Start blockchain provider class Start blockchain provider class Aug 12, 2023
Base automatically changed from add-component-management-to-ergomatic to main August 12, 2023 11:07
}

if (items.length) {
yield items;
Copy link
Member

Choose a reason for hiding this comment

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

Sweet!

@arobsn arobsn merged commit dd160bc into main Aug 12, 2023
@arobsn arobsn deleted the start-blockchain-provider-class branch August 12, 2023 11:23
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.

2 participants