From f150f0c03a4907d5a7112a08ffaf064b1176ad2e Mon Sep 17 00:00:00 2001 From: Potato <38018953+potatohodler@users.noreply.github.com> Date: Wed, 18 Apr 2018 15:16:19 +0200 Subject: Adds Segwit support for Vertcoin. --- src/js/segwit-parameters.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'src/js/segwit-parameters.js') diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js index 3cb7a8e..f8b0347 100644 --- a/src/js/segwit-parameters.js +++ b/src/js/segwit-parameters.js @@ -94,4 +94,29 @@ bitcoinjs.bitcoin.networks.fujicoin.p2wpkhInP2sh = { wif: 0xa4 }; +bitcoinjs.bitcoin.networks.vertcoin.p2wpkh = { + baseNetwork: "vertcoin", + messagePrefix: '\x18Vertcoin Signed Message:\n', + bech32: 'vtc', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4 + }, + pubKeyHash: 71, + scriptHash: 5, + wif: 0x80 +}; + +bitcoinjs.bitcoin.networks.vertcoin.p2wpkhInP2sh = { + baseNetwork: "vertcoin", + messagePrefix: '\x18Vertcoin Signed Message:\n', + bip32: { + public: 0x0488b21e, + private: 0x0488ade4 + }, + pubKeyHash: 71, + scriptHash: 5, + wif: 0x80 +}; + })(); -- cgit v1.2.3