0

Followed the guide here to build preprod testnet wallets, was wondering however I can create the collateral utxo with cardano-cli ?

2 Answers 2

1

Sadly some of the developers.cardano.org documentation is outdated.

You need to use --tx-in-collateral to specify your collateral input, but might want to also use the --tx-out-return-collateral flag to specify your output.

2
  • Oh no I think my question is wrong - is there a way to even create the collateral input?
    – Hud
    Dec 1, 2022 at 12:59
  • There is nothing specific about a collateral input, you can use any input. In the past, this has been problematic as we did not have output return collateral, so the whole utxo was spend, therefore wallets introduced a term of collateral input setup to limit potential lost. Dec 1, 2022 at 15:37
0

I ended up using web wallets e.g. Eternl to create the collateral utxo. And used cardano-address and cardano-cli to create payment and stake .skey files.

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.