From c41c3bb62ddb4d4d133651283dc8d91597c57282 Mon Sep 17 00:00:00 2001 From: BtcDrak Date: Sat, 6 Sep 2014 17:57:07 +0100 Subject: [PATCH] Add viacoin support --- src/networks.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/networks.js b/src/networks.js index 60a321e..aefc396 100644 --- a/src/networks.js +++ b/src/networks.js @@ -55,6 +55,34 @@ var networks = { dustThreshold: 546, feePerKb: 10000, estimateFee: estimateFee('testnet') + }, + viacoin: { + magicPrefix: '\x18Viacoin Signed Message:\n', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4 + }, + pubKeyHash: 0x47, + scriptHash: 0x21, + wif: 0xc7, + dustThreshold: 560, + dustSoftThreshold: 100000, + feePerKb: 100000, // + estimateFee: estimateFee('viacoin') + }, + viacointestnet: { + magicPrefix: '\x18Viacoin Signed Message:\n', + bip32: { + public: 0x043587cf, + private: 0x04358394 + }, + pubKeyHash: 0x7f, + scriptHash: 0xc4, + wif: 0xff, + dustThreshold: 560, + dustSoftThreshold: 100000, + feePerKb: 100000, + estimateFee: estimateFee('viacointestnet') } }