hi guys, I am a new developer in crypto.
i installed bitcoind and bitcoin-cli, so create watch only wallet by the below command:
bitcoin-cli -testnet createwallet testwallet true
so my testwallet has no private key, then i expect generate a new HD address with this command:
bitcoin-cli -testnet -rpcwallet=testwallet getnewaddress
but got this error:
error code: -4
error message:
Error: This wallet has no available keys
please help me, i want create my cold wallet that has a lot of slot to receive money without private key.