flocore/lib/constants.js
Ryan X. Charles 862235e57e initial commit
address, base58, base58check, hash all working with tests.

base58check code taken from bitcore.
2014-08-06 18:25:45 -07:00

16 lines
259 B
JavaScript

exports.mainnet = {
pubkeyHash: 0x00,
privkey: 0x80,
p2sh: 0x05,
bip32pubkey: 0x0488b21e,
bip32privkey: 0x0488ade4,
};
exports.testnet = {
pubkeyHash: 0x6f,
privkey: 0xef,
p2sh: 0xc4,
bip32pubkey: 0x043587cf,
bip32privkey: 0x04358394,
};