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

Pass address index when registering address #159

Merged
merged 2 commits into from
Aug 16, 2024

Conversation

alex-stone
Copy link
Contributor

What changed? Why?

This makes it so that the SDK passes the address index when deriving and registering addresses so that we can have a strong guarantee that the addresses are listed in address index order.

Qualified Impact

This makes it so that the SDK passes the address index when
deriving and registering addreses.

This is important so that we can properly track the address index
on the backend and ensure we return addresses in the appopriate
order.
Copy link
Contributor

@John-peterson-coinbase John-peterson-coinbase left a comment

Choose a reason for hiding this comment

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

LGTM!

Should WalletAddress class expose a method to get the index?

@alex-stone
Copy link
Contributor Author

Should WalletAddress class expose a method to get the index?
I think that's something we can do, but not sure if we need to just yet 🤷

@alex-stone alex-stone merged commit 95dbb68 into v0.1.0 Aug 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants