aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoriancoleman <1281387+iancoleman@users.noreply.github.com>2018-10-03 15:20:46 +1000
committerGitHub <noreply@github.com>2018-10-03 15:20:46 +1000
commit37f237239a0657e04dbfa5ad43587892d1402b24 (patch)
tree5c7b04b49e2e47a8129ffd6d7682441a4f04f9d4 /src
parentc4086c24131729e3801c4d81a56d6b0863d7ce3b (diff)
parentcd8893f6c980644ff382d10dee7181d1a943ebad (diff)
downloadBIP39-37f237239a0657e04dbfa5ad43587892d1402b24.tar.gz
BIP39-37f237239a0657e04dbfa5ad43587892d1402b24.tar.zst
BIP39-37f237239a0657e04dbfa5ad43587892d1402b24.zip
Merge pull request #258 from mctrivia/patch-1
added DigiByte segwit parameters
Diffstat (limited to 'src')
-rw-r--r--src/js/segwit-parameters.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js
index 55acb9c..246ca10 100644
--- a/src/js/segwit-parameters.js
+++ b/src/js/segwit-parameters.js
@@ -159,4 +159,32 @@ bitcoinjs.bitcoin.networks.bgold.p2wpkhInP2sh = {
159 wif: 0x80, 159 wif: 0x80,
160}; 160};
161 161
162bitcoinjs.bitcoin.networks.digibyte.p2wpkh = {
163 baseNetwork: "digibyte",
164 messagePrefix: '\x18DigiByte Signed Message:\n',
165 bech32: 'dgb',
166 bip32: {
167 public: 0x0488B21E,
168 private: 0x0488ADE4
169 },
170 pubKeyHash: 0x1e,
171 scriptHash: 0x3f,
172 wif: 0x80
173};
174
175bitcoinjs.bitcoin.networks.digibyte.p2wpkhInP2sh = {
176 baseNetwork: "digibyte",
177 messagePrefix: '\x18DigiByte Signed Message:\n',
178 bech32: 'dgb',
179 bip32: {
180 public: 0x0488B21E,
181 private: 0x0488ADE4
182 },
183 pubKeyHash: 0x1e,
184 scriptHash: 0x3f,
185 wif: 0x80
186};
187
188
189
162})(); 190})();