I am playing around with cardano-wallet key derivation, and I have a mnemonic from which I've derived the root key, as well as account 0 public/private keys. Then, I imported a wallet using cardano-wallet
using the account extended verification key running the following command:
cardano-wallet wallet create from-public-key <WALLET_NAME> <EXTENDED_KEY><CHAIN_CODE>
Once the wallet finished syncing, I found there was some tADA in a few of the first addresses. I am now trying to create a transaction using cardano-wallet to spend the tADA. I run:
cardano-wallet transaction create <WALLET_ID> --payment 1000000@<RECIEVING_ADDRESS>
However, it then prompts me for a passphrase which I never set up, seeing as all I did was import the account public key. I try entering 10 random characters and it tells: I couldn't find a root private key for the given wallet: <WALLET_ID>. However, this operation requires that I do have such a key. Either there's no such wallet, or I don't fully own it
Is there any way I can import the root private key or (even better) the account extended signing key so that cardano-wallet can handle transaction creation for me, or do I need to manually derive private keys for each address?