From 9a2ca392f0f4087fc91eba567e32c1b3683a6235 Mon Sep 17 00:00:00 2001 From: motty Date: Sun, 8 Apr 2018 21:15:25 +0900 Subject: mod fujicoin SegWit --- src/js/segwit-parameters.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'src') diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js index b919d45..3cb7a8e 100644 --- a/src/js/segwit-parameters.js +++ b/src/js/segwit-parameters.js @@ -68,4 +68,30 @@ bitcoinjs.bitcoin.networks.litecoin.p2wpkhInP2sh = { wif: 0xb0 }; +bitcoinjs.bitcoin.networks.fujicoin.p2wpkh = { + baseNetwork: "fujicoin", + messagePrefix: '\x19FujiCoin Signed Message:\n', + bech32: 'fc', + bip32: { + public: 0x04b24746, + private: 0x04b2430c + }, + pubKeyHash: 0x24, + scriptHash: 0x10, + wif: 0xa4 +}; + +bitcoinjs.bitcoin.networks.fujicoin.p2wpkhInP2sh = { + baseNetwork: "fujicoin", + messagePrefix: '\x19FujiCoin Signed Message:\n', + bech32: 'fc', + bip32: { + public: 0x049d7cb2, + private: 0x049d7878 + }, + pubKeyHash: 0x24, + scriptHash: 0x10, + wif: 0xa4 +}; + })(); -- cgit v1.2.3