I'm trying to use cardano-cli
to control the addresses controlled by my Yoroi wallet, so I thought the first thing to do is to import the keys and addresses. I did this:
$ # Type the seed phrase for the Yoroi wallet into a file phrase.txt.
$ cat phrase.txt | cardano-address key from-recovery-phrase Shelley > root.prv
$ cat root.prv | cardano-address key child 1852H/1815H/0H/0/0 | cardano-address key public --with-chain-code | cardano-address address payment --network-tag mainnet
$ # Type the seed phrase for the Yoroi wallet into a file phrase.txt.
$ cat phrase.txt | cardano-address key from-recovery-phrase Shelley > root.prv
$ cat root.prv | cardano-address key child 1852H/1815H/0H/0/0 | cardano-address key public --with-chain-code | cardano-address address payment --network-tag mainnet
The output is "addr1v..." but in the Yoroi the 0th address is "addr1q...", so they are very different. What am I missing? My ultimate goal is to get the addresses and keys I need to build and sign transactions using cardano-cli
, and I'm stuck at even getting the right addresses using cardano-address
.
The output is "addr1v..." but inFollowing the Yoroiinstructions from the cardano-addresses
README.md, I was able to generate a "delegated payment address" that matches the 0th address is "addr1q..I see in Yoroi." However, so they are very different. What am I missing? My ultimate goalcardano-cli transaction sign
requires a --signing-key-file
, which is normally generated using cardano-cli address key-gen
, and I don't know how to get a cardano-cli-style signing key file from the addresses and keysstuff I needcan get from cardano-address
.
I believe cardano-wallet
can be used to build and signmake payment transactions using, but AFAICT only cardano-cli
, and I'm stuck at even getting can be used to mint tokens; I don't see anything about minting tokens in the right addresses usinghelp for cardano-addresswallet
.