I would like to new address generate with this command
bitcoin-cli -testnet getnewaddress "adr1" "p2sh-segwit" but I get this msg:
error message: Wallet file not specified (must request wallet RPC through /wallet/<filename> uri-path). Try adding "-rpcwallet=<filename>" option to bitcoin-cli command line.
then I added the -rpcwallet command like that:
bitcoin-cli -testnet -rpcwallet=/home/bitcoin/.bitcoin/ getnewaddress "adr1" "p2sh-segwit" but I got an error again like this:
error message: Requested wallet does not exist or is not loaded```` what should I do? thank you