I've been using the smartbit api to derive the next receiving address for a while now. However it only works for Legacy addresses and not Segwit addresses. I now have a Ledger Nano s and need a similar api to obtain the next address in my HD wallet without having to open Ledger Live. Is there such a service? If not, how can I calculate a series of addresses using the xpub / ypub only. (Javascript if possible)
2 Answers
There is https://iancoleman.io/bip39/ Enter your xpub into the BIP32 Root Key
box and in the BIP141 tab select the derivation path and address type.
There are few utilities now that let you derive addresses from a segwit xpub
Web Services
Open Source Projects