-
Notifications
You must be signed in to change notification settings - Fork 41
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
Implementing getWallet functionality #27
Conversation
cd6f347
to
ffe000f
Compare
walletsModels.push(wallet); | ||
} | ||
for (const wallet of walletsModels) { | ||
const addressList = await Coinbase.apiClients.address!.listAddresses( |
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.
Are we fetching these all synchronously?
Curious if we can easily fetches these concurrently, and then wait for all the responses before stitching them back together?
Not blocking, but this is much easier in JS than in ruby to do (and easiest in golang 😂).
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.
Looks good, had one performance-related question. Non-blocking, but would be nice to have a ticket to implement later!
What changed? Why?
addressCount
parameter and addingaddressModels
deriveAddress
methodQualified Impact