3
1
Is there any list of litecoin constants available? Something like Bitcoin list of address prefixes
3
1
Is there any list of litecoin constants available? Something like Bitcoin list of address prefixes
6
Here is what I've gathered so far regarding the different version bytes for each type of Litecoin public address:
LM2WMpR1Rp6j3Sa59cMXMs1SPzj9eXpGc1): 0x303MSvaVbVFFLML86rt5eqgA9SvW23upaXdY): 0x05 (same as bitcoin's mainnet p2sh)MTf4tP1TCNBn8dNkyxeBVoPrFCcVzxJvvh): 0x32mipcBbFg9gMiCh81Kj8tqqdgoZub1ZJRfn): 0x6f (same as bitcoin's testnet p2pkh)2N2PJEucf6QY2kNFuJ4chQEBoyZWszRQE16): 0xc4QVk4MvUu7Wb7tZ1wvAeiUvdF7wxhvpyLLK): 0x3aThis is the Litecoin project's converter between old and new p2sh address format. And this is an online base58check decoder to check the version byte.
2
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)
1do you also know the prefixes for WIF and the hex values? – blues – 2017-11-16T09:48:03.893
Sure - I just added the WIF prefixes (including hex) to my above answer – Cory Benjamin – 2017-11-16T10:17:40.223