I am trying to send tokens from a wallet that I created with cardano-cli/cardano-wallet and I keep getting the following error when I try to sign the transaction:
This tells you that the sum of outputs plus the transaction fee is not equal with the input(s).
You need to calculate again (or to use cardano-cli transaction build, which calculates automatically the change).
Hello, thank you for your reply, here are the commands that I used to make the transaction. Also for a bit more context, I initially created the wallet and transferred some funds to it from my Nami wallet to test it but I have generated different payment addresses in the cli since I initially created the wallet as I was unable to transfer the funds back out of the wallet using the cli. I even tried to restore the wallet on Yoroi but when I did that it said that there was 0ADA in the wallet which confused me. I contacted Yoroi and they said that maybe it was because the wallet had multiple accounts or addresses that’s why the one that I restored had 0ADA in it even though I sent funds to the initial payment address that was generated in the cli when I first created the wallet. Just a quick sidenote, I am using the Blockfrost CLI as I cannot set up a node myself as my PC is really crap.
This is ur cli wallet? It looks like u have also 1 asset inside the wallet which probably must be included… and as @georgem1976 already said… use build instead build-raw
Oh yeah that’s probably the issue, I didn’t know how to include that in the transaction. I literally only started learning how to use the cli like 4 days ago. The guide I initially followed was this one here
Then yesterday I stumbled upon this and I just took the cli commands out and ignored the rest and that’s how I got the error above.
I’ve had a look at it but as I said I literally only started learning this 4 days ago and I barely understand what is going on. Would you be able to help me reconstruct my code because I’m clearly doing something wrong. Do you need my utxo query output?
Should be something like this (it will send all funds)
Please check again if the destination address is addr1q87mdjtg85m38gkfm0xgxhnt23l8rcgx8hwrud7zqkgf9qc6q2p2j5jc53298jsh0mz83ua985waezz036kwxntwa65slaww6a
I used the first command, the transaction build one and I got this error.
not found in blockfrost-cardano-cli. Using installed cardano-cli version 1.35.4 instead. cardano-cli: CreateFile "\\\\.\\pipe\\cardano": does not exist (The system cannot find the file specified.)
I have the environment variable set though I don’t understand why I’m still getting this error.
No that’s my problem I can’t sync the node because my PC is low on RAM and can’t handle running a node, hence the reason why I’m using the blockfrost cli.
Do I just export it in the command line? Or where do I run that export command? Sorry for the noob questions.
not found in blockfrost-cardano-cli. Using installed cardano-cli version 1.35.4 instead.
Invalid argument `cardano-cli'
Usage: cardano-cli
( Era based commands
| Byron specific commands
| Miscellaneous commands
)
Dear Ralph, we started a project last year that I think you may find interesting in the long term. We are going to submit a Proposal for Catalyst F10. The idea we are calling Integrated Centralized Error Management, or ICEM. With ICEM, we centralize the reporting, lookup, research, and solutioning of errors like the one you got in Cardano-CLI. The software, instead of presenting you with some esoteric error code (God, try to understand that garble!!), will also present you with the ICEM-provided input from the community on what it means, and how to solve it, as well as the error code. The solution is called CodaEA, which AlexD is also piloting on scanning the Cardano logs and identifying/reporting issues.
Our request to the community would be for IOHK to incorporate CodaEA as an ICEM system into the Cardano Node code, so that when it reports an error, it also references community input and links (e.g. to this forum) along with the code.
If you like this idea, please look for us when Fund10 gets underway and vote your support!