<p>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: <a href="https://bitcoincore.org/en/segwit_wallet_dev/#creation-of-p2sh-p2wpkh-address" rel="noreferrer">https://bitcoincore.org/en/segwit_wallet_dev/#creation-of-p2sh-p2wpkh-address</a></p>

CC BY-SA 3.0
2018-04-15T09:22:24.790Z
So `P2WPKH ` is the same as `P2WKH`? I guess that was the core of my confusion.
Jasper
CC BY-SA 3.0
2018-04-15T12:05:00.867Z
Yeah its just a shortened acronym because there are already so many characters :)
meshcollider
CC BY-SA 4.0
2022-07-06T12:21:36.410Z
Where can I read more about this Address types
Raj Saraogi
CC BY-SA 3.0
2018-04-15T08:55:38.667Z
2018-04-15T08:55:38.667Z
meshcollider
<p>The lightning dev tutorial <a href="https://dev.lightning.community/tutorial/01-lncli/index.html#setting-up-bitcoin-addresses" rel="noreferrer">mentions the <code>np2wkh</code></a> or <code>Pay to Nested Witness Key Hash</code> address type, and I would like to find out more about it, so far without success.</p>

<p>Can anybody explain how they are different from other address types, e.g. <code>P2PKH</code> or <code>P2SH</code>?</p>

<lightning-network><segregated-witness><address-format>
Qualities of "Pay to Nested Witness Key Hash"
Jasper
# Qualities of "Pay to Nested Witness Key Hash"

(Asked by: username_0 on 2018-04-15)

The lightning dev tutorial [mentions the `np2wkh`](https://dev.lightning.community/tutorial/01-lncli/index.html#setting-up-bitcoin-addresses) 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`?

**Tags:** lightning-network, segregated-witness, address-format


---

## 1 answers

### Answer by username_1 on 2018-04-15. Score: 6 | Accepted answer

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>

> **Comments:**
> **username_0**: So `P2WPKH ` is the same as `P2WKH`? I guess that was the core of my confusion.  
> **username_1**: Yeah its just a shortened acronym because there are already so many characters :)  
> **username_2**: Where can I read more about this Address types  

---

