Elements/Liquid address types

Here’s a quick rundown on Elements addresses, in response to a question in the Liquid Community Telegram channel.

Hi fellow bitcoiners. Can anyone explain why sometimes LBTC address starts with LQ and some VJ?

source: https://t.me/liquid_community/21153

The short answer is that Elements addresses starting with “lq1” are Native Segwit outputs, while addresses starting with “VJL” are Wrapped Segwit outputs.

In Bitcoin, Native Segwit Bitcoin addresses start with “bc1”, while Wrapped Segwit addresses start with “3”.

Mark "Murch" Erhardt has a great explanation on his blog about the output types here: https://murch.one/posts/single-sig-output-types/

Since Elements is a fork of Bitcoin, its output types and address formats are inherited. Although they are the same, they differ in a few key ways:

- Elements transaction outputs can have “blinded” confidential asset types and amounts. Blinded addresses include an additional public key which is used to derive an ECDH shared secret between the sender and receiver. Since the secret blinding key can be derived by the receiver, they can “unblind” the output asset type and amount.
- Elements addresses have different Human Readable Parts (HRPs). For example a native segwit output Bitcoin address starts with “bc1”, while a blinded native segwit output Liquid address starts with “lq1”, and an unblinded/explicit version of the same type on Liquid starts with “ex1”.

Let me know if you have any questions or comments!