2014-04-17 05:43:34 +10:00
|
|
|
// https://en.bitcoin.it/wiki/List_of_address_prefixes
|
2014-04-29 15:07:15 -07:00
|
|
|
// Dogecoin BIP32 is a proposed standard: https://bitcointalk.org/index.php?topic=409731
|
2014-06-17 14:48:06 +08:00
|
|
|
|
2015-03-16 12:35:49 +11:00
|
|
|
module.exports = {
|
2014-04-17 05:43:34 +10:00
|
|
|
bitcoin: {
|
2015-03-16 10:37:28 +11:00
|
|
|
messagePrefix: '\x18Bitcoin Signed Message:\n',
|
2017-08-17 14:12:43 +10:00
|
|
|
bech32: 'bc',
|
2014-04-17 05:43:34 +10:00
|
|
|
bip32: {
|
2014-06-03 15:58:42 +10:00
|
|
|
public: 0x0488b21e,
|
|
|
|
private: 0x0488ade4
|
2014-04-17 05:43:34 +10:00
|
|
|
},
|
2014-06-17 21:05:18 +10:00
|
|
|
pubKeyHash: 0x00,
|
|
|
|
scriptHash: 0x05,
|
2016-10-21 12:29:42 +11:00
|
|
|
wif: 0x80
|
2014-04-17 05:43:34 +10:00
|
|
|
},
|
2018-11-15 15:32:03 +09:00
|
|
|
regtest: {
|
|
|
|
messagePrefix: '\x18Bitcoin Signed Message:\n',
|
|
|
|
bech32: 'bcrt',
|
|
|
|
bip32: {
|
|
|
|
public: 0x043587cf,
|
|
|
|
private: 0x04358394
|
|
|
|
},
|
|
|
|
pubKeyHash: 0x6f,
|
|
|
|
scriptHash: 0xc4,
|
|
|
|
wif: 0xef
|
|
|
|
},
|
2014-11-27 16:29:24 +11:00
|
|
|
testnet: {
|
2015-03-16 10:37:28 +11:00
|
|
|
messagePrefix: '\x18Bitcoin Signed Message:\n',
|
2017-08-17 14:12:43 +10:00
|
|
|
bech32: 'tb',
|
2014-04-29 15:07:15 -07:00
|
|
|
bip32: {
|
2014-11-27 16:29:24 +11:00
|
|
|
public: 0x043587cf,
|
|
|
|
private: 0x04358394
|
2014-04-29 15:07:15 -07:00
|
|
|
},
|
2014-11-27 16:29:24 +11:00
|
|
|
pubKeyHash: 0x6f,
|
|
|
|
scriptHash: 0xc4,
|
2016-10-21 12:29:42 +11:00
|
|
|
wif: 0xef
|
2014-02-28 16:05:43 +08:00
|
|
|
}
|
2014-05-16 15:39:17 +10:00
|
|
|
}
|