I am trying to set up
https://github.com/bitpay/insight for a forked version of Bitcoin.
To do this I need to modify the following
addNetwork({
name: 'livenet',
alias: 'mainnet',
pubkeyhash: 0x00,
privatekey: 0x80,
scripthash: 0x05,
xpubkey: 0x0488b21e,
xprivkey: 0x0488ade4,
networkMagic: 0xf9beb4d9,
port: 8333,
dnsSeeds: [
'seed.bitcoin.sipa.be',
'dnsseed.bluematt.me',
'dnsseed.bitcoin.dashjr.org',
'seed.bitcoinstats.com',
'seed.bitnodes.io',
'bitseed.xf2.org'
Everything there is pretty simple except for pubkeyhash, privatekey, scripthash, xpubkey, xprivkey and networkMagic.
I've used
https://en.bitcoin.it/wiki/List_of_address_prefixes and
http://lenschulwitz.com/base58 to figure out how to reproduce pubkeyhash privatekey scripthash but I still don't know how to get the xpubkey, xprivkey and networkMagic values listed above. How can I reproduce those values listed above from my Bitcoin client?