Fix address prefixes, add dogecoin/litecoin BIP32 versions
This commit is contained in:
parent
953223c818
commit
5fd9fe62dc
1 changed files with 15 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
||||||
// https://en.bitcoin.it/wiki/List_of_address_prefixes
|
// https://en.bitcoin.it/wiki/List_of_address_prefixes
|
||||||
|
// Dogecoin BIP32 is a proposed standard: https://bitcointalk.org/index.php?topic=409731
|
||||||
module.exports = {
|
module.exports = {
|
||||||
bitcoin: {
|
bitcoin: {
|
||||||
bip32: {
|
bip32: {
|
||||||
|
@ -10,12 +11,22 @@ module.exports = {
|
||||||
wif: 0x80
|
wif: 0x80
|
||||||
},
|
},
|
||||||
dogecoin: {
|
dogecoin: {
|
||||||
pubKeyHash: 0x30,
|
bip32: {
|
||||||
scriptHash: 0x20,
|
pub: 0x02facafd,
|
||||||
|
priv: 0x02fac398
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x1e,
|
||||||
|
scriptHash: 0x16,
|
||||||
wif: 0x9e
|
wif: 0x9e
|
||||||
},
|
},
|
||||||
litecoin: {
|
litecoin: {
|
||||||
scriptHash: 0x30,
|
bip32: {
|
||||||
|
pub: 0x019da462,
|
||||||
|
priv: 0x019d9cfe
|
||||||
|
},
|
||||||
|
pubKeyHash: 0x30,
|
||||||
|
scriptHash: 0x05,
|
||||||
|
wif: 0xb0
|
||||||
},
|
},
|
||||||
testnet: {
|
testnet: {
|
||||||
bip32: {
|
bip32: {
|
||||||
|
|
Loading…
Reference in a new issue