Network: rename Network to Networks
This change removes the most common ambiguities. As the network module is not representative of a class, the lower case has been used.
This commit is contained in:
parent
929b8d2b62
commit
57b8afbdab
11 changed files with 33 additions and 33 deletions
src
40
src/networks.js
Normal file
40
src/networks.js
Normal file
|
@ -0,0 +1,40 @@
|
|||
// https://en.bitcoin.it/wiki/List_of_address_prefixes
|
||||
// Dogecoin BIP32 is a proposed standard: https://bitcointalk.org/index.php?topic=409731
|
||||
module.exports = {
|
||||
bitcoin: {
|
||||
bip32: {
|
||||
pub: 0x0488b21e,
|
||||
priv: 0x0488ade4
|
||||
},
|
||||
pubKeyHash: 0x00,
|
||||
scriptHash: 0x05,
|
||||
wif: 0x80
|
||||
},
|
||||
dogecoin: {
|
||||
bip32: {
|
||||
pub: 0x02facafd,
|
||||
priv: 0x02fac398
|
||||
},
|
||||
pubKeyHash: 0x1e,
|
||||
scriptHash: 0x16,
|
||||
wif: 0x9e
|
||||
},
|
||||
litecoin: {
|
||||
bip32: {
|
||||
pub: 0x019da462,
|
||||
priv: 0x019d9cfe
|
||||
},
|
||||
pubKeyHash: 0x30,
|
||||
scriptHash: 0x05,
|
||||
wif: 0xb0
|
||||
},
|
||||
testnet: {
|
||||
bip32: {
|
||||
pub: 0x043587cf,
|
||||
priv: 0x04358394
|
||||
},
|
||||
pubKeyHash: 0x6f,
|
||||
scriptHash: 0xc4,
|
||||
wif: 0xef
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue