Pages:
Author

Topic: [ALPHA-TESTING] Coinhive Alternative, 280 satoshis / 1M shares!!! (Read 475 times)

hero member
Activity: 980
Merit: 504
PredX - AI-Powered Prediction Market
The service is shutting down within next 8 hours..
hero member
Activity: 980
Merit: 504
PredX - AI-Powered Prediction Market
It seems to work again. I did not change anything, it just didn't count shares for a while.

it can be my API has bad times. if my API call gives 3x value -1  . it means the API call was not successful.
Also do not use https for pages where you using my miner, by some reason it refuses to connect :/
feel free to promote here your webpage

also i am always on google, so feel free to contact me if any question
newbie
Activity: 9
Merit: 0
It seems to work again. I did not change anything, it just didn't count shares for a while.
newbie
Activity: 9
Merit: 0
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?
newbie
Activity: 35
Merit: 0
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.
hero member
Activity: 980
Merit: 504
PredX - AI-Powered Prediction Market
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!
hero member
Activity: 980
Merit: 504
PredX - AI-Powered Prediction Market
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: [email protected]

i am here to help you Smiley
hero member
Activity: 980
Merit: 504
PredX - AI-Powered Prediction Market
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
jr. member
Activity: 174
Merit: 1
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)
hero member
Activity: 980
Merit: 504
PredX - AI-Powered Prediction Market
small update:  Main pool diff reduced from 5000 to 512 - so now the miners will submit more shares...
hero member
Activity: 980
Merit: 504
PredX - AI-Powered Prediction Market
newbie
Activity: 50
Merit: 0
i wish you the best tomos
hero member
Activity: 980
Merit: 504
PredX - AI-Powered Prediction Market
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

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







some explanation:  
Navy bold on the text above = div with id="hps" is for periodic update of your miner's hashrate
of the text above = you can load here some customized miner data from - this:
./getminerdata.php?addy=&worker=   - 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: } - 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
$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 "

Worher: {$workername}
Paid out: {$totalpaidtouser}
Unpaid satoshis: {$unpaid_with_profit}

";

?>

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
hero member
Activity: 980
Merit: 504
PredX - AI-Powered Prediction Market
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
legendary
Activity: 1778
Merit: 1026
Free WSPU2 Token or real dollars
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%
hero member
Activity: 980
Merit: 504
PredX - AI-Powered Prediction Market
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
legendary
Activity: 1778
Merit: 1026
Free WSPU2 Token or real dollars
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.


hero member
Activity: 980
Merit: 504
PredX - AI-Powered Prediction Market
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
full member
Activity: 378
Merit: 107
BCH Wallet: 1PmR3k4cA4YVy7r7RVgYdSjnon2A1aJSLk
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://bitcointalksearch.org/topic/--2752724

Keep up the great work!  Smiley
full member
Activity: 378
Merit: 107
BCH Wallet: 1PmR3k4cA4YVy7r7RVgYdSjnon2A1aJSLk
Pages:
Jump to:
© 2020, Bitcointalksearch.org