<p>L - Legacy, Non-P2SH (Pay to script hash) address prefix</p>

<p>3 - P2SH prefix that's backwards compatible to the M prefix. When I say backwards compatible, I mean that there is a 3 address and an M address that point to the same address (Reference: <a href="https://blog.trezor.io/litecoins-new-p2sh-segwit-addresses-843633e3e707" rel="nofollow noreferrer">https://blog.trezor.io/litecoins-new-p2sh-segwit-addresses-843633e3e707</a>)</p>

<p>M - Current P2SH address prefix</p>

<p>Litecoin WIF Prefixes: 6 (0x36) and 7 (0x37)</p>

CC BY-SA 3.0
2017-11-16T09:48:03.893Z
do you also know the prefixes for WIF and the hex values?
blues
CC BY-SA 3.0
2017-11-16T10:17:40.223Z
Sure - I just added the WIF prefixes (including hex) to my above answer
Cory Benjamin
CC BY-SA 4.0
2022-04-16T17:21:32.817Z
As of Litecoin Core version v0.21.2rc6 bech32 WIFs (including hdseed) have prefix B0 (decimal 176)
Anton Krouglov
CC BY-SA 3.0
2017-11-16T09:29:22.807Z
2017-11-16T10:17:13.983Z
2017-11-16T10:17:13.983Z
Cory Benjamin
<p>Here is what I've gathered so far regarding the different version bytes for each type of Litecoin public address:</p>
<h3>Mainnet:</h3>
<ul>
<li>p2pkh L-address (<code>LM2WMpR1Rp6j3Sa59cMXMs1SPzj9eXpGc1</code>): <code>0x30</code></li>
<li>p2sh deprecated 3-address (<code>3MSvaVbVFFLML86rt5eqgA9SvW23upaXdY</code>): <code>0x05</code> (same as bitcoin's mainnet p2sh)</li>
<li>p2sh new M-address (<code>MTf4tP1TCNBn8dNkyxeBVoPrFCcVzxJvvh</code>): <code>0x32</code></li>
<li>native segwit bech32 address (<code>ltc1q8c6fshw2dlwun7ekn9qwf37cu2rn755u9ym7p0</code>): prefix <code>ltc</code>, version <code>1</code></li>
</ul>
<h3>Testnet:</h3>
<ul>
<li>p2pkh m- or n-address (<code>mipcBbFg9gMiCh81Kj8tqqdgoZub1ZJRfn</code>): <code>0x6f</code> (same as bitcoin's testnet p2pkh)</li>
<li>p2sh deprecated 2-address (<code>2N2PJEucf6QY2kNFuJ4chQEBoyZWszRQE16</code>): <code>0xc4</code></li>
<li>p2sh new Q-address (<code>QVk4MvUu7Wb7tZ1wvAeiUvdF7wxhvpyLLK</code>): <code>0x3a</code></li>
<li>native segwit bech32 address (<code>tltc1qyw3c0rvn6kk2c688y3dygvckn57525y8emy4p5</code>): prefix <code>tltc</code>, version <code>1</code></li>
</ul>
<p>This is the <a href="https://litecoin-project.github.io/p2sh-convert/" rel="nofollow noreferrer">Litecoin project's converter</a> between old and new p2sh address format.
And this is an <a href="http://lenschulwitz.com/base58" rel="nofollow noreferrer">online base58check decoder</a> to check the version byte.</p>

CC BY-SA 4.0
2018-10-23T12:58:32.517Z
2021-12-23T19:19:51.123Z
2021-12-23T19:19:51.123Z
thalisk
<p>Is there any list of litecoin constants available?
Something like <a href="https://en.bitcoin.it/wiki/List_of_address_prefixes" rel="noreferrer" title="Bitcoin list of address prefixes">Bitcoin list of address prefixes</a></p>

<litecoin><address-format><wallet-import-format>
litecoin constants and prefixes
Oskyk
# litecoin constants and prefixes

(Asked by: username_0 on 2017-11-16)

Is there any list of litecoin constants available?
Something like [Bitcoin list of address prefixes](https://en.bitcoin.it/wiki/List_of_address_prefixes "Bitcoin list of address prefixes")

**Tags:** litecoin, address-format, wallet-import-format


---

## 2 answers

### Answer by username_4 on 2018-10-23. Score: 11 | Accepted answer

Here is what I've gathered so far regarding the different version bytes for each type of Litecoin public address:

### Mainnet:

* p2pkh L-address (`LM2WMpR1Rp6j3Sa59cMXMs1SPzj9eXpGc1`): `0x30`
* p2sh deprecated 3-address (`3MSvaVbVFFLML86rt5eqgA9SvW23upaXdY`): `0x05` (same as bitcoin's mainnet p2sh)
* p2sh new M-address (`MTf4tP1TCNBn8dNkyxeBVoPrFCcVzxJvvh`): `0x32`
* native segwit bech32 address (`ltc1q8c6fshw2dlwun7ekn9qwf37cu2rn755u9ym7p0`): prefix `ltc`, version `1`

### Testnet:

* p2pkh m- or n-address (`mipcBbFg9gMiCh81Kj8tqqdgoZub1ZJRfn`): `0x6f` (same as bitcoin's testnet p2pkh)
* p2sh deprecated 2-address (`2N2PJEucf6QY2kNFuJ4chQEBoyZWszRQE16`): `0xc4`
* p2sh new Q-address (`QVk4MvUu7Wb7tZ1wvAeiUvdF7wxhvpyLLK`): `0x3a`
* native segwit bech32 address (`tltc1qyw3c0rvn6kk2c688y3dygvckn57525y8emy4p5`): prefix `tltc`, version `1`

This is the [Litecoin project's converter](https://litecoin-project.github.io/p2sh-convert/) between old and new p2sh address format.
And this is an [online base58check decoder](http://lenschulwitz.com/base58) to check the version byte.


---

### Answer by username_1 on 2017-11-16. Score: 4

L - Legacy, Non-P2SH (Pay to script hash) address prefix

3 - P2SH prefix that's backwards compatible to the M prefix. When I say backwards compatible, I mean that there is a 3 address and an M address that point to the same address (Reference: <https://blog.trezor.io/litecoins-new-p2sh-segwit-addresses-843633e3e707>)

M - Current P2SH address prefix

Litecoin WIF Prefixes: 6 (0x36) and 7 (0x37)

> **Comments:**
> **username_2**: do you also know the prefixes for WIF and the hex values?  
> **username_1**: Sure - I just added the WIF prefixes (including hex) to my above answer  
> **username_3**: As of Litecoin Core version v0.21.2rc6 bech32 WIFs (including hdseed) have prefix B0 (decimal 176)  

---

