Address build error while following the guide

Hello! My aim is to create a native token on testnet and have deployed a relay node on my server using the downloaded launchpad configs. I’m following the guide and up until the 4th step the output I’m getting is consistent with the one in the guide.

However after issuing this command in the 4th step:

$ cardano-cli address build --payment-verification-key pay.vkey --out-file pay.addr --testnet-magic 3

The output I’m getting is:

Command failed: address build  Error: Invalid key.

As a noob I’m completely puzzled what to do next. The version of cardano-node I have:

$ cardano-node --version
cardano-node 1.26.0 - linux-x86_64 - ghc-8.10
git rev 0337288793987780f87501e1aea5e46517e6a1ba

$ cardano-cli --version
cardano-cli 1.26.0 - linux-x86_64 - ghc-8.10
git rev 0337288793987780f87501e1aea5e46517e6a1ba

The CLI itself seems working, for instance I can query UTXO’s without error. Thanks in advance for any help!

One needs to use --payment-verification-key-file instead of --payment-verification-key if the verification key is stored in a file.

(Also, it’s probably best not to post .skey files online, even if they’ll just be used on testnet.)

1 Like

Ah, the facepalm moment! I wish there was an option to delete the post :stuck_out_tongue: I generated new keys in the meantime. Thank you for the help!

1 Like