Using Stellar SDK and account on Ledger
Using Stellar SDK and account on Ledger
Loading saved threads...
Laimonas Simutis · External communityPost link
External question — Stellar Stack Exchange
Author: Laimonas Simutis
Original post: https://stellar.stackexchange.com/questions/4603
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
Perhaps what I am trying to do is not possible, but here is what my goal is:
I want to transfer XML stored on my ledger device to another account using Stellar SDK. I have the 24 worked mneumonic, was able to enter it into the offline version of
https://github.com/iancoleman/bip39
and get private/public keys.
But now when I try to create a transaction I get "tx_bad_auth", which I am assuming is due to the wrong public/private key pair I am using?
Has anybody attempted something like this? I know I could transfer the funds using my ledger wallet, but trying to see if I could do the same thing with my own code.
Quote
Report
Laimonas Simutis · External communityPost link
External answer — Stellar Stack Exchange
Author: Laimonas Simutis
Original post: https://stellar.stackexchange.com/a/4618
License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/
Adaptation: HTML converted to plain text; contact email addresses removed.
OK, figured it out what's going on here. I was using an incorrect keypair to sign the transaction.
If you have lumens in your ledger wallet, and want to sign the transactions using its private key, you can enter your mnemonic here
https://iancoleman.io/bip39/
(or on the locally stored version), and then grab the BIP39 Seed value from it and use it to load the privatekey.
Quote
Report
Post Reply
Checking account access…