diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js/bitcoinjs-extensions.js | 45 | ||||
-rw-r--r-- | src/js/index.js | 28 |
2 files changed, 73 insertions, 0 deletions
diff --git a/src/js/bitcoinjs-extensions.js b/src/js/bitcoinjs-extensions.js index b37f58f..0658ae7 100644 --- a/src/js/bitcoinjs-extensions.js +++ b/src/js/bitcoinjs-extensions.js | |||
@@ -1638,3 +1638,48 @@ bitcoinjs.bitcoin.networks.wagerr = { | |||
1638 | scriptHash: 0x3f, | 1638 | scriptHash: 0x3f, |
1639 | wif: 0xc7 | 1639 | wif: 0xc7 |
1640 | }; | 1640 | }; |
1641 | |||
1642 | bitcoinjs.bitcoin.networks.bitcoinsv = { | ||
1643 | messagePrefix: 'unused', | ||
1644 | bip32: { | ||
1645 | public: 0x0488b21e, | ||
1646 | private: 0x0488ade4 | ||
1647 | }, | ||
1648 | pubKeyHash: 0x00, | ||
1649 | scriptHash: 0x05, | ||
1650 | wif: 0x80 | ||
1651 | }; | ||
1652 | |||
1653 | bitcoinjs.bitcoin.networks.monkeyproject = { | ||
1654 | messagePrefix: 'Monkey Signed Message:\n', | ||
1655 | bip32: { | ||
1656 | public: 0x0488b21e, | ||
1657 | private: 0x0488dde4 | ||
1658 | }, | ||
1659 | pubKeyHash: 0x33, | ||
1660 | scriptHash: 0x1c, | ||
1661 | wif: 0x37 | ||
1662 | }; | ||
1663 | |||
1664 | bitcoinjs.bitcoin.networks.rapids = { | ||
1665 | messagePrefix: 'DarkNet Signed Message:\n', | ||
1666 | bip32: { | ||
1667 | public: 0x0488b21e, | ||
1668 | private: 0x0488ade4 | ||
1669 | }, | ||
1670 | pubKeyHash: 0x3d, | ||
1671 | scriptHash: 0x06, | ||
1672 | wif: 0x2e | ||
1673 | }; | ||
1674 | |||
1675 | bitcoinjs.bitcoin.networks.aryacoin = { | ||
1676 | messagePrefix: '\x18Aryacoin Signed Message:\n', | ||
1677 | bech32: 'arya', | ||
1678 | bip32: { | ||
1679 | public: 0x0488B21E, | ||
1680 | private: 0x0488ADE4, | ||
1681 | }, | ||
1682 | pubKeyHash: 0x17, | ||
1683 | scriptHash: 0x6f, | ||
1684 | wif: 0x97 | ||
1685 | }; | ||
diff --git a/src/js/index.js b/src/js/index.js index 4fac6f1..b3450d3 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -1697,6 +1697,13 @@ | |||
1697 | }, | 1697 | }, |
1698 | }, | 1698 | }, |
1699 | { | 1699 | { |
1700 | name: "ARYA - Aryacoin", | ||
1701 | onSelect: function() { | ||
1702 | network = bitcoinjs.bitcoin.networks.aryacoin; | ||
1703 | setHdCoin(357); | ||
1704 | }, | ||
1705 | }, | ||
1706 | { | ||
1700 | name: "AUR - Auroracoin", | 1707 | name: "AUR - Auroracoin", |
1701 | onSelect: function() { | 1708 | onSelect: function() { |
1702 | network = bitcoinjs.bitcoin.networks.auroracoin; | 1709 | network = bitcoinjs.bitcoin.networks.auroracoin; |
@@ -1830,6 +1837,13 @@ | |||
1830 | }, | 1837 | }, |
1831 | }, | 1838 | }, |
1832 | { | 1839 | { |
1840 | name: "BSV - BitcoinSV", | ||
1841 | onSelect: function() { | ||
1842 | network = bitcoinjs.bitcoin.networks.bitcoinsv; | ||
1843 | setHdCoin(236); | ||
1844 | }, | ||
1845 | }, | ||
1846 | { | ||
1833 | name: "BTCZ - Bitcoinz", | 1847 | name: "BTCZ - Bitcoinz", |
1834 | onSelect: function() { | 1848 | onSelect: function() { |
1835 | network = bitcoinjs.bitcoin.networks.bitcoinz; | 1849 | network = bitcoinjs.bitcoin.networks.bitcoinz; |
@@ -2338,6 +2352,13 @@ | |||
2338 | }, | 2352 | }, |
2339 | }, | 2353 | }, |
2340 | { | 2354 | { |
2355 | name: "MONK - Monkey Project", | ||
2356 | onSelect: function() { | ||
2357 | network = bitcoinjs.bitcoin.networks.monkeyproject, | ||
2358 | setHdCoin(214); | ||
2359 | }, | ||
2360 | }, | ||
2361 | { | ||
2341 | name: "MUSIC - Musicoin", | 2362 | name: "MUSIC - Musicoin", |
2342 | segwitAvailable: false, | 2363 | segwitAvailable: false, |
2343 | onSelect: function() { | 2364 | onSelect: function() { |
@@ -2544,6 +2565,13 @@ | |||
2544 | }, | 2565 | }, |
2545 | }, | 2566 | }, |
2546 | { | 2567 | { |
2568 | name: "RPD - Rapids", | ||
2569 | onSelect: function() { | ||
2570 | network = bitcoinjs.bitcoin.networks.rapids; | ||
2571 | setHdCoin(320); | ||
2572 | }, | ||
2573 | }, | ||
2574 | { | ||
2547 | name: "RVN - Ravencoin", | 2575 | name: "RVN - Ravencoin", |
2548 | onSelect: function() { | 2576 | onSelect: function() { |
2549 | network = bitcoinjs.bitcoin.networks.ravencoin; | 2577 | network = bitcoinjs.bitcoin.networks.ravencoin; |