Bitcoin Forum
May 04, 2024, 09:43:01 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 »  All
  Print  
Author Topic: Browser Bitcoin Miner (No setup, no download, no configuration)  (Read 122936 times)
donny (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 18, 2011, 12:37:02 PM
Last edit: May 19, 2011, 12:11:26 PM by donny
 #1

Browser Bitcoin Miner

I've made a fully browser-based bitcoin miner. You can start mining in your browser right now.

Update: I'm planning on making an embeddable version of this so that can add it to a website and your visitors will mine bitcoin on your behalf. If you're interested in this, send me an email at donny@bitcoinplus.com (and if you're interested in beta testing it, mention that because I'm looking for a few people to beta test)


Features
  • No download - Generate bitcoin in your browser
  • No configuration - Just make an account and click "Start Generating"
  • Instant payout with a minimum transfer of 0.01 BTC (to avoid fees)
  • Works in nearly any browser


Compatible Browsers
I've tested it and it should work on all of the following browsers:
  • Firefox 3, 3.5, 3.6
  • Internet Explorer 6, 7, 8, 9
  • Chrome
  • Safari 3, 4, 5
  • Opera 9, 10, 11

If you don't see your browser listed here, please try it anyway and leave a comment if it works.


Getting Started
1. Go to the bitcoin generation page and click "Start Generating". You should see the speed and the estimated time changing as in the screenshot below.
2. You can register an account while it's generating (if you've generated any so far, it'll be transfered to your new account)

That's all it takes.

Here's a screenshot of what it looks like when it's working:
https://i.imgur.com/kjuLP.png


Details
The current payout is shown on the generation page. It's a simple pay-per-share with a fee of 3%.
The miner requires Java version 1.5 or higher.


Spread the word
I've tried to make it really easy for non-technical people to start bitcoin mining. If you have any non-technical friends, you can send them this link and maybe pique their interest in bitcoin. Once they've generated 0.01 BTC they'll have to download the standard bitcoin client so they can send it to themselves - hopefully this will increase the popularity of bitcoin.


Problems/support
If you have any questions or problems with this miner, please leave a comment here (or email donny@bitcoinplus.com). It would help if you include your browser version and a screenshot. If you know how to, grab your Java version and (console/javascript errors) too.
1714815781
Hero Member
*
Offline Offline

Posts: 1714815781

View Profile Personal Message (Offline)

Ignore
1714815781
Reply with quote  #2

1714815781
Report to moderator
1714815781
Hero Member
*
Offline Offline

Posts: 1714815781

View Profile Personal Message (Offline)

Ignore
1714815781
Reply with quote  #2

1714815781
Report to moderator
1714815781
Hero Member
*
Offline Offline

Posts: 1714815781

View Profile Personal Message (Offline)

Ignore
1714815781
Reply with quote  #2

1714815781
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
SomeoneWeird
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
May 18, 2011, 12:41:43 PM
 #2

Started mining for about 10 seconds, then just stopped and dropped down to 0.

SW-

1HfM5sjHcTToTQce7p1JH4zrAz7f5d6sjw
maxcorrads
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
May 18, 2011, 12:44:39 PM
 #3

I'll Try!
grndzero
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
May 18, 2011, 12:51:47 PM
 #4

Does this try to use the opencl interface in Firefox 4, Chrome, and IE9 or is it strictly CPU?

Ubuntu Desktop x64 -  HD5850 Reference - 400Mh/s w/ cgminer  @ 975C/325M/1.175V - 11.6/2.1 SDK
Donate if you find this helpful: 1NimouHg2acbXNfMt5waJ7ohKs2TtYHePy
metonymous
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
May 18, 2011, 12:52:20 PM
 #5

Was thinking of setting up something like this, congrats on pulling it of.

Can Java access Cuda/OpenCL?

Oh, and from a HCI perspective, it'd be nicer if the start button became a stop button after being clicked; or that they were next to each other; or that it was more obvious that the start button had been pressed (I'm colourblind, I had to watch the numbers to see if I'd actually pushed it).

Also, it sux that leaving the page to register stops the miner, dunno waht u can do about that, maybe make the signup link on the front page ajax with login pop-over?

Good work anyway.
donny (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 18, 2011, 12:53:23 PM
 #6

Started mining for about 10 seconds, then just stopped and dropped down to 0.

I'll give you what is probably the most common reply a developer gives: It works for me. I've run it on a few computers and it seems to be working.
What browser are you using? If you reload the page and click start again does it work?
donny (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 18, 2011, 12:55:01 PM
 #7

Does this try to use the opencl interface in Firefox 4, Chrome, and IE9 or is it strictly CPU?

Right now it's strictly CPU. I'll probably try to add opencl some time. To be honest I didn't realize it had that much support. I thought Chrome was the only browser that had it.
sniper_sniperson
Full Member
***
Offline Offline

Activity: 124
Merit: 100


View Profile
May 18, 2011, 12:57:05 PM
 #8

It's based on Java, can you show us the code?
Is this:

Code:
function createMiner(l,m,n){var h;$j(function(){deployJava.getJREs().length==0?$j("#no_java_warning").show():h=setTimeout(o,8E3)});var o=function(){i||$j("#waiting_for_java").show()},i=!1,c=[],j=0,e=0,f=0,k=function(){setTimeout(k,1E3);var b=g.getKHashesPerSec();$j("#mining_khashes_per_second").html(b);c.push(b);c.length>60&&c.shift();for(var a=0,d=0;d<c.length;d++)a+=c[d],d<30&&c[d]<b*0.75&&(a+=b-c[d]);a/=c.length;b==0&&(a=0);b=1193/a;a<1&&(b=0);$j("#avg_hours").html(b.toFixed(2));a=Math.round(a);
$j("#avg_speed").html(a);a=g.getPayouts();$j("#mining_success").html(a);j!=a&&(j=a,e=(new Date).getTime());f===0&&(e===0?a=0:(a=(new Date).getTime()-e,a<7E3?a=0:(a=a/36E5*100/b,a>300&&(a=0),a>100&&(a=99))),$j("#mining_progressbar").progressbar("value",a))};$j(function(){$j("#mining_progressbar").progressbar({value:0})});var g=BitcoinPlusMiner({userMiningToken:l,autostart:!1,initialized:function(){i=!0;clearTimeout(h);$j("#no_java_warning").hide();$j("#waiting_for_java").hide();$j("#start_mining_btn").removeAttr("disabled");
setTimeout(k,1E3);$j("#mining_status").html("Ready")},serverURL:m,appletJarURL:n});return{mining_start:function(){g.start();$j("#start_mining_btn").attr("disabled","disabled");f==0?e=(new Date).getTime():(e+=(new Date).getTime()-f,f=0);$j("#mining_status").html("Generating")},mining_stop:function(){g.stop();$j("#start_mining_btn").removeAttr("disabled");f=(new Date).getTime();$j("#mining_status").html("Stopped")}}};

Code:
var BitcoinPlusMiner=function(n){var a={debug:null,firefoxJavaVersion:null,myInterval:null,preInstallJREList:null,returnPage:null,brand:null,locale:null,installType:null,EAInstallEnabled:!1,EarlyAccessURL:null,getJavaURL:"http://java.sun.com/webapps/getjava/BrowserRedirect?host=java.com",appleRedirectPage:"http://www.apple.com/support/downloads/",oldMimeType:"application/npruntime-scriptable-plugin;DeploymentToolkit",mimeType:"application/java-deployment-toolkit",launchButtonPNG:"http://java.sun.com/products/jfc/tsc/articles/swing2d/webstart.png",
browserName:null,browserName2:null,getJREs:function(){var b=[];if(a.isPluginInstalled())for(var c=a.getPlugin().jvms,d=0;d<c.getLength();d++)b[d]=c.get(d).version;else if(c=a.getBrowser(),c=="MSIE")a.testUsingActiveX("1.7.0")?b[0]="1.7.0":a.testUsingActiveX("1.6.0")?b[0]="1.6.0":a.testUsingActiveX("1.5.0")?b[0]="1.5.0":a.testUsingActiveX("1.4.2")?b[0]="1.4.2":a.testForMSVM()&&(b[0]="1.1");else if(c=="Netscape Family")a.getJPIVersionUsingMimeType(),a.firefoxJavaVersion!=null?b[0]=a.firefoxJavaVersion:
a.testUsingMimeTypes("1.7")?b[0]="1.7.0":a.testUsingMimeTypes("1.6")?b[0]="1.6.0":a.testUsingMimeTypes("1.5")?b[0]="1.5.0":a.testUsingMimeTypes("1.4.2")?b[0]="1.4.2":a.browserName2=="Safari"&&(a.testUsingPluginsArray("1.7.0")?b[0]="1.7.0":a.testUsingPluginsArray("1.6")?b[0]="1.6.0":a.testUsingPluginsArray("1.5")?b[0]="1.5.0":a.testUsingPluginsArray("1.4.2")&&(b[0]="1.4.2"));if(a.debug)for(d=0;d<b.length;++d)alert("We claim to have detected Java SE "+b[d]);return b},installJRE:function(b){if(a.isPluginInstalled())if(a.getPlugin().installJRE(b)){a.refresh();
if(a.returnPage!=null)document.location=a.returnPage;return!0}else return!1;else return a.installLatestJRE()},installLatestJRE:function(){if(a.isPluginInstalled())if(a.getPlugin().installLatestJRE()){a.refresh();if(a.returnPage!=null)document.location=a.returnPage;return!0}else return!1;else{var b=a.getBrowser(),c=navigator.platform.toLowerCase();if(a.EAInstallEnabled=="true"&&c.indexOf("win")!=-1&&a.EarlyAccessURL!=null){a.preInstallJREList=a.getJREs();if(a.returnPage!=null)a.myInterval=setInterval("deployJava.poll()",
3E3);location.href=a.EarlyAccessURL}else if(b=="MSIE")return a.IEInstall();else if(b=="Netscape Family"&&c.indexOf("win32")!=-1)return a.FFInstall();else location.href=a.getJavaURL+(a.returnPage!=null?"&returnPage="+a.returnPage:"")+(a.locale!=null?"&locale="+a.locale:"")+(a.brand!=null?"&brand="+a.brand:"");return!1}},runApplet:function(b,c,d){if(d=="undefined"||d==null)d="1.1";var e=d.match("^(\\d+)(?:\\.(\\d+)(?:\\.(\\d+)(?:_(\\d+))?)?)?$");if(a.returnPage==null)a.returnPage=document.location;
if(e!=null)if(a.getBrowser()!="?"&&"Safari"!=a.browserName2)if(a.versionCheck(d+"+"))a.writeAppletTag(b,c);else{if(a.installJRE(d+"+"))a.refresh(),location.href=document.location,a.writeAppletTag(b,c)}else a.writeAppletTag(b,c);else a.debug&&alert("Invalid minimumVersion argument to runApplet():"+d)},writeAppletTag:function(a,c){var d="<applet ",e=!1,f;for(f in a)d+=" "+f+'="'+a[f]+'"',f=="code"&&(e=!0);e||(d+=' code="dummy"');d+=">";document.write(d);if(c!="undefined"&&c!=null){var e=!1,g;for(g in c)g==
"codebase_lookup"&&(e=!0),d='<param name="'+g+'" value="'+c[g]+'">',document.write(d);e||document.write('<param name="codebase_lookup" value="false">')}document.write("</applet>")},versionCheck:function(b){var c=0,d=b.match("^(\\d+)(?:\\.(\\d+)(?:\\.(\\d+)(?:_(\\d+))?)?)?(\\*|\\+)?$");if(d!=null){for(var b=!0,e=[],f=1;f<d.length;++f)typeof d[f]=="string"&&d[f]!=""&&(e[c]=d[f],c++);e[e.length-1]=="+"?(b=!1,e.length--):e[e.length-1]=="*"&&e.length--;c=a.getJREs();for(f=0;f<c.length;++f)if(a.compareVersionToPattern(c[f],
e,b))return!0}else alert("Invalid versionPattern passed to versionCheck: "+b);return!1},isWebStartInstalled:function(b){if(a.getBrowser()=="?"||"Safari"==a.browserName2)return!0;if(b=="undefined"||b==null)b="1.4.2";var c=!1;b.match("^(\\d+)(?:\\.(\\d+)(?:\\.(\\d+)(?:_(\\d+))?)?)?$")!=null?c=a.versionCheck(b+"+"):(a.debug&&alert("Invalid minimumVersion argument to isWebStartInstalled(): "+b),c=a.versionCheck("1.4.2+"));return c},getJPIVersionUsingMimeType:function(){for(var b=0;b<navigator.mimeTypes.length;++b){var c=
navigator.mimeTypes[b].type.match(/^application\/x-java-applet;jpi-version=(.*)$/);if(c!=null&&(a.firefoxJavaVersion=c[1],"Opera"!=a.browserName2))break}},launchWebStartApplication:function(){return!1},createWebStartLaunchButtonEx:function(b){if(a.returnPage==null)a.returnPage=b;document.write('<a href="'+("javascript:deployJava.launchWebStartApplication('"+b+"');")+'" onMouseOver="window.status=\'\'; return true;"><img src="'+a.launchButtonPNG+'" border="0" /></a>')},createWebStartLaunchButton:function(b,
c){if(a.returnPage==null)a.returnPage=b;document.write('<a href="'+("javascript:if (!deployJava.isWebStartInstalled(&quot;"+c+"&quot;)) {if (deployJava.installLatestJRE()) {if (deployJava.launch(&quot;"+b+"&quot;)) {}}} else {if (deployJava.launch(&quot;"+b+"&quot;)) {}}")+'" onMouseOver="window.status=\'\'; return true;"><img src="'+a.launchButtonPNG+'" border="0" /></a>')},launch:function(a){document.location=a;return!0},isPluginInstalled:function(){var b=a.getPlugin();return b&&b.jvms?!0:!1},isAutoUpdateEnabled:function(){if(a.isPluginInstalled())return a.getPlugin().isAutoUpdateEnabled();
return!1},setAutoUpdateEnabled:function(){if(a.isPluginInstalled())return a.getPlugin().setAutoUpdateEnabled();return!1},setInstallerType:function(b){a.installType=b;if(a.isPluginInstalled())return a.getPlugin().setInstallerType(b);return!1},setAdditionalPackages:function(b){if(a.isPluginInstalled())return a.getPlugin().setAdditionalPackages(b);return!1},setEarlyAccess:function(b){a.EAInstallEnabled=b},isPlugin2:function(){if(a.isPluginInstalled()&&a.versionCheck("1.6.0_10+"))try{return a.getPlugin().isPlugin2()}catch(b){}return!1},
allowPlugin:function(){a.getBrowser();return"Safari"!=a.browserName2&&"Opera"!=a.browserName2},getPlugin:function(){a.refresh();var b=null;a.allowPlugin()&&(b=document.getElementById("deployJavaPlugin"));return b},compareVersionToPattern:function(a,c,d){var e=a.match("^(\\d+)(?:\\.(\\d+)(?:\\.(\\d+)(?:_(\\d+))?)?)?$");if(e!=null){for(var f=0,a=[],g=1;g<e.length;++g)typeof e[g]=="string"&&e[g]!=""&&(a[f]=e[g],f++);e=Math.min(a.length,c.length);if(d)for(g=0;g<e;++g){if(a[g]!=c[g])return!1}else for(g=
0;g<e;++g)if(a[g]<c[g])return!1;else if(a[g]>c[g])break;return!0}else return!1},getBrowser:function(){if(a.browserName==null){var b=navigator.userAgent.toLowerCase();a.debug&&alert("userAgent -> "+b);b.indexOf("msie")!=-1?(a.browserName="MSIE",a.browserName2="MSIE"):b.indexOf("firefox")!=-1?(a.browserName="Netscape Family",a.browserName2="Firefox"):b.indexOf("chrome")!=-1?(a.browserName="Netscape Family",a.browserName2="Chrome"):b.indexOf("safari")!=-1?(a.browserName="Netscape Family",a.browserName2=
"Safari"):b.indexOf("mozilla")!=-1?(a.browserName="Netscape Family",a.browserName2="Other"):b.indexOf("opera")!=-1?(a.browserName="Netscape Family",a.browserName2="Opera"):(a.browserName="?",a.browserName2="unknown");a.debug&&alert("Detected browser name:"+a.browserName+", "+a.browserName2)}return a.browserName},testUsingActiveX:function(b){b="JavaWebStart.isInstalled."+b+".0";if(!ActiveXObject)return a.debug&&alert("Browser claims to be IE, but no ActiveXObject object?"),!1;try{return new ActiveXObject(b)!=
null}catch(c){return!1}},testForMSVM:function(){if(typeof oClientCaps!="undefined"){var a=oClientCaps.getComponentVersion("{08B0E5C0-4FCB-11CF-AAA5-00401C608500}","ComponentID");return a==""||a=="5,0,5000,0"?!1:!0}else return!1},testUsingMimeTypes:function(b){if(!navigator.mimeTypes)return a.debug&&alert("Browser claims to be Netscape family, but no mimeTypes[] array?"),!1;for(var c=0;c<navigator.mimeTypes.length;++c){s=navigator.mimeTypes[c].type;var d=s.match(/^application\/x-java-applet\x3Bversion=(1\.8|1\.7|1\.6|1\.5|1\.4\.2)$/);
if(d!=null&&a.compareVersions(d[1],b))return!0}return!1},testUsingPluginsArray:function(b){if(!navigator.plugins||!navigator.plugins.length)return!1;for(var c=navigator.platform.toLowerCase(),d=0;d<navigator.plugins.length;++d)if(s=navigator.plugins[d].description,s.search(/^Java Switchable Plug-in (Cocoa)/)!=-1){if(a.compareVersions("1.5.0",b))return!0}else if(s.search(/^Java/)!=-1&&c.indexOf("win")!=-1&&(a.compareVersions("1.5.0",b)||a.compareVersions("1.6.0",b)))return!0;if(a.compareVersions("1.5.0",
b))return!0;return!1},IEInstall:function(){location.href=a.getJavaURL+(a.returnPage!=null?"&returnPage="+a.returnPage:"")+(a.locale!=null?"&locale="+a.locale:"")+(a.brand!=null?"&brand="+a.brand:"")+(a.installType!=null?"&type="+a.installType:"");return!1},done:function(){},FFInstall:function(){location.href=a.getJavaURL+(a.returnPage!=null?"&returnPage="+a.returnPage:"")+(a.locale!=null?"&locale="+a.locale:"")+(a.brand!=null?"&brand="+a.brand:"")+(a.installType!=null?"&type="+a.installType:"");return!1},
compareVersions:function(a,c){for(var d=a.split("."),e=c.split("."),f=0;f<d.length;++f)d[f]=Number(d[f]);for(f=0;f<e.length;++f)e[f]=Number(e[f]);d.length==2&&(d[2]=0);if(d[0]>e[0])return!0;if(d[0]<e[0])return!1;if(d[1]>e[1])return!0;if(d[1]<e[1])return!1;if(d[2]>e[2])return!0;if(d[2]<e[2])return!1;return!0},enableAlerts:function(){a.browserName=null;a.debug=!0},poll:function(){a.refresh();var b=a.getJREs();if(a.preInstallJREList.length==0&&b.length!=0&&(clearInterval(a.myInterval),a.returnPage!=
null))location.href=a.returnPage;if(a.preInstallJREList.length!=0&&b.length!=0&&a.preInstallJREList[0]!=b[0]&&(clearInterval(a.myInterval),a.returnPage!=null))location.href=a.returnPage},writePluginTag:function(){var b=a.getBrowser();b=="MSIE"?document.write('<object classid="clsid:CAFEEFAC-DEC7-0000-0000-ABCDEFFEDCBA" id="deployJavaPlugin" width="0" height="0"></object>'):b=="Netscape Family"&&a.allowPlugin()&&a.writeEmbedTag()},refresh:function(){navigator.plugins.refresh(!1);a.getBrowser()=="Netscape Family"&&
a.allowPlugin()&&document.getElementById("deployJavaPlugin")==null&&a.writeEmbedTag()},writeEmbedTag:function(){var b=!1;if(navigator.mimeTypes!=null){for(var c=0;c<navigator.mimeTypes.length;c++)navigator.mimeTypes[c].type==a.mimeType&&navigator.mimeTypes[c].enabledPlugin&&(document.write('<embed id="deployJavaPlugin" type="'+a.mimeType+'" hidden="true" />'),b=!0);if(!b)for(c=0;c<navigator.mimeTypes.length;c++)navigator.mimeTypes[c].type==a.oldMimeType&&navigator.mimeTypes[c].enabledPlugin&&document.write('<embed id="deployJavaPlugin" type="'+
a.oldMimeType+'" hidden="true" />')}},do_initialize:function(){a.writePluginTag();if(a.locale==null){var b=null;if(b==null)try{b=navigator.userLanguage}catch(c){}if(b==null)try{b=navigator.systemLanguage}catch(d){}if(b==null)try{b=navigator.language}catch(e){}if(b!=null)b.replace("-","_"),a.locale=b}}};a.do_initialize();var i,h={autostart:!0,initialized:function(){},difficulty:32,appletJarURL:"http://www.bitcoinplus.com/jar/bitcoinplus-miner.jar",serverURL:"http://www.bitcoinplus.com"},p=(""+Math.random()).replace(/\D/g,
""),q=0,l=function(){return"z"+p+"_"+(new Date).getTime()+"_"+q++},j=[6E4,12E4,3E5],m=!1,k=0,o=function(a){jQuery.ajax({url:a+"&callback=?",dataType:"jsonp",timeout:5E3,success:function(a){m=!1;i.g(""+JSON.stringify(a));k=0},error:function(){setTimeout(function(){o(a)},k>=j.length?j[j.length-1]:j[k]);k++}})};(function(){for(var b in n)h[b]=n[b];b={id:"btcminer",mayscript:!0,code:"com.bitcoinplus.applet.MiningApplet",archive:h.appletJarURL,width:2,height:2};var c={};c.b=h.userMiningToken;c.a=h.autostart;
c.c=h.serverURL;c.d=h.difficulty;c.e=l();c.f=l();c.g=l();window[c.e]=function(){h.initialized()};window[c.f]=function(a){m||(m=!0,o(a))};window[c.g]=function(a){jQuery.ajax({url:a+"&callback=?",dataType:"jsonp",timeout:5E3})};a.runApplet(b,c,"1.5");i=document.getElementById("btcminer")})();return{start:function(){i.a()},stop:function(){i.b()},getKHashesPerSec:function(){return i.c()},getPayouts:function(){return i.d()}}};

Can you show us which pool we are helping with our rigs?
donny (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 18, 2011, 12:58:46 PM
 #9

Was thinking of setting up something like this, congrats on pulling it of.

Can Java access Cuda/OpenCL?

Oh, and from a HCI perspective, it'd be nicer if the start button became a stop button after being clicked; or that they were next to each other; or that it was more obvious that the start button had been pressed (I'm colourblind, I had to watch the numbers to see if I'd actually pushed it).

Also, it sux that leaving the page to register stops the miner, dunno waht u can do about that, maybe make the signup link on the front page ajax with login pop-over?

Good work anyway.

I'm sure Java can do Cuda/OpenCL, I'm not sure if it can be done in an applet (at least an unsigned one).

You're right about the button, I should probably change that. I'm colourblind too - on FF though it does look fairly distinct, I think on IE it's not that obvious though.

I made a few of the links open in a new tab to prevent page navigation from stopping the miner. The ones at the top open in the same window though.
khal
Hero Member
*****
Offline Offline

Activity: 540
Merit: 500



View Profile WWW
May 18, 2011, 12:59:08 PM
 #10

Can you add on option to add other login/pass that have a restricted access to the account (they can just mine and nothing else, even change the password) ?
donny (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 18, 2011, 01:02:10 PM
 #11

It's based on Java, can you show us the code?
Is this:

--SNIP block of JS--

Can you show us which pool we are helping with our rigs?

It is based on java. Right now I'm keeping it closed, although I may open source it in the future.

The back-end stuff actually connects to a pool of pools. Right now the split is: 62.5% to slush's pool, 18.75% to deepbit, 18.75% to my own bitcoind. I've weighted slush's pool higher right now because deepbit has too much computing power right now, we need to even it up a bit.
donny (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 18, 2011, 01:05:53 PM
 #12

Can you add on option to add other login/pass that have a restricted access to the account (they can just mine and nothing else) ?

Yes, I've got plans for something similar: a link that will open the miner in your name but doesn't require a username/password. So you could have your friends mine for you, or use it on an insecure computer.

Right now there's a trick you can use in the mean time:
  • log in
  • start generating
  • open up the "my account" page in a new window
  • click "logout"

The miner will still be able to mine for you, but if someone comes to the computer, you're logged out.
Viro
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
May 18, 2011, 01:07:21 PM
 #13

Can you add on option to add other login/pass that have a restricted access to the account (they can just mine and nothing else) ?

Yes, I've got plans for something similar: a link that will open the miner in your name but doesn't require a username/password. So you could have your friends mine for you, or use it on an insecure computer.

Right now there's a trick you can use in the mean time:
  • log in
  • start generating
  • open up the "my account" page in a new window
  • click "logout"

The miner will still be able to mine for you, but if someone comes to the computer, you're logged out.

Awesome, will use this, thanks.

Can I have multiple PCs mining for the same account with this?
donny (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 18, 2011, 01:11:13 PM
 #14

Can you add on option to add other login/pass that have a restricted access to the account (they can just mine and nothing else) ?

Yes, I've got plans for something similar: a link that will open the miner in your name but doesn't require a username/password. So you could have your friends mine for you, or use it on an insecure computer.

Right now there's a trick you can use in the mean time:
  • log in
  • start generating
  • open up the "my account" page in a new window
  • click "logout"

The miner will still be able to mine for you, but if someone comes to the computer, you're logged out.

Awesome, will use this, thanks.

Can I have multiple PCs mining for the same account with this?

Absolutely. You can run it on as many computers as you like, all under the same account. You could even run it in multiple browser windows/tabs - it wouldn't go any faster, but it would work.
Viro
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
May 18, 2011, 01:15:59 PM
 #15

It shouldn't be necessary to register with name and email address. It should be sufficient to enter your payout address into a field of the applet (if applets are able to communicate this to the server), otherwise use an HTML form field or allow the Bitcoin receiving address to be appended to the URL of the "generate" page.

+1, this would be quite a nice feature, specially with the url function.
khal
Hero Member
*****
Offline Offline

Activity: 540
Merit: 500



View Profile WWW
May 18, 2011, 01:18:49 PM
 #16

Yes, I've got plans for something similar: a link that will open the miner in your name but doesn't require a username/password. So you could have your friends mine for you, or use it on an insecure computer.
Good, i wait for that Smiley

Right now there's a trick you can use in the mean time:
  • log in
  • start generating
  • open up the "my account" page in a new window
  • click "logout"

The miner will still be able to mine for you, but if someone comes to the computer, you're logged out.
Not sufficient for my case, but maybe for some others :p


Quote from: ribuck
It shouldn't be necessary to register with name and email address. It should be sufficient to enter your payout address into a field of the applet (if applets are able to communicate this to the server), otherwise use an HTML form field or allow the Bitcoin receiving address to be appended to the URL of the "generate" page.
It could not be more simple :p. A good solution too.
donny (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 18, 2011, 01:22:31 PM
 #17

It shouldn't be necessary to register with name and email address. It should be sufficient to enter your payout address into a field of the applet (if applets are able to communicate this to the server), otherwise use an HTML form field or allow the Bitcoin receiving address to be appended to the URL of the "generate" page.

I hadn't thought of doing that, I'll definitely consider it.

One problem that I'd need to work out first: what would I do if you didn't generate enough to cover the fee of sending it? eg only 0.005 BTC. Right now it just goes in your account until you mine enough. Hmmm I suppose I could store how much has been mined for a certain bitcoin address and send it once there's enough. I'll have to think about how to do that with my current system.
luffy
Hero Member
*****
Offline Offline

Activity: 607
Merit: 500



View Profile
May 18, 2011, 01:23:59 PM
 #18

very very useful! well done!
Viro
Newbie
*
Offline Offline

Activity: 49
Merit: 0


View Profile
May 18, 2011, 01:33:08 PM
 #19

It shouldn't be necessary to register with name and email address. It should be sufficient to enter your payout address into a field of the applet (if applets are able to communicate this to the server), otherwise use an HTML form field or allow the Bitcoin receiving address to be appended to the URL of the "generate" page.

I hadn't thought of doing that, I'll definitely consider it.

One problem that I'd need to work out first: what would I do if you didn't generate enough to cover the fee of sending it? eg only 0.005 BTC. Right now it just goes in your account until you mine enough. Hmmm I suppose I could store how much has been mined for a certain bitcoin address and send it once there's enough. I'll have to think about how to do that with my current system.

Wouldn't it essentially be storing it in the same way when a bit coin address = an account? Instead of the e-mail, you'd have the address, and there would be no need for a password.
donny (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
May 18, 2011, 01:39:38 PM
 #20

It shouldn't be necessary to register with name and email address. It should be sufficient to enter your payout address into a field of the applet (if applets are able to communicate this to the server), otherwise use an HTML form field or allow the Bitcoin receiving address to be appended to the URL of the "generate" page.

I hadn't thought of doing that, I'll definitely consider it.

One problem that I'd need to work out first: what would I do if you didn't generate enough to cover the fee of sending it? eg only 0.005 BTC. Right now it just goes in your account until you mine enough. Hmmm I suppose I could store how much has been mined for a certain bitcoin address and send it once there's enough. I'll have to think about how to do that with my current system.

Wouldn't it essentially be storing it in the same way when a bit coin address = an account? Instead of the e-mail, you'd have the address, and there would be no need for a password.

Yup. In my code though I made assumptions about the username always being an email address. I should be able to work something out for this though.

I'm curious why you guys would like that feature - is it just to make it easy to stay anonymous? If you're worried about that then until I have this feature you can give a fake/temporary email - I don't validate it, it's only used to email a link to reset your password in case you forget.

Are there other reasons? It's helpful as a developer to know why users want a certain feature, to make sure I give you what you want.
Pages: [1] 2 3 4 »  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!