diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 11 | ||||
-rw-r--r-- | src/js/index.js | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index 388dd0b..be73354 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -262,6 +262,17 @@ bitcoinjs.bitcoin.networks.bitcoinCashBitbpay = { | |||
262 | wif: 0x80 | 262 | wif: 0x80 |
263 | }; | 263 | }; |
264 | 264 | ||
265 | bitcoinjs.bitcoin.networks.monacoin = { | ||
266 | messagePrefix: '\x18Monacoin Signed Message:\n', | ||
267 | bip32: { | ||
268 | public: 0x0488b21e, | ||
269 | private: 0x0488ade4 | ||
270 | }, | ||
271 | pubKeyHash: 0x32, | ||
272 | scriptHash: 0x37, | ||
273 | wif: 0xb0 | ||
274 | }; | ||
275 | |||
265 | bitcoinjs.bitcoin.networks.bitcoinBip49 = { | 276 | bitcoinjs.bitcoin.networks.bitcoinBip49 = { |
266 | messagePrefix: '\x18Bitcoin Signed Message:\n', | 277 | messagePrefix: '\x18Bitcoin Signed Message:\n', |
267 | bip32: { | 278 | bip32: { |
diff --git a/src/js/index.js b/src/js/index.js index f38aa3c..8146f11 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -1510,6 +1510,14 @@ | |||
1510 | network = bitcoinjs.bitcoin.networks.bitcoin; | 1510 | network = bitcoinjs.bitcoin.networks.bitcoin; |
1511 | setHdCoin(144); | 1511 | setHdCoin(144); |
1512 | }, | 1512 | }, |
1513 | }, | ||
1514 | { | ||
1515 | name: "MONA - Monacoin", | ||
1516 | p2wpkhNestedInP2shAvailable: true, | ||
1517 | onSelect: function() { | ||
1518 | network = bitcoinjs.bitcoin.networks.monacoin, | ||
1519 | setHdCoin(22); | ||
1520 | }, | ||
1513 | } | 1521 | } |
1514 | ] | 1522 | ] |
1515 | 1523 | ||