6

The lightning dev tutorial mentions the np2wkh or Pay to Nested Witness Key Hash address type, and I would like to find out more about it, so far without success.

Can anybody explain how they are different from other address types, e.g. P2PKH or P2SH?

Murch
  • 75,206
  • 34
  • 186
  • 622
Jasper
  • 163
  • 6

1 Answers1

6

Nested P2WPHK is just the normal P2WPKH embedded within a P2SH, to make it compatible with older wallets which don't recognize native witness addresses (bech32). Check out this for more info: https://bitcoincore.org/en/segwit_wallet_dev/#creation-of-p2sh-p2wpkh-address

meshcollider
  • 11,815
  • 4
  • 25
  • 53