-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
): Promise<Box<T>>; | ||
} | ||
|
||
export class DefaultBlockchainProvider extends Component |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
} | ||
|
||
if (items.length) { | ||
yield items; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet!
Depends on #8