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?

1 Answer 1

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

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

Your Answer

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

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