1

Now I am experimenting to mint a token on cardano testnet I have installed the followings like deadalus wallet for testnet and cli tools as well.Then I recived ada from the testnet to the testnet deadalus wallet Then I have followed thease Instructions over here.

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

cardano-cli address build \
--payment-verification-key-file payment.vkey \
--out-file payment.addr \
--mainnet

cat payment.addr

From the last command which i have executed given me an ada address when I am pasting that address on deadalus wallet it is showing me the address is invalid. I couldnt find much about this from official documentation as well. What should i do now? Where am i going wrong?

1 Answer 1

0

Anytime you do things on testnet, you need to replace the --mainnet flag in your CLI commands with the --testnet-magic 1097911063 flag. The address you built above is a mainnet address, which is incompatible with testnet.

2
  • Can You give an example script I am seeing this error on my terminal Invalid option --testnet'`
    – arunwebber
    Commented Feb 11, 2022 at 15:18
  • sorry, forgot to include the "magic" option. Edit was applied above ^
    – zhekson
    Commented Feb 11, 2022 at 15:35

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.