aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthew Cornelisse <squarerootofnegativeone@gmail.com>2018-10-02 23:44:17 -0500
committerGitHub <noreply@github.com>2018-10-02 23:44:17 -0500
commitcd8893f6c980644ff382d10dee7181d1a943ebad (patch)
tree5c7b04b49e2e47a8129ffd6d7682441a4f04f9d4 /src
parentc4086c24131729e3801c4d81a56d6b0863d7ce3b (diff)
downloadBIP39-cd8893f6c980644ff382d10dee7181d1a943ebad.tar.gz
BIP39-cd8893f6c980644ff382d10dee7181d1a943ebad.tar.zst
BIP39-cd8893f6c980644ff382d10dee7181d1a943ebad.zip
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})();