Skip to content

Instantly share code, notes, and snippets.

@adsc-cloudtec
Created November 7, 2017 10:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adsc-cloudtec/411395f61230a7d1b3d8f1cc5847ddba to your computer and use it in GitHub Desktop.
Save adsc-cloudtec/411395f61230a7d1b3d8f1cc5847ddba to your computer and use it in GitHub Desktop.
module.exports = {
bitcoin: {
messagePrefix: '\x18Bitcoin Signed Message:\n',
bech32: 'bc',
bip32: {
public: 0x0488b21e,
private: 0x0488ade4
},
pubKeyHash: 0x00,
scriptHash: 0x05,
wif: 0x80
},
testnet: {
messagePrefix: '\x18Bitcoin Signed Message:\n',
bech32: 'tb',
bip32: {
public: 0x043587cf,
private: 0x04358394
},
pubKeyHash: 0x6f,
scriptHash: 0xc4,
wif: 0xef
},
litecoin: {
messagePrefix: '\x19Litecoin Signed Message:\n',
bip32: {
public: 0x019da462,
private: 0x019d9cfe
},
pubKeyHash: 0x30,
scriptHash: 0x32,
wif: 0xb0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment