Closed academe-01 closed 2 years ago
hey @academe-01 just change the key/0/0
to key/0/1
to get the second address etc. Or just do a for loop to get the first X addresses
hey @mcdallas ! thanks for help! any idea if my ledger show "freshAddressPath": "49'/0'/0'/0/1" and it's segwit from what range should i start loop?
big thanks!
You should start from /0/1
since that’s the path ledger shows. For BIP49 addresses (starting with 3) use .address(‘ P2WPKH-P2SH’)
instead of ‘P2WPKH` in your example
Hello, I need derive all possible addresses from Ledger xPub.
I've tried this:
but it gives only 1 address. Any idea ?
Thanks.