Just setup my first nodes and I now want to send some ADA using Cardano-cli to my Daedalus Wallet. When using Cardano-cli, you first need to ‘draft’ your raw transaction:
As you can see I have used a Daedalus generated address with the --tx-out option. But this gives me the following errormessage: option --tx-out: Failed reading: invalid address
This transaction assumes you are sending the full value of the UTXO to the new address. You can use a fee of 190000 lovelace for most transactions. Save yourself some trouble by using that instead of going through the step of calculating it exactly. You can follow the Cardano documentation on creating simple transactions here:
Thanks for your answer. But it’s not so much about leaving the TTL and fee blank. This is just used to setup a draft transaction.
It’s about the Address error message I receive with the address I use at the tx-out option (the error message is “…Failed reading: invalid address”.
This is an address generated in the Daedalus Wallet and this address is also longer (contains more characters) than addresses generated using (for example) Cardano-CLI.
So there are no problems when I use Cardano-cli-generated-addresses, but when I use an address generated by Daedalus, it will not work.
I’ve successfully sent from cli to Daedalus many times, so it’s for sure doable. I would double check that the address was copy/pasted correctly and not missing or adding characters. Also check that you are not mixing testnet and mainnet wallets
Both checks done. I’m on testnet with my nodes (where I use Cardano-cli) and I use the testnet version of Daedalus. Next I copy/paste an address from Daedalus Testnet (to receive payments) and use that address with Cardano-cli (also on testnet) to Send ADA to it. But Cardano-cli does not recognise this address…
I’m using the following versions:
Daedalus Testnet version: 2.4.1 build 15062 / Cardano Node version: 1.21.1
Cardano-cli version: 1.21.1
Notes:
Addresses created using Cardano-cli are much shorter in length than addresses created in Daedalus. Maybe that has something to do with it?
you would need to sign it with the relevant payment key (secret) and then broadcast it on the network. If you stop at this step, your tx is unknown to the network and there is no error message if the construction is correct.