diff options
Diffstat (limited to 'bip39-standalone.html')
-rw-r--r-- | bip39-standalone.html | 75 |
1 files changed, 46 insertions, 29 deletions
diff --git a/bip39-standalone.html b/bip39-standalone.html index d3a8d33..a00cb68 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html | |||
@@ -19902,6 +19902,16 @@ bitcoin.networks.clam = { | |||
19902 | wif: 0x85, | 19902 | wif: 0x85, |
19903 | }; | 19903 | }; |
19904 | 19904 | ||
19905 | bitcoin.networks.crown = { | ||
19906 | bip32: { | ||
19907 | public: 0x0488b21e, | ||
19908 | private: 0x0488ade4 | ||
19909 | }, | ||
19910 | pubKeyHash: 0x00, | ||
19911 | scriptHash: 0x05, | ||
19912 | wif: 0x80, | ||
19913 | }; | ||
19914 | |||
19905 | bitcoin.networks.dash = { | 19915 | bitcoin.networks.dash = { |
19906 | bip32: { | 19916 | bip32: { |
19907 | public: 0x0488b21e, | 19917 | public: 0x0488b21e, |
@@ -44319,7 +44329,7 @@ window.Entropy = new (function() { | |||
44319 | indexText = indexText + "'"; | 44329 | indexText = indexText + "'"; |
44320 | } | 44330 | } |
44321 | // Ethereum values are different | 44331 | // Ethereum values are different |
44322 | if (networks[DOM.network.val()].name == "Ethereum") { | 44332 | if (networks[DOM.network.val()].name == "ETH - Ethereum") { |
44323 | var privKeyBuffer = key.privKey.d.toBuffer(); | 44333 | var privKeyBuffer = key.privKey.d.toBuffer(); |
44324 | privkey = privKeyBuffer.toString('hex'); | 44334 | privkey = privKeyBuffer.toString('hex'); |
44325 | var addressBuffer = ethUtil.privateToAddress(privKeyBuffer); | 44335 | var addressBuffer = ethUtil.privateToAddress(privKeyBuffer); |
@@ -44330,7 +44340,7 @@ window.Entropy = new (function() { | |||
44330 | pubkey = ethUtil.addHexPrefix(pubkey); | 44340 | pubkey = ethUtil.addHexPrefix(pubkey); |
44331 | } | 44341 | } |
44332 | // Ripple values are different | 44342 | // Ripple values are different |
44333 | if (networks[DOM.network.val()].name == "Ripple") { | 44343 | if (networks[DOM.network.val()].name == "XRP - Ripple") { |
44334 | privkey = convertRipplePriv(privkey); | 44344 | privkey = convertRipplePriv(privkey); |
44335 | address = convertRippleAdrr(address); | 44345 | address = convertRippleAdrr(address); |
44336 | } | 44346 | } |
@@ -44791,138 +44801,145 @@ window.Entropy = new (function() { | |||
44791 | 44801 | ||
44792 | var networks = [ | 44802 | var networks = [ |
44793 | { | 44803 | { |
44794 | name: "Bitcoin", | 44804 | name: "BTC - Bitcoin", |
44795 | onSelect: function() { | 44805 | onSelect: function() { |
44796 | network = bitcoin.networks.bitcoin; | 44806 | network = bitcoin.networks.bitcoin; |
44797 | DOM.bip44coin.val(0); | 44807 | DOM.bip44coin.val(0); |
44798 | }, | 44808 | }, |
44799 | }, | 44809 | }, |
44800 | { | 44810 | { |
44801 | name: "Bitcoin Testnet", | 44811 | name: "BTC - Bitcoin Testnet", |
44802 | onSelect: function() { | 44812 | onSelect: function() { |
44803 | network = bitcoin.networks.testnet; | 44813 | network = bitcoin.networks.testnet; |
44804 | DOM.bip44coin.val(1); | 44814 | DOM.bip44coin.val(1); |
44805 | }, | 44815 | }, |
44806 | }, | 44816 | }, |
44807 | { | 44817 | { |
44808 | name: "CLAM", | 44818 | name: "CLAM - Clams", |
44809 | onSelect: function() { | 44819 | onSelect: function() { |
44810 | network = bitcoin.networks.clam; | 44820 | network = bitcoin.networks.clam; |
44811 | DOM.bip44coin.val(23); | 44821 | DOM.bip44coin.val(23); |
44812 | }, | 44822 | }, |
44813 | }, | 44823 | }, |
44814 | { | 44824 | { |
44815 | name: "Dogecoin", | 44825 | name: "CRW - Crown", |
44816 | onSelect: function() { | 44826 | onSelect: function() { |
44817 | network = bitcoin.networks.dogecoin; | 44827 | network = bitcoin.networks.crown; |
44818 | DOM.bip44coin.val(3); | 44828 | DOM.bip44coin.val(72); |
44819 | }, | 44829 | }, |
44820 | }, | 44830 | }, |
44821 | { | 44831 | { |
44822 | name: "DASH", | 44832 | name: "DASH - Dash", |
44823 | onSelect: function() { | 44833 | onSelect: function() { |
44824 | network = bitcoin.networks.dash; | 44834 | network = bitcoin.networks.dash; |
44825 | DOM.bip44coin.val(5); | 44835 | DOM.bip44coin.val(5); |
44826 | }, | 44836 | }, |
44827 | }, | 44837 | }, |
44828 | { | 44838 | { |
44829 | name: "DASH Testnet", | 44839 | name: "DASH - Dash Testnet", |
44830 | onSelect: function() { | 44840 | onSelect: function() { |
44831 | network = bitcoin.networks.dashtn; | 44841 | network = bitcoin.networks.dashtn; |
44832 | DOM.bip44coin.val(1); | 44842 | DOM.bip44coin.val(1); |
44833 | }, | 44843 | }, |
44834 | }, | 44844 | }, |
44835 | { | 44845 | { |
44836 | name: "Ethereum", | 44846 | name: "DOGE - Dogecoin", |
44847 | onSelect: function() { | ||
44848 | network = bitcoin.networks.dogecoin; | ||
44849 | DOM.bip44coin.val(3); | ||
44850 | }, | ||
44851 | }, | ||
44852 | { | ||
44853 | name: "ETH - Ethereum", | ||
44837 | onSelect: function() { | 44854 | onSelect: function() { |
44838 | network = bitcoin.networks.bitcoin; | 44855 | network = bitcoin.networks.bitcoin; |
44839 | DOM.bip44coin.val(60); | 44856 | DOM.bip44coin.val(60); |
44840 | }, | 44857 | }, |
44841 | }, | 44858 | }, |
44842 | { | 44859 | { |
44843 | name: "GAME", | 44860 | name: "GAME - GameCredits", |
44844 | onSelect: function() { | 44861 | onSelect: function() { |
44845 | network = bitcoin.networks.game; | 44862 | network = bitcoin.networks.game; |
44846 | DOM.bip44coin.val(101); | 44863 | DOM.bip44coin.val(101); |
44847 | }, | 44864 | }, |
44848 | }, | 44865 | }, |
44849 | { | 44866 | { |
44850 | name: "Jumbucks", | 44867 | name: "JBS - Jumbucks", |
44851 | onSelect: function() { | 44868 | onSelect: function() { |
44852 | network = bitcoin.networks.jumbucks; | 44869 | network = bitcoin.networks.jumbucks; |
44853 | DOM.bip44coin.val(26); | 44870 | DOM.bip44coin.val(26); |
44854 | }, | 44871 | }, |
44855 | }, | 44872 | }, |
44856 | { | 44873 | { |
44857 | name: "Litecoin", | 44874 | name: "LTC - Litecoin", |
44858 | onSelect: function() { | 44875 | onSelect: function() { |
44859 | network = bitcoin.networks.litecoin; | 44876 | network = bitcoin.networks.litecoin; |
44860 | DOM.bip44coin.val(2); | 44877 | DOM.bip44coin.val(2); |
44861 | }, | 44878 | }, |
44862 | }, | 44879 | }, |
44863 | { | 44880 | { |
44864 | name: "Namecoin", | 44881 | name: "NMC - Namecoin", |
44865 | onSelect: function() { | 44882 | onSelect: function() { |
44866 | network = bitcoin.networks.namecoin; | 44883 | network = bitcoin.networks.namecoin; |
44867 | DOM.bip44coin.val(7); | 44884 | DOM.bip44coin.val(7); |
44868 | }, | 44885 | }, |
44869 | }, | 44886 | }, |
44870 | { | 44887 | { |
44871 | name: "Peercoin", | 44888 | name: "PPC - Peercoin", |
44872 | onSelect: function() { | 44889 | onSelect: function() { |
44873 | network = bitcoin.networks.peercoin; | 44890 | network = bitcoin.networks.peercoin; |
44874 | DOM.bip44coin.val(6); | 44891 | DOM.bip44coin.val(6); |
44875 | }, | 44892 | }, |
44876 | }, | 44893 | }, |
44877 | { | 44894 | { |
44878 | name: "Ripple", | 44895 | name: "SDC - ShadowCash", |
44879 | onSelect: function() { | ||
44880 | network = bitcoin.networks.bitcoin; | ||
44881 | DOM.bip44coin.val(144); | ||
44882 | }, | ||
44883 | }, | ||
44884 | { | ||
44885 | name: "ShadowCash", | ||
44886 | onSelect: function() { | 44896 | onSelect: function() { |
44887 | network = bitcoin.networks.shadow; | 44897 | network = bitcoin.networks.shadow; |
44888 | DOM.bip44coin.val(35); | 44898 | DOM.bip44coin.val(35); |
44889 | }, | 44899 | }, |
44890 | }, | 44900 | }, |
44891 | { | 44901 | { |
44892 | name: "ShadowCash Testnet", | 44902 | name: "SDC - ShadowCash Testnet", |
44893 | onSelect: function() { | 44903 | onSelect: function() { |
44894 | network = bitcoin.networks.shadowtn; | 44904 | network = bitcoin.networks.shadowtn; |
44895 | DOM.bip44coin.val(1); | 44905 | DOM.bip44coin.val(1); |
44896 | }, | 44906 | }, |
44897 | }, | 44907 | }, |
44898 | { | 44908 | { |
44899 | name: "Slimcoin", | 44909 | name: "SLM - Slimcoin", |
44900 | onSelect: function() { | 44910 | onSelect: function() { |
44901 | network = bitcoin.networks.slimcoin; | 44911 | network = bitcoin.networks.slimcoin; |
44902 | DOM.bip44coin.val(63); | 44912 | DOM.bip44coin.val(63); |
44903 | }, | 44913 | }, |
44904 | }, | 44914 | }, |
44905 | { | 44915 | { |
44906 | name: "Slimcoin Testnet", | 44916 | name: "SLM - Slimcoin Testnet", |
44907 | onSelect: function() { | 44917 | onSelect: function() { |
44908 | network = bitcoin.networks.slimcointn; | 44918 | network = bitcoin.networks.slimcointn; |
44909 | DOM.bip44coin.val(111); | 44919 | DOM.bip44coin.val(111); |
44910 | }, | 44920 | }, |
44911 | }, | 44921 | }, |
44912 | { | 44922 | { |
44913 | name: "Viacoin", | 44923 | name: "VIA - Viacoin", |
44914 | onSelect: function() { | 44924 | onSelect: function() { |
44915 | network = bitcoin.networks.viacoin; | 44925 | network = bitcoin.networks.viacoin; |
44916 | DOM.bip44coin.val(14); | 44926 | DOM.bip44coin.val(14); |
44917 | }, | 44927 | }, |
44918 | }, | 44928 | }, |
44919 | { | 44929 | { |
44920 | name: "Viacoin Testnet", | 44930 | name: "VIA - Viacoin Testnet", |
44921 | onSelect: function() { | 44931 | onSelect: function() { |
44922 | network = bitcoin.networks.viacointestnet; | 44932 | network = bitcoin.networks.viacointestnet; |
44923 | DOM.bip44coin.val(1); | 44933 | DOM.bip44coin.val(1); |
44924 | }, | 44934 | }, |
44925 | }, | 44935 | }, |
44936 | { | ||
44937 | name: "XRP - Ripple", | ||
44938 | onSelect: function() { | ||
44939 | network = bitcoin.networks.bitcoin; | ||
44940 | DOM.bip44coin.val(144); | ||
44941 | }, | ||
44942 | } | ||
44926 | ] | 44943 | ] |
44927 | 44944 | ||
44928 | var clients = [ | 44945 | var clients = [ |