2014-04-16 21:43:34 +02:00
|
|
|
// https://en.bitcoin.it/wiki/List_of_address_prefixes
|
2014-04-30 00:07:15 +02:00
|
|
|
// Dogecoin BIP32 is a proposed standard: https://bitcointalk.org/index.php?topic=409731
|
2014-02-28 09:05:43 +01:00
|
|
|
module.exports = {
|
2014-04-16 21:43:34 +02:00
|
|
|
bitcoin: {
|
2014-06-17 13:05:18 +02:00
|
|
|
magicPrefix: '\x18Bitcoin Signed Message:\n',
|
2014-04-16 21:43:34 +02:00
|
|
|
bip32: {
|
2014-06-03 07:58:42 +02:00
|
|
|
public: 0x0488b21e,
|
|
|
|
private: 0x0488ade4
|
2014-04-16 21:43:34 +02:00
|
|
|
},
|
2014-06-17 13:05:18 +02:00
|
|
|
pubKeyHash: 0x00,
|
|
|
|
scriptHash: 0x05,
|
2014-06-17 06:03:14 +02:00
|
|
|
wif: 0x80,
|
2014-06-17 08:36:57 +02:00
|
|
|
dustThreshold: 546,
|
|
|
|
feePerKb: 10000
|
2014-04-16 21:43:34 +02:00
|
|
|
},
|
|
|
|
dogecoin: {
|
2014-06-17 13:05:18 +02:00
|
|
|
magicPrefix: '\x19Dogecoin Signed Message:\n',
|
2014-04-30 00:07:15 +02:00
|
|
|
bip32: {
|
2014-06-03 07:58:42 +02:00
|
|
|
public: 0x02facafd,
|
|
|
|
private: 0x02fac398
|
2014-04-30 00:07:15 +02:00
|
|
|
},
|
2014-06-17 13:05:18 +02:00
|
|
|
pubKeyHash: 0x1e,
|
|
|
|
scriptHash: 0x16,
|
2014-06-17 06:03:14 +02:00
|
|
|
wif: 0x9e,
|
2014-06-17 08:36:57 +02:00
|
|
|
dustThreshold: 0,
|
2014-06-17 06:03:14 +02:00
|
|
|
feePerKb: 100000000
|
2014-04-16 21:43:34 +02:00
|
|
|
},
|
|
|
|
litecoin: {
|
2014-06-17 13:05:18 +02:00
|
|
|
magicPrefix: '\x19Litecoin Signed Message:\n',
|
2014-04-30 00:07:15 +02:00
|
|
|
bip32: {
|
2014-06-03 07:58:42 +02:00
|
|
|
public: 0x019da462,
|
|
|
|
private: 0x019d9cfe
|
2014-04-30 00:07:15 +02:00
|
|
|
},
|
2014-06-17 13:05:18 +02:00
|
|
|
pubKeyHash: 0x30,
|
|
|
|
scriptHash: 0x05,
|
2014-06-17 06:03:14 +02:00
|
|
|
wif: 0xb0,
|
2014-06-17 08:36:57 +02:00
|
|
|
dustThreshold: 0,
|
2014-06-17 06:03:14 +02:00
|
|
|
feePerKb: 100000
|
2014-02-28 09:05:43 +01:00
|
|
|
},
|
|
|
|
testnet: {
|
2014-06-17 13:05:18 +02:00
|
|
|
magicPrefix: '\x18Bitcoin Signed Message:\n',
|
2014-04-16 21:43:34 +02:00
|
|
|
bip32: {
|
2014-06-03 07:58:42 +02:00
|
|
|
public: 0x043587cf,
|
|
|
|
private: 0x04358394
|
2014-04-16 21:43:34 +02:00
|
|
|
},
|
2014-06-17 13:05:18 +02:00
|
|
|
pubKeyHash: 0x6f,
|
|
|
|
scriptHash: 0xc4,
|
2014-06-17 06:03:14 +02:00
|
|
|
wif: 0xef,
|
2014-06-17 08:36:57 +02:00
|
|
|
dustThreshold: 546,
|
|
|
|
feePerKb: 10000
|
2014-02-28 09:05:43 +01:00
|
|
|
}
|
2014-05-16 07:39:17 +02:00
|
|
|
}
|