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?

1 Answer 1


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

  • So P2WPKH is the same as P2WKH? I guess that was the core of my confusion.
    – Jasper
    Commented Apr 15, 2018 at 9:22
  • 1
    Yeah its just a shortened acronym because there are already so many characters :) Commented Apr 15, 2018 at 12:05
  • Where can I read more about this Address types Commented Jul 6, 2022 at 12:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.