Using only command line (no GUI), how can I create watch only wallet based on descriptor and get first unused address?
This is the descriptor:
"wpkh([00000000/84h/0h/0h]xpub6DP....xyz/0/*)#checksum"
this is the bitcoin-cli command to list addresses based on this descriptor:
./bitcoin-cli deriveaddresses "wpkh([00000000/84h/0h/0h]xpub6DP....xyz/0/*)#checksum" "[0,2]"
How to create actuall watch only wallet so that I can get automatically first unused address?