'use strict'
var bitcoin = require('bitcoinjs-lib');

var networks = exports;
Object.keys(bitcoin.networks).forEach(function(key){
    networks[key] = bitcoin.networks[key]
});

networks.dogecoin = {		
    messagePrefix: '\x19Dogecoin Signed Message:\n',		
    bip32: {		
        public: 0x02facafd,		
        private: 0x02fac398,
    },		
    pubKeyHash: 0x1e,		
    scriptHash: 0x16,		
    wif: 0x9e,		
    dustThreshold: 0 // https://github.com/dogecoin/dogecoin/blob/v1.7.1/src/core.h#L155-L160		
};

networks.monacoin = {
    messagePrefix: '\x19Monacoin Signed Message:\n',
    bip32: {
        public: 0x0488b21e,
        private: 0x0488ade4,
    },
    pubKeyHash: 0x32,
    scriptHash: 0x05,
    wif: 0xB2,
    dustThreshold: 546, // https://github.com/bitcoin/bitcoin/blob/v0.9.2/src/core.h#L151-L162
};

networks.dash = {
    messagePrefix: '\x19DarkCoin Signed Message:\n',
    bip32: {
      public: 0x02fe52f8,
      private: 0x02fe52cc,
    },
    pubKeyHash: 0x4c,
    scriptHash: 0x10,
    wif: 0xcc,
    dustThreshold: 5460 // https://github.com/dashpay/dash/blob/v0.12.0.x/src/primitives/transaction.h#L144-L155
};

networks.zcoin = {
    messagePrefix: '\x19ZCoin Signed Message:\n',
    bip32: {
      public: 0x0488b21e, // todo
      private: 0x0488ade4, // todo
    },
    pubKeyHash: 0x52,
    scriptHash: 0x07,
    wif: 0x52 + 128,
    dustThreshold: 1000 // https://github.com/zcoinofficial/zcoin/blob/f755f95a036eedfef7c96bcfb6769cb79278939f/src/main.h#L59
};


'use strict'
var bitcoin = require('bitcoinjs-lib');

var networks = exports;
Object.keys(bitcoin.networks).forEach(function(key){
    networks[key] = bitcoin.networks[key]
});

networks.dogecoin = {		
    messagePrefix: '\x19Dogecoin Signed Message:\n',		
    bip32: {		
        public: 0x02facafd,		
        private: 0x02fac398,
    },		
    pubKeyHash: 0x1e,		
    scriptHash: 0x16,		
    wif: 0x9e,		
    dustThreshold: 0 // https://github.com/dogecoin/dogecoin/blob/v1.7.1/src/core.h#L155-L160		
};

networks.monacoin = {
    messagePrefix: '\x19Monacoin Signed Message:\n',
    bip32: {
        public: 0x0488b21e,
        private: 0x0488ade4,
    },
    pubKeyHash: 0x32,
    scriptHash: 0x05,
    wif: 0xB2,
    dustThreshold: 546, // https://github.com/bitcoin/bitcoin/blob/v0.9.2/src/core.h#L151-L162
};

networks.dash = {
    messagePrefix: '\x19DarkCoin Signed Message:\n',
    bip32: {
      public: 0x02fe52f8,
      private: 0x02fe52cc,
    },
    pubKeyHash: 0x4c,
    scriptHash: 0x10,
    wif: 0xcc,
    dustThreshold: 5460, // https://github.com/dashpay/dash/blob/v0.12.0.x/src/primitives/transaction.h#L144-L155
};

networks.zcoin = {
    messagePrefix: '\x19ZCoin Signed Message:\n',
    bip32: {
      public: 0x0488b21e, // todo
      private: 0x0488ade4, // todo
    },
    pubKeyHash: 0x52,
    scriptHash: 0x07,
    wif: 0x52 + 128,
    dustThreshold: 1000, // https://github.com/zcoinofficial/zcoin/blob/f755f95a036eedfef7c96bcfb6769cb79278939f/src/main.h#L59
};

networks.zcash = {
    messagePrefix: '\x19Zcash Signed Message:\n',
    bip32: {
      public: 0x0488b21e, // todo
      private: 0x0488ade4, // todo
    },
    pubKeyHash: 0x1cb8,
    scriptHash: 0x1cbd,
    wif: 0x80,
    zaddr: 0x169a,
    zkey: 0xab36,
    dustThreshold: 1000,
};

Update networks.js