Derive next HD segwit address from xpub/ypub

1

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)

David

Posted 2018-11-08T16:22:57.633

Reputation: 113

Answers

1

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.

Mike D

Posted 2018-11-08T16:22:57.633

Reputation: 1 571