Sending ADA, a Simple Transaction Guide
cardano-cli query utxo --testnet-magic 1 --address $(cat ~/preprodnet/wallets/wallet1/payment.addr)




Last updated
cardano-cli query utxo --testnet-magic 1 --address $(cat ~/preprodnet/wallets/wallet1/payment.addr)




Last updated
mkdir ~/preprodnet/txcardano-cli query protocol-parameters \
--testnet-magic 1 \
--out-file ~/preprodnet/tx/protocol.jsoncardano-cli transaction build-raw \
--shelley-era \
--tx-in <your TxHash from wallet1>#<the TxIx> \
--tx-out $(cat ~/preprodnet/wallets/wallet2/payment.addr)+100000000 \
--tx-out $(cat ~/preprodnet/wallets/wallet1/payment.addr)+0 \
--invalid-hereafter 0 \
--fee 0 \
--out-file ~/preprodnet/tx/tx1.draftcardano-cli transaction calculate-min-fee \
--tx-body-file ~/preprodnet/tx/tx1.draft \
--tx-in-count 1 \
--tx-out-count 2 \
--witness-count 1 \
--byron-witness-count 0 \
--testnet-magic 1 \
--protocol-params-file ~/preprodnet/tx/protocol.jsoncardano-cli query tip --testnet-magic 1cardano-cli transaction build-raw \
--shelley-era \
--tx-in <your TxHash>#<TxId> \
--tx-out $(cat ~/sanchonet/wallets/wallet2/payment.addr)+100000000 \
--tx-out $(cat ~/sanchonet/wallets/wallet1/payment.addr)+9899825039 \
--invalid-hereafter 1812000 \
--fee 174961 \
--out-file ~/preprodnet/tx/tx1.rawcardano-cli transaction sign \
--tx-body-file ~/preprodnet/tx/tx1.raw \
--signing-key-file ~/preprodnet/wallets/wallet1/payment.skey \
--testnet-magic 1 \
--out-file ~/preprodnet/tx/tx1.signedcardano-cli transaction submit \
--tx-file ~/preprodnet/tx/tx1.signed \
--testnet-magic 1