From: motty Date: Sun, 8 Apr 2018 12:15:25 +0000 (+0900) Subject: mod fujicoin SegWit X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=9a2ca392f0f4087fc91eba567e32c1b3683a6235;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git mod fujicoin SegWit --- 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 +}; + })();