Skip to content
New issue

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

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

Already on GitHub? # to your account

Ensure the caller is required to provide the diversifier index for address derivation #508

Closed
pacu opened this issue Aug 29, 2022 · 1 comment

Comments

@pacu
Copy link
Contributor

pacu commented Aug 29, 2022

Suggestion from @nuttycom
#491 (comment)

public func deriveUnifiedAddress(seed: [UInt8], accountIndex: Int) throws -> UnifiedAddress

change API so that the caller is required to provide the diversifier index; with unified addresses, we definitely want to avoid address reuse where possible.

@pacu
Copy link
Contributor Author

pacu commented Sep 16, 2022

This has been dropped to favor get_current_address and get_next_address APIs for rolling diversified addresses

cc @nuttycom

@pacu pacu closed this as completed Sep 16, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant