feat: add address generation methods to UniFFI bridge#45
Merged
xdustinface merged 1 commit intov0.42-devfrom Mar 14, 2026
Merged
feat: add address generation methods to UniFFI bridge#45xdustinface merged 1 commit intov0.42-devfrom
xdustinface merged 1 commit intov0.42-devfrom
Conversation
|
This PR has merge conflicts with the base branch. Please rebase or merge the base branch into your branch to resolve them. |
- Add AddressInfo UniFFI record with address, path, used, and index fields - Add get_receive_address() returning next unused receive address for account 0 - Add get_addresses(account: u32) returning all external addresses for a BIP44 account - Both methods wire to the wallet's HD-derived address pools in ManagedWalletInfo - Return empty string / empty vec when no wallet is loaded (stub-safe) - Add unit tests for AddressInfo record and both stub behaviours Closes #43 Co-authored-by: Kevin Rombach <xdustinface@users.noreply.github.com>
4ee168d to
166178a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
get_receive_address()method to SpvClientget_addresses(account)method for listing wallet addressesAddressInfoUniFFI record (address, path, used status)Closes #43
Test plan