Qualities of "Pay to Nested Witness Key Hash"

4

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?

Jasper

Posted 2018-04-15T08:40:05.873

Reputation: 143

Answers

4

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

Posted 2018-04-15T08:40:05.873

Reputation: 8 735

So P2WPKH is the same as P2WKH? I guess that was the core of my confusion.Jasper 2018-04-15T09:22:24.790

1Yeah its just a shortened acronym because there are already so many characters :)MeshCollider 2018-04-15T12:05:00.867