diff options
author | motty <admin@fujicoin.org> | 2018-04-08 21:15:25 +0900 |
---|---|---|
committer | motty <admin@fujicoin.org> | 2018-04-08 21:15:25 +0900 |
commit | 9a2ca392f0f4087fc91eba567e32c1b3683a6235 (patch) | |
tree | bd1f3cd392b07a145428568cc543c2f1b56890de | |
parent | db37d63919f1812dd5904b043e5b727bb1591500 (diff) | |
download | BIP39-9a2ca392f0f4087fc91eba567e32c1b3683a6235.tar.gz BIP39-9a2ca392f0f4087fc91eba567e32c1b3683a6235.tar.zst BIP39-9a2ca392f0f4087fc91eba567e32c1b3683a6235.zip |
mod fujicoin SegWit
-rw-r--r-- | src/js/segwit-parameters.js | 26 |
1 files changed, 26 insertions, 0 deletions
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 = { | |||
68 | wif: 0xb0 | 68 | wif: 0xb0 |
69 | }; | 69 | }; |
70 | 70 | ||
71 | bitcoinjs.bitcoin.networks.fujicoin.p2wpkh = { | ||
72 | baseNetwork: "fujicoin", | ||
73 | messagePrefix: '\x19FujiCoin Signed Message:\n', | ||
74 | bech32: 'fc', | ||
75 | bip32: { | ||
76 | public: 0x04b24746, | ||
77 | private: 0x04b2430c | ||
78 | }, | ||
79 | pubKeyHash: 0x24, | ||
80 | scriptHash: 0x10, | ||
81 | wif: 0xa4 | ||
82 | }; | ||
83 | |||
84 | bitcoinjs.bitcoin.networks.fujicoin.p2wpkhInP2sh = { | ||
85 | baseNetwork: "fujicoin", | ||
86 | messagePrefix: '\x19FujiCoin Signed Message:\n', | ||
87 | bech32: 'fc', | ||
88 | bip32: { | ||
89 | public: 0x049d7cb2, | ||
90 | private: 0x049d7878 | ||
91 | }, | ||
92 | pubKeyHash: 0x24, | ||
93 | scriptHash: 0x10, | ||
94 | wif: 0xa4 | ||
95 | }; | ||
96 | |||
71 | })(); | 97 | })(); |