message: support alternate networks
This commit is contained in:
parent
dc69162757
commit
6b5990c6e2
5 changed files with 57 additions and 31 deletions
src
|
@ -2,6 +2,7 @@
|
|||
// Dogecoin BIP32 is a proposed standard: https://bitcointalk.org/index.php?topic=409731
|
||||
module.exports = {
|
||||
bitcoin: {
|
||||
magicPrefix: '\x18Bitcoin Signed Message:\n',
|
||||
bip32: {
|
||||
pub: 0x0488b21e,
|
||||
priv: 0x0488ade4
|
||||
|
@ -11,6 +12,7 @@ module.exports = {
|
|||
wif: 0x80
|
||||
},
|
||||
dogecoin: {
|
||||
magicPrefix: '\x19Dogecoin Signed Message:\n',
|
||||
bip32: {
|
||||
pub: 0x02facafd,
|
||||
priv: 0x02fac398
|
||||
|
@ -20,6 +22,7 @@ module.exports = {
|
|||
wif: 0x9e
|
||||
},
|
||||
litecoin: {
|
||||
magicPrefix: '\x19Litecoin Signed Message:\n',
|
||||
bip32: {
|
||||
pub: 0x019da462,
|
||||
priv: 0x019d9cfe
|
||||
|
@ -29,6 +32,7 @@ module.exports = {
|
|||
wif: 0xb0
|
||||
},
|
||||
testnet: {
|
||||
magicPrefix: '\x18Bitcoin Signed Message:\n',
|
||||
bip32: {
|
||||
pub: 0x043587cf,
|
||||
priv: 0x04358394
|
||||
|
@ -37,4 +41,4 @@ module.exports = {
|
|||
scriptHash: 0xc4,
|
||||
wif: 0xef
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue