I am trying to sign the tx :
cardano-cli transaction submit
–tx-file tx.signed
–testnet-magic 1
error msg:
Command failed: transaction submit Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraBabbage (ApplyTxError [UtxowFailure (UtxoFailure (FromAlonzoUtxoFail (ValueNotConservedUTxO (Value 9497624338 (fromList )) (Value 8997624338 (fromList )))))])
Anybody know what whent wrong ?
Best regards,
ok, I think i understand, that i dont need to pay the 500 ADA deposit,
and i should modify this command:
cardano-cli transaction build-raw
${tx_in}
–tx-out $(cat payment.addr)+${txOut}
–invalid-hereafter $(( ${currentSlot} + 10000))
–fee ${fee}
–certificate-file pool.cert
–certificate-file deleg.cert
–out-file tx.raw
With this numbers:
ADA: 9497624338
stakePoolDeposit: 500000000
fee: 196521
txOut: 8997427817
I dont understand exactly how i should calculate this.
Do i have the do the hole, Register stake pool (page guide) or can i start from: Find your balance and UTXOs .?
Best regards,
This didnt work.
cardano-cli transaction build-raw
${tx_in}
–tx-out $(cat payment.addr)+9497624338
–invalid-hereafter $(( ${currentSlot} + 10000))
–fee 196521
–certificate-file pool.cert
–certificate-file deleg.cert
–out-file tx.raw
Why don’t you use cardano-cli transaction build
, which will calculate the fee and the change correctly?
1 Like
I did follow every command in the coincashew guide. I think i do not have to pay the 500 ADA deposit fee again, since i registered already once.
Is this cardano-cli transaction build
, in the guide?
Now it worked! I did have to take the: echo txOut: ${txOut} :
txOut: 8997427729 and add 500000000 = 9497427729
Command:
cardano-cli transaction build-raw
${tx_in}
–tx-out $(cat payment.addr)+9497427729
–invalid-hereafter $(( ${currentSlot} + 10000))
–fee ${fee}
–certificate-file pool.cert
–certificate-file deleg.cert
–out-file tx.raw
Thanx! Best regards,