What is Paymentwithstake Address

I’m right now in this step


after register the certificate. I try to create draft transaction
the command is like this

> cardano-cli shelley transaction build-raw \
> --tx-in b64ae44e1195b04663ab863b62337e626c65b0c9855a9fbb9ef4458f81a6f5ee#1 \
> --tx-out $(cat paymentwithstake.addr)+0 \
> --ttl 0 \
> --fee 0 \
> --out-file tx.raw \
> --certificate-file stake.cert

is the paymentwithstake.addr same with payment.addr that we create before or we must create new wallet.addr ?


A simple transaction needs one input, a valid UTXO from payment.addr , and two outputs:

  • Output1: The address that receives the transaction. 2) The address to send the change
  • Output2: The address that receives the change of the transaction.

This also makes no sense to me, looking for an answer.

@avilsmeier – I don’t follow your reply… how does it relate to the question, i.e. that paymentwithstake.addr is not referenced in the preceding docs, and isn’t resolved by cardano-cli?

This is surely simply a typo: it should be payment.addr, instead of paymentwithstake.addr.

It’s a “null TX” that is sending the UTXO minus min. fee and minus keyDeposit back to itself, and attaching a certificate in the TX.

Thanks for answering my question. I’m also think the same thing. I consider to think that the paymentwithstake.addr is payment.addr.
But at the last step to register my stakepool I got an error
like this
Error while submitting tx: ApplyTxError [LedgerFailure (DelegsFailure (DelplFailure (DelegFailure (StakeDelegationImpossibleDELEG (KeyHashObj (KeyHash “xxx”))))]

I don’t know if this issue is related to the error.