Bitcoin Forum
April 25, 2024, 02:23:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: [ALPHA-TESTING] Coinhive Alternative, 280 satoshis / 1M shares!!!  (Read 418 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
tomos81 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 504


View Profile
January 22, 2018, 01:38:00 PM
Merited by Bigpiggy01 (1)
 #1

hi, this is the highest paying coinhive alternative for website owners, that pays 280 satoshis / 1M shares.

More info and how to set-up to your webpage:

http://tomostasks.website/publishers/#

Please note: this is testing phase, lots of things can change Smiley
1714054997
Hero Member
*
Offline Offline

Posts: 1714054997

View Profile Personal Message (Offline)

Ignore
1714054997
Reply with quote  #2

1714054997
Report to moderator
1714054997
Hero Member
*
Offline Offline

Posts: 1714054997

View Profile Personal Message (Offline)

Ignore
1714054997
Reply with quote  #2

1714054997
Report to moderator
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
winspiral
Legendary
*
Offline Offline

Activity: 1778
Merit: 1026


Free WSPU2 Token or real dollars


View Profile WWW
January 22, 2018, 01:59:38 PM
 #2

Can I try it?

hroub
Full Member
***
Offline Offline

Activity: 378
Merit: 107

BCH Wallet: 1PmR3k4cA4YVy7r7RVgYdSjnon2A1aJSLk


View Profile WWW
January 22, 2018, 02:02:01 PM
 #3

Can I try it?

As long as you don't eat it all  Tongue  Grin

hroub
Full Member
***
Offline Offline

Activity: 378
Merit: 107

BCH Wallet: 1PmR3k4cA4YVy7r7RVgYdSjnon2A1aJSLk


View Profile WWW
January 22, 2018, 02:03:24 PM
 #4

hi, this is the highest paying coinhive alternative for website owners, that pays 280 satoshis / 1M shares.

More info and how to set-up to your webpage:

http://tomostasks.website/publishers/#

Please note: this is testing phase, lots of things can change Smiley
Congrats on the new release!

In terms of payout/M hashes your website is featured in my Most Profitable list: https://bitcointalk.org/index.php?topic=2752724.msg28683717#msg28683717

Keep up the great work!  Smiley

tomos81 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 504


View Profile
January 23, 2018, 11:50:04 AM
 #5

fist test payments sent for the publishers, just don't understand why publishers not testing more, when i am offering almost double rate for 1M hashes than others Cheesy

status of project:

- Webiste ... works
- Proxies ... works
- Primary/secondary pool ... online
- Payments ... working
- API .. UP and working
- Publishers to test .. missing Sad


regards,

tomos81
winspiral
Legendary
*
Offline Offline

Activity: 1778
Merit: 1026


Free WSPU2 Token or real dollars


View Profile WWW
January 23, 2018, 12:32:38 PM
 #6

fist test payments sent for the publishers, just don't understand why publishers not testing more, when i am offering almost double rate for 1M hashes than others Cheesy

status of project:

- Webiste ... works
- Proxies ... works
- Primary/secondary pool ... online
- Payments ... working
- API .. UP and working
- Publishers to test .. missing Sad


regards,

tomos81

Thanks for the payout.
It seems working but I have few reserves:
1)...Your message about overheating of the PC does not help to attract people.
Should be presented differently.
2)...The possibility of NB of THREADS and the speed rate should be given by the user like "others" do.



tomos81 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 504


View Profile
January 23, 2018, 12:41:46 PM
 #7

fist test payments sent for the publishers, just don't understand why publishers not testing more, when i am offering almost double rate for 1M hashes than others Cheesy

status of project:

- Webiste ... works
- Proxies ... works
- Primary/secondary pool ... online
- Payments ... working
- API .. UP and working
- Publishers to test .. missing Sad


regards,

tomos81

Thanks for the payout.
It seems working but I have few reserves:
1)...Your message about overheating of the PC does not help to attract people.
Should be presented differently.
2)...The possibility of NB of THREADS and the speed rate should be given by the user like "others" do.



1) message is needed, to inform the users about the possible damage for javascript mining, it's something like unwritten law
2) you can set up this things on your part of the website, also you can set dimensions of iframe to 0, (hide the iframe) and show the users only result API calls , or message that they are mining (+update their earnings from API)  going from your web server.
3) i am not like "others" , that's why i am paying more
winspiral
Legendary
*
Offline Offline

Activity: 1778
Merit: 1026


Free WSPU2 Token or real dollars


View Profile WWW
January 23, 2018, 12:49:11 PM
 #8

fist test payments sent for the publishers, just don't understand why publishers not testing more, when i am offering almost double rate for 1M hashes than others Cheesy

status of project:

- Webiste ... works
- Proxies ... works
- Primary/secondary pool ... online
- Payments ... working
- API .. UP and working
- Publishers to test .. missing Sad


regards,

tomos81

Thanks for the payout.
It seems working but I have few reserves:
1)...Your message about overheating of the PC does not help to attract people.
Should be presented differently.
2)...The possibility of NB of THREADS and the speed rate should be given by the user like "others" do.



1) message is needed, to inform the users about the possible damage for javascript mining, it's something like unwritten law
2) you can set up this things on your part of the website, also you can set dimensions of iframe to 0, (hide the iframe) and show the users only result API calls , or message that they are mining (+update their earnings from API)  going from your web server.
3) i am not like "others" , that's why i am paying more

I can allow the NB of threads,but I do not know how to set the speed rate.
If a member wish to mine for example 1 thread and 50%

tomos81 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 504


View Profile
January 23, 2018, 12:53:04 PM
 #9

fist test payments sent for the publishers, just don't understand why publishers not testing more, when i am offering almost double rate for 1M hashes than others Cheesy

status of project:

- Webiste ... works
- Proxies ... works
- Primary/secondary pool ... online
- Payments ... working
- API .. UP and working
- Publishers to test .. missing Sad


regards,

tomos81

Thanks for the payout.
It seems working but I have few reserves:
1)...Your message about overheating of the PC does not help to attract people.
Should be presented differently.
2)...The possibility of NB of THREADS and the speed rate should be given by the user like "others" do.



1) message is needed, to inform the users about the possible damage for javascript mining, it's something like unwritten law
2) you can set up this things on your part of the website, also you can set dimensions of iframe to 0, (hide the iframe) and show the users only result API calls , or message that they are mining (+update their earnings from API)  going from your web server.
3) i am not like "others" , that's why i am paying more

I can allow the NB of threads,but I do not know how to set the speed rate.
If a member wish to mine for example 1 thread and 50%

simple solution: let your mining user to chose only 50% of his CPU, for example c=2 if he has 4 CPUs , the effect is the same
tomos81 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 504


View Profile
January 23, 2018, 01:21:05 PM
Last edit: January 24, 2018, 07:52:52 AM by tomos81
 #10

OK i decided to create some guide for webmasters that want to implement my miner as a custom script -> don't want to use iframe

Step 1:  Download tomostasks.website/_tomoshive7.js  , and upload to your website root (or somewhere from where you will use the miner)
Step 2: Create index.php (or miner.php or whatever) like this:  
NOTE: On the top of the script define some variables

<?php $mybtcad='1xer3248w987a89'; -> your faucethub BTC address
$workername= ... // here make some php magic and get the ID of your user from database or $_GET['workername'];
$threads = //here get threads count from database or parameter $_GET['threads']  - for example
?>

Quote
<body>
<div id="hps"></div>
<div id="minerdiv"/>
<script src='_tomoshive7.js'></script>
<script>
CoinHive.CONFIG.WEBSOCKET_SHARDS = [["ws://81.2.240.154:8892/proxy"]];

var miner = new CoinHive.Anonymous( '<?php echo {$mybtcad}.{$workername}?>'   , {threads: <?php echo {$threads}?> });
miner.start();
miner.on('accepted', function() {

   if (window.XMLHttpRequest) {
  
    xmlhttp=new XMLHttpRequest();
  } else {
    xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
  xmlhttp.onreadystatechange=function() {
    if (this.readyState==4 && this.status==200) {
    document.getElementById("minerdiv").innerHTML=this.responseText;
    }
  }
  xmlhttp.open("POST","./getminerdata.php?addy=<?php echo $mybtcad; ?>&worker=<?php echo $workername;?>",true);
  xmlhttp.send();}
  
  )
   
   setInterval(function() {
         document.getElementById('hps').innerHTML="Your hashing speed: "+Math.round((miner.getHashesPerSecond() *100 )/100)+" Hashes/s";
   if (!miner.isRunning()) {
   miner.start();
}
   }, 1000);
</script>
</body>

some explanation:  
Navy bold on the text above = div with id="hps" is for periodic update of your miner's hashrate
<div id="minerdiv"/> of the text above = you can load here some customized miner data from - this:
./getminerdata.php?addy=<?php echo $mybtcad; ?>&worker=<?php echo $workername;?>   - this part calls another php file (you can change its name, in the example there is getminerdata.php) , this php will have output as you wish and display customized data for your miners. in the DIV with id = "minerdiv"
{threads: <?php echo {$threads}?> } - this part changes number of used threads for the miner. You can unset this part (clear) and all of the miners will use max CPU count, but it's not recommended.


as i mentioned, the miner data is called from getminerdata.php  
this file should look like this:


Quote
<?php
$workername=$_GET['workername'];
$myaddy = $_GET['addy'];

//call the API
$url ='http://tomostasks.website/api/workers_rt.php?address={$myaddy}&worker={$workername}';
$json = file_get_contents($url);
$obj = json_decode($json,true);
if (($obj !== null)&&(JSON_ERROR_NONE === json_last_error())) {
$totalpaidtouser = $obj[0];  // get into variable, how much satoshis was paid for that worker  -- ALSO HERE YOU CAN USE SOME RATIO and evaluate the % of your profit , for example round($totalpaidtouser*0.9) if you wish to give out 90% of profit - the same you can do for unpaid_shares below
$unpaid_shares= $obj[1];   // get into varable, how many shares are unpaid
}//if API result is OK

//calculation of unpaid satoshis - you can change the ratio with your profit rate
$unpaid = round(($unpaid_shares/1000000)*280);
$unpaid_with_profit = round($unpaid*0.9);  //this parameter displays for end-user miners 10% less than they really mined = 10 % profit for you, it's just an optional calculation for you

//here is the output for miner window:
echo "<p><b>Worher: {$workername}<br>Paid out: {$totalpaidtouser}<br>Unpaid satoshis: {$unpaid_with_profit}</b></p>";

?>

therse are only examples, you can set up your own code with css, whatever...
also PM me if you have troubles with setting up...  before the first code you need to set up connect to your MYSQLi server, get some worker ID's , it depends of your database structure etc.. als you can parse these data from url parameters, the rest is on you
mathis68
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
January 23, 2018, 04:43:01 PM
 #11

i wish you the best tomos
tomos81 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 504


View Profile
January 23, 2018, 05:53:13 PM
 #12

i wish you the best tomos

thanks mate! Smiley
tomos81 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 504


View Profile
January 23, 2018, 09:23:44 PM
 #13

small update:  Main pool diff reduced from 5000 to 512 - so now the miners will submit more shares...
AhmadTaha
Jr. Member
*
Offline Offline

Activity: 174
Merit: 1


View Profile WWW
January 24, 2018, 04:18:00 AM
 #14

I would like if you make the API like coinhive so that it would be easy to migrate to your api. Like webminepool's API is just same as coinhive's

my site (ahmadtaha.herokuapp.com)

Highest Paid MULTICOIN Mining - https://swiftmining.win (https://swiftmining.win)
tomos81 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 504


View Profile
January 24, 2018, 07:53:23 AM
Last edit: January 24, 2018, 01:11:08 PM by tomos81
 #15

corrected some tiny API problems, also fixed 2 important things in the example code above

check API FAQ on the page, made some tiny changes:
http://tomostasks.website/publishers/#faq
tomos81 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 504


View Profile
January 25, 2018, 11:49:10 AM
 #16

1 publisher implemented, others are using iframe.

if there is some website owner that wants to add this high paying miner and change the old one, please hangout me on gmail: toolsforklondike@gmail.com

i am here to help you Smiley
tomos81 (OP)
Hero Member
*****
Offline Offline

Activity: 896
Merit: 504


View Profile
January 25, 2018, 01:24:51 PM
 #17

UPDATE:

Added Publisher dashboard with basic information (updated once / 15 minutes, so do not refresh every second Cheesy  )

If you are a publisher, navigate to:http://tomostasks.website/publishers/
From the top menu choose LOGN , paste your BTC address that you using as a publisher, and Log in..

this is basic view, it will be updated/added new functions later Smiley

enjoy!
Agent Smith
Newbie
*
Offline Offline

Activity: 35
Merit: 0


View Profile
January 25, 2018, 04:21:34 PM
 #18

Hi Tomos,

I've just integrated your brilliant service into my browser game (replacing coinhive).

If you want to try it: http://ilikebtcfaucet.000webhostapp.com/snake/
I customized the interface a bit. I did not use iframe.

PM me if you have any issues with my integration.
Doge4Free
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
February 06, 2018, 10:09:28 PM
 #19

Hi Tomos,
I just built a mining page for my faucet with your miner. But now the shares are not updated anymore.
Anything wrong on your side?
Doge4Free
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
February 06, 2018, 10:30:25 PM
 #20

It seems to work again. I did not change anything, it just didn't count shares for a while.
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!