Typefully
@sbounmy
Log in
Using Bitcoin Core to Obtain xpub Key (listdescriptors)
Share
•
2 years ago
•
View on X
So I was finally able to get my xpub key (tpub for testnet) with Bitcoin Core. Note : it only works since v22
github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md
Install Bitcoin Core (pre compiled)
Prune block storage to avoid downloading whole blockchain
Open Configuration File. Then add this to use testnet (testing blockchain).
File > Create Wallet (make sure Descriptor Wallet is checked)
Open the node window in Menu Bar : Window > Console
Then type listdescriptors (see first post's image)