Post
Topic
Board Bitcoin Technical Support
Re: Import YPUB via descriptors to Bitcoin Core Watch Only
by
ragnar dannesk gold
on 09/04/2023, 13:07:13 UTC
and deriving the first ten public addresses with the command

Code:
bitcoin-cli deriveaddresses "sh(wpkh([00000000/49h/0h/0h]xpub6BooyCvskY7PCnsrJ17tHEnEN8AVktxTiiYb6UpXxndhFYXnzVZGhcxJCibkCE3ZPZ4tGmo3eYRt7Ymx7FcVrvw1F7zJHf3RBpZT6QPUvRv/0/*))#ku5aja5a" "[0,9]"

What command would you type in to derive change addresses? (I imported the change addresses "internal\": true), but wasn't sure how to display addresses to cross check.

From memory, aren't change addresses just derived from a slightly different derivation path? (m / purpose' / coin_type' / account' / change / address_index) -> I attempted to change it to deriveaddresses "sh(wpkh([00000000/49'/0'/0'/1]xpub...." but got a checksum not matching error.