1

Having trouble create a key for an nft.

Code:

cardano-cli address key-gen \
 --verification-key-file payment.vkey \
 --signing-key-file payment.skey

Error:

error: Found argument 'address' which wasn't expected, or isn't valid in this context

Any help is appreciated

2
  • 1
    can you show the output of cardano-cli --version ?
    – wutzebaer
    Commented Aug 26, 2021 at 17:05
  • I'm getting the same error for cardano-cli version: 1.0.1.
    – robertwb
    Commented Oct 7, 2021 at 4:30

2 Answers 2

1

Do not build/use the client from https://github.com/input-output-hk/cardano-cli

0

Assuming your cardano-cli version is up to date, if you are typing in the command exactly as typed above, you will need to escape the line breaks like so:

cardano-cli address key-gen \
  --verification-key-file payment.vkey \
  --signing-key-file payment.skey
1
  • that was my first thought, but that doesnt lead to this error message
    – wutzebaer
    Commented Aug 26, 2021 at 17:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.