diff options
author | iancoleman <1281387+iancoleman@users.noreply.github.com> | 2018-04-10 08:59:07 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-10 08:59:07 +1000 |
commit | 63e2e0755f6bfa434ad530581a6d9bc7e7009d2f (patch) | |
tree | bd1f3cd392b07a145428568cc543c2f1b56890de /src/js | |
parent | db37d63919f1812dd5904b043e5b727bb1591500 (diff) | |
parent | 9a2ca392f0f4087fc91eba567e32c1b3683a6235 (diff) | |
download | BIP39-63e2e0755f6bfa434ad530581a6d9bc7e7009d2f.tar.gz BIP39-63e2e0755f6bfa434ad530581a6d9bc7e7009d2f.tar.zst BIP39-63e2e0755f6bfa434ad530581a6d9bc7e7009d2f.zip |
Merge pull request #196 from fujicoin/mod-fujicoin-SegWit
mod fujicoin SegWit
Diffstat (limited to 'src/js')
-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 | })(); |