diff options
author | iancoleman <1281387+iancoleman@users.noreply.github.com> | 2018-04-20 09:45:39 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-20 09:45:39 +1000 |
commit | 584dbddd37c762244f17a423a31573436d6dde11 (patch) | |
tree | e879b887dfe1f35298584d322af9de6e5cf391f4 /src/js/segwit-parameters.js | |
parent | b08caad07e3ed226f1e2d23e0b1e047f2b392ce1 (diff) | |
parent | f150f0c03a4907d5a7112a08ffaf064b1176ad2e (diff) | |
download | BIP39-584dbddd37c762244f17a423a31573436d6dde11.tar.gz BIP39-584dbddd37c762244f17a423a31573436d6dde11.tar.zst BIP39-584dbddd37c762244f17a423a31573436d6dde11.zip |
Merge pull request #210 from potatohodler/patch/vertcoin
Improve Vertcoin support
Diffstat (limited to 'src/js/segwit-parameters.js')
-rw-r--r-- | src/js/segwit-parameters.js | 25 |
1 files changed, 25 insertions, 0 deletions
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 = { | |||
94 | wif: 0xa4 | 94 | wif: 0xa4 |
95 | }; | 95 | }; |
96 | 96 | ||
97 | bitcoinjs.bitcoin.networks.vertcoin.p2wpkh = { | ||
98 | baseNetwork: "vertcoin", | ||
99 | messagePrefix: '\x18Vertcoin Signed Message:\n', | ||
100 | bech32: 'vtc', | ||
101 | bip32: { | ||
102 | public: 0x0488b21e, | ||
103 | private: 0x0488ade4 | ||
104 | }, | ||
105 | pubKeyHash: 71, | ||
106 | scriptHash: 5, | ||
107 | wif: 0x80 | ||
108 | }; | ||
109 | |||
110 | bitcoinjs.bitcoin.networks.vertcoin.p2wpkhInP2sh = { | ||
111 | baseNetwork: "vertcoin", | ||
112 | messagePrefix: '\x18Vertcoin Signed Message:\n', | ||
113 | bip32: { | ||
114 | public: 0x0488b21e, | ||
115 | private: 0x0488ade4 | ||
116 | }, | ||
117 | pubKeyHash: 71, | ||
118 | scriptHash: 5, | ||
119 | wif: 0x80 | ||
120 | }; | ||
121 | |||
97 | })(); | 122 | })(); |