River Intelligence

Sign up for our curated weekly newsletter delivering exclusive market insights to your inbox.

Invest in Bitcoin.

green checkmark

Human Support

green checkmark

Track Performance

green checkmark

Recurring Buys

Ypub (Extended Public Key)


A ypub is a form of extended public key (xpub) which follows an additional standard defined in BIP 49. Xpubs, ypubs, and zpubs all allow a wallet to generate a deterministic tree of public keys, but each form of extended public key instructs a wallet to derive different address types. Specifically, ypubs instruct a wallet to derive P2SH-wrapped P2WPKH addresses.

P2WPKH addresses are SegWit addresses, but in order to maintain backwards compatibility, SegWit addresses can be wrapped in P2SH addresses in order to allow older wallets to send to SegWit addresses.