RPC: Derive wallet addresses #20991

issue monokh opened this issue on January 22, 2021
  1. monokh commented at 10:09 PM on January 22, 2021: none

    Is your feature request related to a problem? Please describe. It is not possible to simply derive the wallet's addresses. I have a need to find the address inside the HD wallet at a given HD path.

    Describe the solution you'd like

    • Derive address using the node i.e. derivewalletaddress(path) that returns the same as getaddressinfo

    Describe alternatives you've considered

    • Export xpub - not possible
    • Export the seed - dumpwallet only exports to file - cannot be used over network
    • deriveaddresses - requires xpub/xprv
    • listaddressgroupings + getaddressinfo for every address and find by hdkeypath - This is way too intensive

    Additional context Some context I found about xpub exporting explains that this is not possible: https://bitcoin.stackexchange.com/a/90149/106210

  2. monokh added the label Feature on Jan 22, 2021
  3. achow101 commented at 9:39 PM on October 26, 2022: member

    This is possible to do with descriptor wallets. listdescriptors can be used to get the descriptors for a descriptor wallet, and those can be used directly in deriveaddresses.

  4. achow101 closed this on Oct 26, 2022

  5. bitcoin locked this on Oct 26, 2023
Contributors
Labels

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-02 12:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me