-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot send funds from Byron random address created via cardano-address #2058
Comments
Please contact me directly if you want the mnemonic I used here. |
Deleted pending transactions in wallet. Stopped wallet and then ran in memory without the --database flag. |
I was able to reproduce on testnet it with cardano-node
NOTE: I was not able to do the cardano-cli conversion with this, perhaps something changed there?:
|
Hello together, I am new to Git and not much of a developer ( a bit rusty experience in C#). It seems i got the exact same Problem but in mainnet with my real ADA.
Version 3.00 Daedalus , Node Version 1.24.2 |
@brandyandy30 it seems as if you're trying to redeem Ada which were given away as part of the initial funding. The wallet does not support this anymore. You need to get in touch with the Cardano Foundation for redeeming these old certificates. |
Hello Guys, |
Summary of problem
Details of my setup:
using testnet 1097911063
$ ./cardano-node --version
cardano-node 1.18.0 - linux-x86_64 - ghc-8.6
git rev 468f52e5a6a2f18a2a89218a849d702481819f0b
$ ./cardano-wallet version
2020.8.3 (git revision: a4fd49e)
$ ./cardano-cli --version
cardano-cli 1.18.0 - linux-x86_64 - ghc-8.6
git rev 468f52e5a6a2f18a2a89218a849d702481819f0b
cardano addresses is the version that was built using hydra and included with cardano-wallet-2020.8.3
--- GENERATE ADDRESSES ---
cat byron_mnemonic.prv | ./cardano-address key from-recovery-phrase Byron > byron_root.prv
cat byron_root.prv | ./cardano-address key child 0H/0H > byron_addr.prv
cat byron_addr.prv | ./cardano-address key public > byron_addr.pub
cat byron_root.prv | ./cardano-address key public > byron_root_addr.pub
cat byron_addr.pub | ./cardano-address address bootstrap $(cat byron_root_addr.pub) --network-tag 1097911063 --path 0H/0H > byron_addr.pay
cat byron_mnemonic.prv | ./cardano-address key from-recovery-phrase Byron > byron_root_hex.prv
cat byron_root_hex.prv | ./cardano-address key child 0H/0H --base16 > byron_addr_hex.prv
cat byron_addr_hex.prv | ./cardano-address key public > byron_addr_hex.pub
cat byron_addr.pay
37btjrVyb4KAsgG6MwaoRLv1dHMR4UXHTWPEAVQtdJoxs7ALCpXbrqdMh2nVaQ8sSDdmnSipQ4DsDpq6KkQxCRp6Ed7BdYD1moMWxwojUZWo9jU9m3
--- GENERATE KEYS ---
Convert it to a ./cardano-cli key.
echo "5880$(cat byron_addr.prv | cut -b -128)$(cat byron_addr.pub)" | xxd -r -p > byron_addr.prv.compat
./cardano-cli shelley key convert-byron-key
--byron-payment-key-type
--byron-signing-key-file byron_addr.prv.compat
--out-file byron_addr.sk
./cardano-cli shelley key verification-key --signing-key-file byron_addr.skey --verification-key-file byron_addr.vkey
Generate the corresponding bootstrap address
cat byron_addr.pub
| ./cardano-address address bootstrap
$(cat byron_root.prv | ./cardano-address key public)
--network-tag 1097911063
--path $DERIVATION_PATH \
--- CREATE, SIGN AND SEND A TRANSACTION ---
CARDANO_NODE_SOCKET_PATH=cardano.socket ./cardano-cli shelley query utxo --address 37btjrVyb4KAsgG6MwaoRLv1dHMR4UXHTWPEAVQtdJoxs7ALCpXbrqdMh2nVaQ8sSDdmnSipQ4DsDpq6KkQxCRp6Ed7BdYD1moMWxwojUZWo9jU9m3 --testnet-magic 1097911063
0464dd6a1ca7069a0d13b0455e1559c9cee066941c7321067fbf063ae3b83e1e 1 1000000000
./cardano-cli shelley transaction calculate-min-fee
--tx-body-file tx.draft
--tx-in-count 1
--tx-out-count 1
--witness-count 1
--byron-witness-count 1
--testnet-magic 1097911063
--protocol-params-file protocol_testnet.json
./cardano-cli shelley transaction build-raw$(expr $ (CARDANO_NODE_SOCKET_PATH=cardano.socket ./cardano-cli shelley query tip --testnet-magic 1097911063 | jq ".slotNo" --raw-output) + 20000)
--tx-in 0464dd6a1ca7069a0d13b0455e1559c9cee066941c7321067fbf063ae3b83e1e#1
--tx-out 37btjrVyb4KCgst68wGk1BLqxedGURS1TFfYzbgKLEg2Vd5FpHiwMs475DyBErqecorns7T6RwRgsoLRCVH9KUaUmdbibfF1DuhT8xyhxj4eem7ENf+500000000
--tx-out 37btjrVyb4KCgst68wGk1BLqxedGURS1TFfYzbgKLEg2Vd5FpHiwMs475DyBErqecorns7T6RwRgsoLRCVH9KUaUmdbibfF1DuhT8xyhxj4eem7ENf+499818703
--ttl
--fee 181297
--out-file tx.draft
./cardano-cli shelley transaction sign
--tx-body-file tx.draft
--signing-key-file byron_addr.sk
--testnet-magic 1097911063
--out-file tx.signed
CARDANO_NODE_SOCKET_PATH=cardano.socket ./cardano-cli shelley transaction submit
--tx-file tx.signed
--testnet-magic 1097911063
Error while submitting tx: ApplyTxError [LedgerFailure (UtxowFailure (MissingVKeyWitnessesUTXOW (WitHashes (fromList [KeyHash "05ad4b25e21e05f3fb5afd9f64d0513af063221aabb1ce647e2a1844"]))))]
TRY SENDING FROM CARDANO-WALLET AND DAEDALUS
curl -X POST http://localhost:8090/v2/byron-wallets/0001c553185feb4232516818409d925bb0bf0715/transactions -d '{"payments":[{"address":"37btjrVyb4KCgst68wGk1BLqxedGURS1TFfYzbgKLEg2Vd5FpHiwMs475DyBErqecorns7T6RwRgsoLRCVH9KUaUmdbibfF1DuhT8xyhxj4eem7ENf","amount":{"quantity":499818703,"unit":"lovelace"}}],"passphrase":"MyVerySecurePassphrase"}' -H "Accept: application/json" -H "Content-Type: application/json" | jq
{
"code": "created_invalid_transaction",
"message": "That's embarrassing. It looks like I've created an invalid transaction that could not be parsed by the node. Here's an error message that may help with debugging: HardForkApplyTxErrFromEra S (Z (WrapApplyTxErr {unwrapApplyTxErr = ApplyTxError [LedgerFailure (UtxowFailure (MissingVKeyWitnessesUTXOW (WitHashes (fromList [KeyHash "05ad4b25e21e05f3fb5afd9f64d0513af063221aabb1ce647e2a1844"]))))]}))"
}
The text was updated successfully, but these errors were encountered: