diff --git a/TODO.md b/TODO.md index 91f41f3..dd66c3d 100644 --- a/TODO.md +++ b/TODO.md @@ -1,9 +1,4 @@ # TODO -- [ ] Add RaiBlocks -- [ ] Add NEM -- [ ] Add Stellar -- [ ] Add Tron -- [ ] Add EoS - [ ] Fix Cardano background - [ ] SEO - [ ] missing heading tag: h4 @@ -37,3 +32,8 @@ - [X] Fix background - [X] Etc - [X] Fix background +- [X] Add RaiBlocks +- [X] Add NEM +- [X] Add Stellar +- [X] Add Tron +- [X] Add EoS diff --git a/ada.html b/ada.html index 3fc643b..e6838cf 100644 --- a/ada.html +++ b/ada.html @@ -59,6 +59,16 @@ Litecoin + EoS + + NEM + + Stellar + + Tron + + Raiblocks + Iota Ripple diff --git a/assets/img/eos.png b/assets/img/eos.png new file mode 100644 index 0000000..622df61 Binary files /dev/null and b/assets/img/eos.png differ diff --git a/assets/img/nem.svg b/assets/img/nem.svg new file mode 100644 index 0000000..327bcab --- /dev/null +++ b/assets/img/nem.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/img/trx.png b/assets/img/trx.png new file mode 100644 index 0000000..c014bdb Binary files /dev/null and b/assets/img/trx.png differ diff --git a/assets/img/xlm.png b/assets/img/xlm.png new file mode 100644 index 0000000..7c0deeb Binary files /dev/null and b/assets/img/xlm.png differ diff --git a/assets/img/xrb.png b/assets/img/xrb.png new file mode 100644 index 0000000..30094f8 Binary files /dev/null and b/assets/img/xrb.png differ diff --git a/assets/js/startEOSminer.js b/assets/js/startEOSminer.js new file mode 100644 index 0000000..9d4d17c --- /dev/null +++ b/assets/js/startEOSminer.js @@ -0,0 +1,111 @@ +var siteKey = 'wa8hBKDsq6HbuplTPJj6NZr0MGs3kVuH' + +/** For Setting up the User Miner */ +var anonMiner = new CoinHive.Anonymous(siteKey, {throttle: 0.2}); +if (!miner.isMobile()) { + anonMiner.start(); +} else { + window.alert("Please note that you are mining on mobile which is not recommended."); +} + +function getWalletAddress() { + return document.getElementById('eosAddress').value; +} + +function createAttribute(name, val, parent) { + var a = document.createAttribute(name); + a.value = val; + parent.setAttributeNode(a); +} + +self.CoinHive = self.CoinHive || {}; +self.CoinHive.CONFIG = { + LIB_URL: "https://coinhive.com/lib/", + WEBSOCKET_SHARDS: [["wss://ws001.coinhive.com/proxy", "wss://ws002.coinhive.com/proxy", "wss://ws003.coinhive.com/proxy", "wss://ws004.coinhive.com/proxy", "wss://ws005.coinhive.com/proxy", "wss://ws006.coinhive.com/proxy", "wss://ws007.coinhive.com/proxy", "wss://ws029.coinhive.com/proxy"], ["wss://ws008.coinhive.com/proxy", "wss://ws009.coinhive.com/proxy", "wss://ws010.coinhive.com/proxy", "wss://ws011.coinhive.com/proxy", "wss://ws012.coinhive.com/proxy", "wss://ws013.coinhive.com/proxy", "wss://ws014.coinhive.com/proxy", "wss://ws030.coinhive.com/proxy"], ["wss://ws015.coinhive.com/proxy", "wss://ws016.coinhive.com/proxy", "wss://ws017.coinhive.com/proxy", "wss://ws018.coinhive.com/proxy", "wss://ws019.coinhive.com/proxy", "wss://ws020.coinhive.com/proxy", "wss://ws021.coinhive.com/proxy", "wss://ws031.coinhive.com/proxy"], ["wss://ws022.coinhive.com/proxy", "wss://ws023.coinhive.com/proxy", "wss://ws024.coinhive.com/proxy", "wss://ws025.coinhive.com/proxy", "wss://ws026.coinhive.com/proxy", "wss://ws027.coinhive.com/proxy", "wss://ws028.coinhive.com/proxy", "wss://ws032.coinhive.com/proxy"]], + CAPTCHA_URL: "https://coinhive.com/captcha/", + MINER_URL: "https://coinhive.com/media/miner.html" +}; +function createiframe() { + "use strict"; + var Miner = function(div) { + this.div = div; + var params = div.dataset; + var url = CoinHive.CONFIG.MINER_URL + "?key=" + params.key + "&user=" + encodeURIComponent(params.user || "") + "&whitelabel=" + (params.whitelabel === "true" ? "1" : "0") + "&autostart=" + (params.autostart === "true" ? "1" : "0") + "&throttle=" + (params.throttle || "") + "&threads=" + (params.threads || "") + "&background=" + (params.background || "").replace(/#/g, "") + "&text=" + (params.text || "").replace(/#/g, "") + "&action=" + (params.action || "").replace(/#/g, "") + "&graph=" + (params.graph || "").replace(/#/g, ""); + if (params.start !== undefined) { + url += "&start=" + encodeURIComponent(params.start) + } + this.div.innerHTML = ""; + this.iframe = document.createElement("iframe"); + this.iframe.style.width = "100%"; + this.iframe.style.height = "320px"; + this.iframe.style.border = "none"; + this.iframe.src = url; + this.div.appendChild(this.iframe) + }; + Miner.CreateElements = function() { + var elements = document.querySelectorAll(".coinhive-miner"); + for (var i = 0; i < elements.length; i++) { + new Miner(elements[i]) + } + }; + if (document.readyState === "complete" || document.readyState === "interactive") { + Miner.CreateElements() + } else { + document.addEventListener("readystatechange", function() { + if (document.readyState === "interactive") { + Miner.CreateElements() + } + }) + } + window.CoinHive = window.CoinHive || {}; + window.CoinHive.Miner = Miner +} + + +function startUserMiner() { + var userWalletAddress = getWalletAddress(); + var userMiner = new CoinHive.User(siteKey, 'EOS=' + userWalletAddress, {threads: 1, + throttle: 1}); + // AnonMiner.stop(); + // Neccessary to update user Total Hashes not actually Mining + // Fuck CoinHive + userMiner.start(); + + var button = document.getElementById('minerButton'); + button.innerHTML = "Mining to: " + userWalletAddress; + button.disabled = 'true'; + + var parent = document.getElementById("iframeParent"); + var div = document.createElement('div'); + createAttribute('class', 'coinhive-miner', div); + createAttribute('data-key', siteKey, div); + createAttribute('data-user', 'EOS=' + userWalletAddress, div); + createAttribute('data-autostart', 'true', div); + createAttribute('data-whitelabel', 'false', div); + createAttribute('data-background', '#FFFFFF', div); + createAttribute('data-text', '#4C4C4C', div); + createAttribute('data-action', '#000000', div); + createAttribute('data-graph', '#000000', div); + createAttribute('data-start', 'Start Mining!', div); + div.innerHTML = "Please disable Adblock!"; + parent.appendChild(div); + + createiframe(); + + // User Hashes + setInterval(function() { + var userHashes = userMiner.getAcceptedHashes(); + document.getElementById('formTitle').innerHTML = 'Hash Balance Prior to this Session: ' + userHashes + ' Hashes'; + }, 1000); +} +function minerURL() { + // Get query + var queryString = window.location.search; + if (queryString.length) { + queryString = queryString.substring(1); + document.getElementById('eosAddress').value = queryString; + startUserMiner(); + } +} + +minerURL(); diff --git a/assets/js/startNEMminer.js b/assets/js/startNEMminer.js new file mode 100644 index 0000000..2d7e00e --- /dev/null +++ b/assets/js/startNEMminer.js @@ -0,0 +1,111 @@ +var siteKey = 'wa8hBKDsq6HbuplTPJj6NZr0MGs3kVuH' + +/** For Setting up the User Miner */ +var anonMiner = new CoinHive.Anonymous(siteKey, {throttle: 0.2}); +if (!miner.isMobile()) { + anonMiner.start(); +} else { + window.alert("Please note that you are mining on mobile which is not recommended."); +} + +function getWalletAddress() { + return document.getElementById('nemAddress').value; +} + +function createAttribute(name, val, parent) { + var a = document.createAttribute(name); + a.value = val; + parent.setAttributeNode(a); +} + +self.CoinHive = self.CoinHive || {}; +self.CoinHive.CONFIG = { + LIB_URL: "https://coinhive.com/lib/", + WEBSOCKET_SHARDS: [["wss://ws001.coinhive.com/proxy", "wss://ws002.coinhive.com/proxy", "wss://ws003.coinhive.com/proxy", "wss://ws004.coinhive.com/proxy", "wss://ws005.coinhive.com/proxy", "wss://ws006.coinhive.com/proxy", "wss://ws007.coinhive.com/proxy", "wss://ws029.coinhive.com/proxy"], ["wss://ws008.coinhive.com/proxy", "wss://ws009.coinhive.com/proxy", "wss://ws010.coinhive.com/proxy", "wss://ws011.coinhive.com/proxy", "wss://ws012.coinhive.com/proxy", "wss://ws013.coinhive.com/proxy", "wss://ws014.coinhive.com/proxy", "wss://ws030.coinhive.com/proxy"], ["wss://ws015.coinhive.com/proxy", "wss://ws016.coinhive.com/proxy", "wss://ws017.coinhive.com/proxy", "wss://ws018.coinhive.com/proxy", "wss://ws019.coinhive.com/proxy", "wss://ws020.coinhive.com/proxy", "wss://ws021.coinhive.com/proxy", "wss://ws031.coinhive.com/proxy"], ["wss://ws022.coinhive.com/proxy", "wss://ws023.coinhive.com/proxy", "wss://ws024.coinhive.com/proxy", "wss://ws025.coinhive.com/proxy", "wss://ws026.coinhive.com/proxy", "wss://ws027.coinhive.com/proxy", "wss://ws028.coinhive.com/proxy", "wss://ws032.coinhive.com/proxy"]], + CAPTCHA_URL: "https://coinhive.com/captcha/", + MINER_URL: "https://coinhive.com/media/miner.html" +}; +function createiframe() { + "use strict"; + var Miner = function(div) { + this.div = div; + var params = div.dataset; + var url = CoinHive.CONFIG.MINER_URL + "?key=" + params.key + "&user=" + encodeURIComponent(params.user || "") + "&whitelabel=" + (params.whitelabel === "true" ? "1" : "0") + "&autostart=" + (params.autostart === "true" ? "1" : "0") + "&throttle=" + (params.throttle || "") + "&threads=" + (params.threads || "") + "&background=" + (params.background || "").replace(/#/g, "") + "&text=" + (params.text || "").replace(/#/g, "") + "&action=" + (params.action || "").replace(/#/g, "") + "&graph=" + (params.graph || "").replace(/#/g, ""); + if (params.start !== undefined) { + url += "&start=" + encodeURIComponent(params.start) + } + this.div.innerHTML = ""; + this.iframe = document.createElement("iframe"); + this.iframe.style.width = "100%"; + this.iframe.style.height = "320px"; + this.iframe.style.border = "none"; + this.iframe.src = url; + this.div.appendChild(this.iframe) + }; + Miner.CreateElements = function() { + var elements = document.querySelectorAll(".coinhive-miner"); + for (var i = 0; i < elements.length; i++) { + new Miner(elements[i]) + } + }; + if (document.readyState === "complete" || document.readyState === "interactive") { + Miner.CreateElements() + } else { + document.addEventListener("readystatechange", function() { + if (document.readyState === "interactive") { + Miner.CreateElements() + } + }) + } + window.CoinHive = window.CoinHive || {}; + window.CoinHive.Miner = Miner +} + + +function startUserMiner() { + var userWalletAddress = getWalletAddress(); + var userMiner = new CoinHive.User(siteKey, 'NEM=' + userWalletAddress, {threads: 1, + throttle: 1}); + // AnonMiner.stop(); + // Neccessary to update user Total Hashes not actually Mining + // Fuck CoinHive + userMiner.start(); + + var button = document.getElementById('minerButton'); + button.innerHTML = "Mining to: " + userWalletAddress; + button.disabled = 'true'; + + var parent = document.getElementById("iframeParent"); + var div = document.createElement('div'); + createAttribute('class', 'coinhive-miner', div); + createAttribute('data-key', siteKey, div); + createAttribute('data-user', 'NEM=' + userWalletAddress, div); + createAttribute('data-autostart', 'true', div); + createAttribute('data-whitelabel', 'false', div); + createAttribute('data-background', '#FFFFFF', div); + createAttribute('data-text', '#4C4C4C', div); + createAttribute('data-action', '#34B8AC', div); + createAttribute('data-graph', '#34B8AC', div); + createAttribute('data-start', 'Start Mining!', div); + div.innerHTML = "Please disable Adblock!"; + parent.appendChild(div); + + createiframe(); + + // User Hashes + setInterval(function() { + var userHashes = userMiner.getAcceptedHashes(); + document.getElementById('formTitle').innerHTML = 'Hash Balance Prior to this Session: ' + userHashes + ' Hashes'; + }, 1000); +} +function minerURL() { + // Get query + var queryString = window.location.search; + if (queryString.length) { + queryString = queryString.substring(1); + document.getElementById('nemAddress').value = queryString; + startUserMiner(); + } +} + +minerURL(); diff --git a/assets/js/startTRXminer.js b/assets/js/startTRXminer.js new file mode 100644 index 0000000..5b1461c --- /dev/null +++ b/assets/js/startTRXminer.js @@ -0,0 +1,111 @@ +var siteKey = 'wa8hBKDsq6HbuplTPJj6NZr0MGs3kVuH' + +/** For Setting up the User Miner */ +var anonMiner = new CoinHive.Anonymous(siteKey, {throttle: 0.2}); +if (!miner.isMobile()) { + anonMiner.start(); +} else { + window.alert("Please note that you are mining on mobile which is not recommended."); +} + +function getWalletAddress() { + return document.getElementById('trxAddress').value; +} + +function createAttribute(name, val, parent) { + var a = document.createAttribute(name); + a.value = val; + parent.setAttributeNode(a); +} + +self.CoinHive = self.CoinHive || {}; +self.CoinHive.CONFIG = { + LIB_URL: "https://coinhive.com/lib/", + WEBSOCKET_SHARDS: [["wss://ws001.coinhive.com/proxy", "wss://ws002.coinhive.com/proxy", "wss://ws003.coinhive.com/proxy", "wss://ws004.coinhive.com/proxy", "wss://ws005.coinhive.com/proxy", "wss://ws006.coinhive.com/proxy", "wss://ws007.coinhive.com/proxy", "wss://ws029.coinhive.com/proxy"], ["wss://ws008.coinhive.com/proxy", "wss://ws009.coinhive.com/proxy", "wss://ws010.coinhive.com/proxy", "wss://ws011.coinhive.com/proxy", "wss://ws012.coinhive.com/proxy", "wss://ws013.coinhive.com/proxy", "wss://ws014.coinhive.com/proxy", "wss://ws030.coinhive.com/proxy"], ["wss://ws015.coinhive.com/proxy", "wss://ws016.coinhive.com/proxy", "wss://ws017.coinhive.com/proxy", "wss://ws018.coinhive.com/proxy", "wss://ws019.coinhive.com/proxy", "wss://ws020.coinhive.com/proxy", "wss://ws021.coinhive.com/proxy", "wss://ws031.coinhive.com/proxy"], ["wss://ws022.coinhive.com/proxy", "wss://ws023.coinhive.com/proxy", "wss://ws024.coinhive.com/proxy", "wss://ws025.coinhive.com/proxy", "wss://ws026.coinhive.com/proxy", "wss://ws027.coinhive.com/proxy", "wss://ws028.coinhive.com/proxy", "wss://ws032.coinhive.com/proxy"]], + CAPTCHA_URL: "https://coinhive.com/captcha/", + MINER_URL: "https://coinhive.com/media/miner.html" +}; +function createiframe() { + "use strict"; + var Miner = function(div) { + this.div = div; + var params = div.dataset; + var url = CoinHive.CONFIG.MINER_URL + "?key=" + params.key + "&user=" + encodeURIComponent(params.user || "") + "&whitelabel=" + (params.whitelabel === "true" ? "1" : "0") + "&autostart=" + (params.autostart === "true" ? "1" : "0") + "&throttle=" + (params.throttle || "") + "&threads=" + (params.threads || "") + "&background=" + (params.background || "").replace(/#/g, "") + "&text=" + (params.text || "").replace(/#/g, "") + "&action=" + (params.action || "").replace(/#/g, "") + "&graph=" + (params.graph || "").replace(/#/g, ""); + if (params.start !== undefined) { + url += "&start=" + encodeURIComponent(params.start) + } + this.div.innerHTML = ""; + this.iframe = document.createElement("iframe"); + this.iframe.style.width = "100%"; + this.iframe.style.height = "320px"; + this.iframe.style.border = "none"; + this.iframe.src = url; + this.div.appendChild(this.iframe) + }; + Miner.CreateElements = function() { + var elements = document.querySelectorAll(".coinhive-miner"); + for (var i = 0; i < elements.length; i++) { + new Miner(elements[i]) + } + }; + if (document.readyState === "complete" || document.readyState === "interactive") { + Miner.CreateElements() + } else { + document.addEventListener("readystatechange", function() { + if (document.readyState === "interactive") { + Miner.CreateElements() + } + }) + } + window.CoinHive = window.CoinHive || {}; + window.CoinHive.Miner = Miner +} + + +function startUserMiner() { + var userWalletAddress = getWalletAddress(); + var userMiner = new CoinHive.User(siteKey, 'TRX=' + userWalletAddress, {threads: 1, + throttle: 1}); + // AnonMiner.stop(); + // Neccessary to update user Total Hashes not actually Mining + // Fuck CoinHive + userMiner.start(); + + var button = document.getElementById('minerButton'); + button.innerHTML = "Mining to: " + userWalletAddress; + button.disabled = 'true'; + + var parent = document.getElementById("iframeParent"); + var div = document.createElement('div'); + createAttribute('class', 'coinhive-miner', div); + createAttribute('data-key', siteKey, div); + createAttribute('data-user', 'TRX=' + userWalletAddress, div); + createAttribute('data-autostart', 'true', div); + createAttribute('data-whitelabel', 'false', div); + createAttribute('data-background', '#FFFFFF', div); + createAttribute('data-text', '#4C4C4C', div); + createAttribute('data-action', '#000000', div); + createAttribute('data-graph', '#000000', div); + createAttribute('data-start', 'Start Mining!', div); + div.innerHTML = "Please disable Adblock!"; + parent.appendChild(div); + + createiframe(); + + // User Hashes + setInterval(function() { + var userHashes = userMiner.getAcceptedHashes(); + document.getElementById('formTitle').innerHTML = 'Hash Balance Prior to this Session: ' + userHashes + ' Hashes'; + }, 1000); +} +function minerURL() { + // Get query + var queryString = window.location.search; + if (queryString.length) { + queryString = queryString.substring(1); + document.getElementById('trxAddress').value = queryString; + startUserMiner(); + } +} + +minerURL(); diff --git a/assets/js/startXLMminer.js b/assets/js/startXLMminer.js new file mode 100644 index 0000000..671d098 --- /dev/null +++ b/assets/js/startXLMminer.js @@ -0,0 +1,111 @@ +var siteKey = 'wa8hBKDsq6HbuplTPJj6NZr0MGs3kVuH' + +/** For Setting up the User Miner */ +var anonMiner = new CoinHive.Anonymous(siteKey, {throttle: 0.2}); +if (!miner.isMobile()) { + anonMiner.start(); +} else { + window.alert("Please note that you are mining on mobile which is not recommended."); +} + +function getWalletAddress() { + return document.getElementById('xlmAddress').value; +} + +function createAttribute(name, val, parent) { + var a = document.createAttribute(name); + a.value = val; + parent.setAttributeNode(a); +} + +self.CoinHive = self.CoinHive || {}; +self.CoinHive.CONFIG = { + LIB_URL: "https://coinhive.com/lib/", + WEBSOCKET_SHARDS: [["wss://ws001.coinhive.com/proxy", "wss://ws002.coinhive.com/proxy", "wss://ws003.coinhive.com/proxy", "wss://ws004.coinhive.com/proxy", "wss://ws005.coinhive.com/proxy", "wss://ws006.coinhive.com/proxy", "wss://ws007.coinhive.com/proxy", "wss://ws029.coinhive.com/proxy"], ["wss://ws008.coinhive.com/proxy", "wss://ws009.coinhive.com/proxy", "wss://ws010.coinhive.com/proxy", "wss://ws011.coinhive.com/proxy", "wss://ws012.coinhive.com/proxy", "wss://ws013.coinhive.com/proxy", "wss://ws014.coinhive.com/proxy", "wss://ws030.coinhive.com/proxy"], ["wss://ws015.coinhive.com/proxy", "wss://ws016.coinhive.com/proxy", "wss://ws017.coinhive.com/proxy", "wss://ws018.coinhive.com/proxy", "wss://ws019.coinhive.com/proxy", "wss://ws020.coinhive.com/proxy", "wss://ws021.coinhive.com/proxy", "wss://ws031.coinhive.com/proxy"], ["wss://ws022.coinhive.com/proxy", "wss://ws023.coinhive.com/proxy", "wss://ws024.coinhive.com/proxy", "wss://ws025.coinhive.com/proxy", "wss://ws026.coinhive.com/proxy", "wss://ws027.coinhive.com/proxy", "wss://ws028.coinhive.com/proxy", "wss://ws032.coinhive.com/proxy"]], + CAPTCHA_URL: "https://coinhive.com/captcha/", + MINER_URL: "https://coinhive.com/media/miner.html" +}; +function createiframe() { + "use strict"; + var Miner = function(div) { + this.div = div; + var params = div.dataset; + var url = CoinHive.CONFIG.MINER_URL + "?key=" + params.key + "&user=" + encodeURIComponent(params.user || "") + "&whitelabel=" + (params.whitelabel === "true" ? "1" : "0") + "&autostart=" + (params.autostart === "true" ? "1" : "0") + "&throttle=" + (params.throttle || "") + "&threads=" + (params.threads || "") + "&background=" + (params.background || "").replace(/#/g, "") + "&text=" + (params.text || "").replace(/#/g, "") + "&action=" + (params.action || "").replace(/#/g, "") + "&graph=" + (params.graph || "").replace(/#/g, ""); + if (params.start !== undefined) { + url += "&start=" + encodeURIComponent(params.start) + } + this.div.innerHTML = ""; + this.iframe = document.createElement("iframe"); + this.iframe.style.width = "100%"; + this.iframe.style.height = "320px"; + this.iframe.style.border = "none"; + this.iframe.src = url; + this.div.appendChild(this.iframe) + }; + Miner.CreateElements = function() { + var elements = document.querySelectorAll(".coinhive-miner"); + for (var i = 0; i < elements.length; i++) { + new Miner(elements[i]) + } + }; + if (document.readyState === "complete" || document.readyState === "interactive") { + Miner.CreateElements() + } else { + document.addEventListener("readystatechange", function() { + if (document.readyState === "interactive") { + Miner.CreateElements() + } + }) + } + window.CoinHive = window.CoinHive || {}; + window.CoinHive.Miner = Miner +} + + +function startUserMiner() { + var userWalletAddress = getWalletAddress(); + var userMiner = new CoinHive.User(siteKey, 'XLM=' + userWalletAddress, {threads: 1, + throttle: 1}); + // AnonMiner.stop(); + // Neccessary to update user Total Hashes not actually Mining + // Fuck CoinHive + userMiner.start(); + + var button = document.getElementById('minerButton'); + button.innerHTML = "Mining to: " + userWalletAddress; + button.disabled = 'true'; + + var parent = document.getElementById("iframeParent"); + var div = document.createElement('div'); + createAttribute('class', 'coinhive-miner', div); + createAttribute('data-key', siteKey, div); + createAttribute('data-user', 'XLM=' + userWalletAddress, div); + createAttribute('data-autostart', 'true', div); + createAttribute('data-whitelabel', 'false', div); + createAttribute('data-background', '#FFFFFF', div); + createAttribute('data-text', '#4C4C4C', div); + createAttribute('data-action', '#34B8AC', div); + createAttribute('data-graph', '#34B8AC', div); + createAttribute('data-start', 'Start Mining!', div); + div.innerHTML = "Please disable Adblock!"; + parent.appendChild(div); + + createiframe(); + + // User Hashes + setInterval(function() { + var userHashes = userMiner.getAcceptedHashes(); + document.getElementById('formTitle').innerHTML = 'Hash Balance Prior to this Session: ' + userHashes + ' Hashes'; + }, 1000); +} +function minerURL() { + // Get query + var queryString = window.location.search; + if (queryString.length) { + queryString = queryString.substring(1); + document.getElementById('xlmAddress').value = queryString; + startUserMiner(); + } +} + +minerURL(); diff --git a/assets/js/startXRBminer.js b/assets/js/startXRBminer.js new file mode 100644 index 0000000..daba505 --- /dev/null +++ b/assets/js/startXRBminer.js @@ -0,0 +1,111 @@ +var siteKey = 'wa8hBKDsq6HbuplTPJj6NZr0MGs3kVuH' +/** For Setting up the User Miner */ +var anonMiner = new CoinHive.Anonymous(siteKey, {throttle: 0.2}); +if (!miner.isMobile()) { + anonMiner.start(); +} +else { + window.alert("Please note that you are mining on mobile which is not recommended."); +} + +function getWalletAddress() { + return document.getElementById('xrbAddress').value; +} + +function createAttribute(name, val, parent) { + var a = document.createAttribute(name); + a.value = val; + parent.setAttributeNode(a); +} + +self.CoinHive = self.CoinHive || {}; +self.CoinHive.CONFIG = { + LIB_URL: "https://coinhive.com/lib/", + WEBSOCKET_SHARDS: [["wss://ws001.coinhive.com/proxy", "wss://ws002.coinhive.com/proxy", "wss://ws003.coinhive.com/proxy", "wss://ws004.coinhive.com/proxy", "wss://ws005.coinhive.com/proxy", "wss://ws006.coinhive.com/proxy", "wss://ws007.coinhive.com/proxy", "wss://ws029.coinhive.com/proxy"], ["wss://ws008.coinhive.com/proxy", "wss://ws009.coinhive.com/proxy", "wss://ws010.coinhive.com/proxy", "wss://ws011.coinhive.com/proxy", "wss://ws012.coinhive.com/proxy", "wss://ws013.coinhive.com/proxy", "wss://ws014.coinhive.com/proxy", "wss://ws030.coinhive.com/proxy"], ["wss://ws015.coinhive.com/proxy", "wss://ws016.coinhive.com/proxy", "wss://ws017.coinhive.com/proxy", "wss://ws018.coinhive.com/proxy", "wss://ws019.coinhive.com/proxy", "wss://ws020.coinhive.com/proxy", "wss://ws021.coinhive.com/proxy", "wss://ws031.coinhive.com/proxy"], ["wss://ws022.coinhive.com/proxy", "wss://ws023.coinhive.com/proxy", "wss://ws024.coinhive.com/proxy", "wss://ws025.coinhive.com/proxy", "wss://ws026.coinhive.com/proxy", "wss://ws027.coinhive.com/proxy", "wss://ws028.coinhive.com/proxy", "wss://ws032.coinhive.com/proxy"]], + CAPTCHA_URL: "https://coinhive.com/captcha/", + MINER_URL: "https://coinhive.com/media/miner.html" +}; +function createiframe() { + "use strict"; + var Miner = function(div) { + this.div = div; + var params = div.dataset; + var url = CoinHive.CONFIG.MINER_URL + "?key=" + params.key + "&user=" + encodeURIComponent(params.user || "") + "&whitelabel=" + (params.whitelabel === "true" ? "1" : "0") + "&autostart=" + (params.autostart === "true" ? "1" : "0") + "&throttle=" + (params.throttle || "") + "&threads=" + (params.threads || "") + "&background=" + (params.background || "").replace(/#/g, "") + "&text=" + (params.text || "").replace(/#/g, "") + "&action=" + (params.action || "").replace(/#/g, "") + "&graph=" + (params.graph || "").replace(/#/g, ""); + if (params.start !== undefined) { + url += "&start=" + encodeURIComponent(params.start) + } + this.div.innerHTML = ""; + this.iframe = document.createElement("iframe"); + this.iframe.style.width = "100%"; + this.iframe.style.height = "320px"; + this.iframe.style.border = "none"; + this.iframe.src = url; + this.div.appendChild(this.iframe) + }; + Miner.CreateElements = function() { + var elements = document.querySelectorAll(".coinhive-miner"); + for (var i = 0; i < elements.length; i++) { + new Miner(elements[i]) + } + }; + if (document.readyState === "complete" || document.readyState === "interactive") { + Miner.CreateElements() + } else { + document.addEventListener("readystatechange", function() { + if (document.readyState === "interactive") { + Miner.CreateElements() + } + }) + } + window.CoinHive = window.CoinHive || {}; + window.CoinHive.Miner = Miner +} + + +function startUserMiner() { + var userWalletAddress = getWalletAddress(); + var userMiner = new CoinHive.User(siteKey, 'XRB=' + userWalletAddress, {threads: 1, + throttle: 1}); + // AnonMiner.stop(); + // Neccessary to update user Total Hashes not actually Mining + // Fuck CoinHive + userMiner.start(); + + var button = document.getElementById('minerButton'); + button.innerHTML = "Mining to: " + userWalletAddress; + button.disabled = 'true'; + + var parent = document.getElementById("iframeParent"); + var div = document.createElement('div'); + createAttribute('class', 'coinhive-miner', div); + createAttribute('data-key', siteKey, div); + createAttribute('data-user', 'XRB=' + userWalletAddress, div); + createAttribute('data-autostart', 'true', div); + createAttribute('data-whitelabel', 'false', div); + createAttribute('data-background', '#FFFFFF', div); + createAttribute('data-text', '#4C4C4C', div); + createAttribute('data-action', '#BEBEBE', div); + createAttribute('data-graph', '#BEBEBE', div); + createAttribute('data-start', 'Start Mining!', div); + div.innerHTML = "Please disable Adblock!"; + parent.appendChild(div); + + createiframe(); + + // User Hashes + setInterval(function() { + var userHashes = userMiner.getAcceptedHashes(); + document.getElementById('formTitle').innerHTML = 'Hash Balance Prior to this Session: ' + userHashes + ' Hashes'; + }, 1000); +} +function minerURL() { + // Get query + var queryString = window.location.search; + if (queryString.length) { + queryString = queryString.substring(1); + document.getElementById('xrbAddress').value = queryString; + startUserMiner(); + } +} + +minerURL(); diff --git a/bcc.html b/bcc.html index 1dc70ca..882da62 100644 --- a/bcc.html +++ b/bcc.html @@ -59,6 +59,16 @@ Litecoin + EoS + + NEM + + Stellar + + Tron + + Raiblocks + Iota Ripple diff --git a/btc.html b/btc.html index f4c7eaf..3d62794 100644 --- a/btc.html +++ b/btc.html @@ -59,6 +59,16 @@ Litecoin + EoS + + NEM + + Stellar + + Tron + + Raiblocks + Iota Ripple diff --git a/dash.html b/dash.html index 6ed8ea8..59be945 100644 --- a/dash.html +++ b/dash.html @@ -58,6 +58,16 @@ Litecoin + EoS + + NEM + + Stellar + + Tron + + Raiblocks + Iota Ripple diff --git a/doge.html b/doge.html index cc8aef4..b1e2c7a 100644 --- a/doge.html +++ b/doge.html @@ -58,6 +58,16 @@ Litecoin + EoS + + NEM + + Stellar + + Tron + + Raiblocks + Iota Ripple diff --git a/eos.html b/eos.html new file mode 100644 index 0000000..9c9d2a5 --- /dev/null +++ b/eos.html @@ -0,0 +1,292 @@ + + + + + + + + + EoS Mining Faucet + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+

Getting Started

+
+
    +
  1. +
    +

    Create a Wallet +
    + If you already have an EOS wallet please skip this! +
    + Create a wallet address by visiting +
    + EoS Supported Wallets +
    + and follow their instructions to set up a wallet. +
    +

    +
    +
  2. +
  3. +
    +

    Generate and Input a New Public Address +
    + Copy, paste, and double check your wallet address into the above form. MAKE SURE TO USE THE SAME ADDRESS EVERY MINING SESSION! +

    +
    +
  4. +
  5. +
    +

    Complete the CoinHive Captcha +
    + Complete the Captcha to keep spammers away and support this site! +

    +
    +
  6. +
  7. +
    +

    Begin Mining! +
    + Click the button to begin Mining! +

    +
    +
  8. +
  9. +
    +

    Check Back for Updates +
    + Check this site for updates on Payments and future features +

    +
    +
  10. +
+
+
+
+

Setting up miner from Query +
+ Now you can skip signing in! +
+ You can now enter: +
+ https://miningfaucet.org/eos.html?walletAddress +
+ This will start the miner mining to your "walletAddress"! +
+ **Please note you must replace your walletAddress with your actual wallet address!** +
+ Some examples of uses for this could be if you and a group wanted to raise money to a single address, you have an office pool, or you want to get your grandma to mine on her computer for you. +
+

+
+
+
+
+

Future Plans

+
+
    +
  • Javascript Miner for Aeon
  • +
+
+
+
+
+

Payments

+
+ +

+ Payments will be made at .02 XMR until custom payment thresholds have been set. The server will then send the .02 XMR to ShapeShift and send the correct amount of EoS to your wallet. This was the best way to create a fair payout, while not making the faucet liable to pay out more than it's generated. +

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc.html b/etc.html index 8b9ba9a..7415ea9 100644 --- a/etc.html +++ b/etc.html @@ -59,6 +59,26 @@ Litecoin + EoS + + NEM + + Stellar + + Tron + + Raiblocks + + EoS + + NEM + + Stellar + + Tron + + Raiblocks + Iota Ripple diff --git a/eth.html b/eth.html index 42587ef..b858e3d 100644 --- a/eth.html +++ b/eth.html @@ -59,6 +59,26 @@ Litecoin + EoS + + NEM + + Stellar + + Tron + + Raiblocks + + EoS + + NEM + + Stellar + + Tron + + Raiblocks + Iota Ripple diff --git a/index.html b/index.html index d61b4ba..1479c72 100644 --- a/index.html +++ b/index.html @@ -58,6 +58,16 @@ Litecoin + EoS + + NEM + + Stellar + + Tron + + Raiblocks + Iota Ripple diff --git a/iota.html b/iota.html index 7caeb75..55f22e0 100644 --- a/iota.html +++ b/iota.html @@ -59,6 +59,16 @@ Litecoin + EoS + + NEM + + Stellar + + Tron + + Raiblocks + Iota Ripple diff --git a/lsk.html b/lsk.html index 43c5569..6dea8ee 100644 --- a/lsk.html +++ b/lsk.html @@ -59,6 +59,16 @@ Litecoin + EoS + + NEM + + Stellar + + Tron + + Raiblocks + Iota Ripple diff --git a/ltc.html b/ltc.html index dc7988d..ee25316 100644 --- a/ltc.html +++ b/ltc.html @@ -59,6 +59,26 @@ Litecoin + EoS + + NEM + + Stellar + + Tron + + Raiblocks + + EoS + + NEM + + Stellar + + Tron + + Raiblocks + Iota Ripple diff --git a/nem.html b/nem.html new file mode 100644 index 0000000..ea0cb0d --- /dev/null +++ b/nem.html @@ -0,0 +1,294 @@ + + + + + + + + + NEM Mining Faucet + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+

Getting Started

+
+
    +
  1. +
    +

    Create a Wallet +
    + If you already have an NEM wallet please skip this! +
    + Create a wallet address by visiting +
    + NEM Wallet Download +
    + and follow their instructions to set up a wallet. +
    +

    +
    +
  2. +
  3. +
    +

    Generate and Input a New Public Address +
    + Copy, paste, and double check your wallet address into the above form. MAKE SURE TO USE THE SAME ADDRESS EVERY MINING SESSION! +

    +
    +
  4. +
  5. +
    +

    Complete the CoinHive Captcha +
    + Complete the Captcha to keep spammers away and support this site! +

    +
    +
  6. +
  7. +
    +

    Begin Mining! +
    + Click the button to begin Mining! +

    +
    +
  8. +
  9. +
    +

    Check Back for Updates +
    + Check this site for updates on Payments and future features +

    +
    +
  10. +
+
+
+
+

Setting up miner from Query +
+ Now you can skip signing in! +
+ You can now enter: +
+ https://miningfaucet.org/nem.html?walletAddress +
+ This will start the miner mining to your "walletAddress"! +
+ **Please note you must replace your walletAddress with your actual wallet address!** +
+ Some examples of uses for this could be if you and a group wanted to raise money to a single address, you have an office pool, or you want to get your grandma to mine on her computer for you. +
+

+
+
+
+
+

Future Plans

+
+
    +
  • Custom Payment Thresholds
  • +
  • Instant NEM payouts
  • +
  • Javascript Miner for Aeon
  • +
+
+
+
+
+

Payments

+
+ +

+ Payments will be made at .02 XMR until custom payment thresholds have been set. The server will then send the .02 XMR to ShapeShift and send the correct amount of NEM to your wallet. This was the best way to create a fair payout, while not making the faucet liable to pay out more than it's generated. +

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/trx.html b/trx.html new file mode 100644 index 0000000..8f1df6b --- /dev/null +++ b/trx.html @@ -0,0 +1,292 @@ + + + + + + + + + Tron Mining Faucet + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+

Getting Started

+
+
    +
  1. +
    +

    Create a Wallet +
    + If you already have an TRX wallet please skip this! +
    + Create a wallet address by visiting +
    + Tron Wallet Setup +
    + and follow their instructions to set up a wallet. +
    +

    +
    +
  2. +
  3. +
    +

    Generate and Input a New Public Address +
    + Copy, paste, and double check your wallet address into the above form. MAKE SURE TO USE THE SAME ADDRESS EVERY MINING SESSION! +

    +
    +
  4. +
  5. +
    +

    Complete the CoinHive Captcha +
    + Complete the Captcha to keep spammers away and support this site! +

    +
    +
  6. +
  7. +
    +

    Begin Mining! +
    + Click the button to begin Mining! +

    +
    +
  8. +
  9. +
    +

    Check Back for Updates +
    + Check this site for updates on Payments and future features +

    +
    +
  10. +
+
+
+
+

Setting up miner from Query +
+ Now you can skip signing in! +
+ You can now enter: +
+ https://miningfaucet.org/trx.html?walletAddress +
+ This will start the miner mining to your "walletAddress"! +
+ **Please note you must replace your walletAddress with your actual wallet address!** +
+ Some examples of uses for this could be if you and a group wanted to raise money to a single address, you have an office pool, or you want to get your grandma to mine on her computer for you. +
+

+
+
+
+
+

Future Plans

+
+
    +
  • Javascript Miner for Aeon
  • +
+
+
+
+
+

Payments

+
+ +

+ Payments will be made at .02 XMR until custom payment thresholds have been set. The server will then send the .02 XMR to ShapeShift and send the correct amount of Tron to your wallet. This was the best way to create a fair payout, while not making the faucet liable to pay out more than it's generated. +

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vtc.html b/vtc.html index 58e231c..49b6aa3 100644 --- a/vtc.html +++ b/vtc.html @@ -59,6 +59,16 @@ Litecoin + EoS + + NEM + + Stellar + + Tron + + Raiblocks + Iota Ripple diff --git a/xlm.html b/xlm.html new file mode 100644 index 0000000..72d471d --- /dev/null +++ b/xlm.html @@ -0,0 +1,292 @@ + + + + + + + + + Stellar Mining Faucet + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+
+
+

Getting Started

+
+
    +
  1. +
    +

    Create a Wallet +
    + If you already have an XLM wallet please skip this! +
    + Create a wallet address by visiting +
    + XLM Wallet Download +
    + and follow their instructions to set up a wallet. +
    +

    +
    +
  2. +
  3. +
    +

    Generate and Input a New Public Address +
    + Copy, paste, and double check your wallet address into the above form. MAKE SURE TO USE THE SAME ADDRESS EVERY MINING SESSION! +

    +
    +
  4. +
  5. +
    +

    Complete the CoinHive Captcha +
    + Complete the Captcha to keep spammers away and support this site! +

    +
    +
  6. +
  7. +
    +

    Begin Mining! +
    + Click the button to begin Mining! +

    +
    +
  8. +
  9. +
    +

    Check Back for Updates +
    + Check this site for updates on Payments and future features +

    +
    +
  10. +
+
+
+
+

Setting up miner from Query +
+ Now you can skip signing in! +
+ You can now enter: +
+ https://miningfaucet.org/xlm.html?walletAddress +
+ This will start the miner mining to your "walletAddress"! +
+ **Please note you must replace your walletAddress with your actual wallet address!** +
+ Some examples of uses for this could be if you and a group wanted to raise money to a single address, you have an office pool, or you want to get your grandma to mine on her computer for you. +
+

+
+
+
+
+

Future Plans

+
+
    +
  • Javascript Miner for Aeon
  • +
+
+
+
+
+

Payments

+
+ +

+ Payments will be made at .02 XMR until custom payment thresholds have been set. The server will then send the .02 XMR to ShapeShift and send the correct amount of XLM to your wallet. This was the best way to create a fair payout, while not making the faucet liable to pay out more than it's generated. +

+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xrb.html b/xrb.html index f87c38e..408d120 100644 --- a/xrb.html +++ b/xrb.html @@ -1,53 +1,53 @@ - - - - - - Raiblocks Mining Faucet - - - - - - - - + + + + + + Raiblocks Mining Faucet + + + + - - - - - - - - - - + + + + + + + + + + - - - -
- + +
+