bitcore/lib/networks.js

29 lines
499 B
JavaScript
Raw Normal View History

2014-11-20 07:23:46 -08:00
'use strict';
exports.mainnet = {
pubkeyhash: 0x00,
2014-10-06 11:00:03 -07:00
identity: 0x0f,
identephem: 0x02,
2014-10-06 11:00:03 -07:00
identpersist: 0x01,
privkey: 0x80,
scripthash: 0x05,
bip32pubkey: 0x0488b21e,
bip32privkey: 0x0488ade4,
};
exports.testnet = {
pubkeyhash: 0x6f,
2014-10-06 11:00:03 -07:00
identity: 0x0f,
identephem: 0x02,
identpersist: 0x11,
privkey: 0xef,
scripthash: 0xc4,
bip32pubkey: 0x043587cf,
bip32privkey: 0x04358394,
};
2014-10-06 11:00:03 -07:00
exports.ephemeral = {
prefix: 0x0f,
identity: 0x02
2014-11-20 07:23:46 -08:00
};