Moving funds to a Shelley address
cardano-cli key convert-byron-key \
--byron-signing-key-file utxo-keys/payment.000.key \
--out-file utxo-keys/payment.000.converted.key \
--byron-payment-key-typecardano-cli address key-gen \
--verification-key-file utxo-keys/user1.payment.vkey \
--signing-key-file utxo-keys/user1.payment.skeycardano-cli address build \
--payment-verification-key-file utxo-keys/user1.payment.vkey \
--testnet-magic 42 \
--out-file utxo-keys/user1.payment.addrcardano-cli transaction build-raw \
--shelley-era \
--invalid-hereafter $(expr $(cardano-cli query tip --testnet-magic 42 | jq .slot) + 1000) \
--fee 1000000 \
--tx-in $(cardano-cli byron transaction txid --tx transactions/tx0.tx)#0 \
--tx-out $(cat utxo-keys/user1.payment.addr)+29999999998000000 \
--out-file transactions/tx1.rawLast updated
