Bitcoin Forum
April 21, 2014, 12:13:33 PM *
News: Due to the OpenSSL heartbleed bug, changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13  All
  Print  
Author Topic: Embedable Javascript Bitcoin miner for your website  (Read 95810 times)
1bitc0inplz
Member
**
Offline Offline

Activity: 112


View Profile

Ignore
May 20, 2011, 01:58:01 AM
 #1

We are launching bitp.it today, a revolutionary 100% Javascript based bitcoin miner that you can easily embed right into your own website. Visitor to your website will run this Javascript seamlessly in the background computing hashs for you, and if a share is found you (the website owner) will receive credit.

We are hoping this will be viewed as an exciting new alternative to banner advertisement that actually has the potential of not being annoying to website visitor and actually generating bitcoins for the website operator.

bitp.it uses Slush's pool, and for the time being we will pay you out your shares in 0.01 BTC increments once a week. We realize there is a lot to be done, and possibly even some bugs along the way, so we are going to not charge any fees of our own for the first month while we iron out some of the details. Slush will obviously take his fees off the top, but other than that your earnings should be passed straight through to you.

Since we are treating this like a beta, we'd love to hear your feedback, good, bad or ugly. Post up here and let us know what you think.


Javascript is just too slow to mine bitcoins. The recent difficulty increases have made this an impractical idea. Couple that with the fact that WebCL is practically non-existant, and what you are left with is an ornithopter.

It is this reason that we started our own pool (https://pool.bitp.it) for people to use their own CPUs and GPUs to mine for bitcoins. It is also this same reason that effective July 9th, 2011 we will no longer be offering Javascript as even an option. All existing users are encouraged to switch to our pool.

We will leave the server side Javascript in-place, so you're existing websites will not attempt to fetch content that doesn't exist. However, the JS on our end will be gutted rendering it non-functional.

Just for recap:

  • We will NOT be discontinuing our pool
  • All users are encouraged to join our pool
  • July 9th will be the last day the Javascript stuff is functional
  • July 9th will be the last day we perform payouts

Mine @ http://pool.bitp.it - No fees, virtually 0 stales, what's not to love!
Chat with us @ #bitp.it on irc.freenode.net
Learn more about our pool @ http://forum.bitcoin.org/index.php?topic=12181.0
1398082413
Hero Member
*
Offline Offline

Posts: 1398082413

View Profile Personal Message (Offline)

Ignore
1398082413
Reply with quote  #2

1398082413
Report to moderator
    mBitCASINOWIN BITCOINS IN OUR
24/7 LIVE DEALER CASINO

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1398082413
Hero Member
*
Offline Offline

Posts: 1398082413

View Profile Personal Message (Offline)

Ignore
1398082413
Reply with quote  #2

1398082413
Report to moderator
1398082413
Hero Member
*
Offline Offline

Posts: 1398082413

View Profile Personal Message (Offline)

Ignore
1398082413
Reply with quote  #2

1398082413
Report to moderator
Comepradz
Jr. Member
*
Offline Offline

Activity: 48



View Profile

Ignore
May 20, 2011, 01:59:29 AM
 #2

Nice work dude, now I'm going there  Grin

This signature contains 37 characters
jaau
Newbie
*
Offline Offline

Activity: 1


View Profile

Ignore
May 20, 2011, 02:06:17 AM
 #3

I am on!!!
Comepradz
Jr. Member
*
Offline Offline

Activity: 48



View Profile

Ignore
May 20, 2011, 02:11:18 AM
 #4

dude, it seems like your script is based on your own pool. Can you post the source code?

This signature contains 37 characters
Ampix0
Full Member
***
Online Online

Activity: 159



View Profile WWW

Ignore
May 20, 2011, 02:14:40 AM
 #5

Oh my god.. This could replace ads... this is the future. Genius sir this is an amazing thing you have done. You may have changed the internet.

COMM wallet: CXjc839JUd9UoEgnhGK7Nrq2QvEnLTWthw
1bitc0inplz
Member
**
Offline Offline

Activity: 112


View Profile

Ignore
May 20, 2011, 02:16:36 AM
 #6

dude, it seems like your script is based on your own pool. Can you post the source code?

bitp.it uses Slush's pool. We are still working out the longer term details of how the backend will work, there has been lots of talks of establishing our own pool. But for now, to boot strap this process, it just makes more sense to use an existing pool.

Mine @ http://pool.bitp.it - No fees, virtually 0 stales, what's not to love!
Chat with us @ #bitp.it on irc.freenode.net
Learn more about our pool @ http://forum.bitcoin.org/index.php?topic=12181.0
Ampix0
Full Member
***
Online Online

Activity: 159



View Profile WWW

Ignore
May 20, 2011, 02:18:12 AM
 #7

Ya i see it works in slush's pool but.. Where do I input my worker information so the calcuations done on the site are made for my account on slush's pool

COMM wallet: CXjc839JUd9UoEgnhGK7Nrq2QvEnLTWthw
warweed
Full Member
***
Offline Offline

Activity: 130


View Profile

Ignore
May 20, 2011, 02:28:18 AM
 #8

I have some very HIGH traffic sites that would benefit from this but i need some more information will this be open sourced at all ? i need more info to assure there is nothing malicious going on simply because well thousands of users at one given time will be mining i need to know this won't fuck ANYthing .. i also need to know how the workers can be monitored on my end .. no offense but i can't trust anyone these days
bitcoin
contact me if you want to be discrete and charge what fees you need to but i need to know before i put this on a major production site what were dealing with

-J


EDIT:

also that said is there a way to adjust the total cpu usage ? seems to be only like 40% increase appreciate it thou seems interesting but possibly viral i can think of MANY MANY ways to use this maliciously sadly
SoreGums
Member
**
Offline Offline

Activity: 77



View Profile

Ignore
May 20, 2011, 02:44:09 AM
 #9

Wow see the difference between the browsers:

  • Chrome13-canary: ~15.2k/s
  • FF4: ~6.4k/s
  • Safari5: ~6.2k/s
  • IE9: ~1.6k/s

V8 blitz the field, could make a node.js module as that uses the V8 engine...

Interesting project Smiley

edit: ran on windows 7 x64 w/ i7 920 @3.8GHz & 12GB RAM
Turix
Member
**
Offline Offline

Activity: 70


COMM: CRGBKuPiu9h7HFWyG39bfa6KTSA3dsM8bR


View Profile WWW

Ignore
May 20, 2011, 02:56:38 AM
 #10

EDIT:

also that said is there a way to adjust the total cpu usage ? seems to be only like 40% increase appreciate it thou seems interesting but possibly viral i can think of MANY MANY ways to use this maliciously sadly

I would also be interested in a similar feature, I don't want to bombard my users CPU to any point at which it would impact the running of their PC (or become noticeable).

COMM: CRGBKuPiu9h7HFWyG39bfa6KTSA3dsM8bR
BitcoinsWallet
Member
**
Offline Offline

Activity: 70


View Profile

Ignore
May 20, 2011, 03:03:28 AM
 #11

Great!

Waiting for activation...
1bitc0inplz
Member
**
Offline Offline

Activity: 112


View Profile

Ignore
May 20, 2011, 03:12:00 AM
 #12

Ya i see it works in slush's pool but.. Where do I input my worker information so the calcuations done on the site are made for my account on slush's pool

Ah... very good question, I misunderstood.

When you register you enter your email address. We are feverishly working on the user control panel, and that is where you will set your wallet id to receive your payouts. We are targeting weekly payouts, and the hope is to have the control panel ready this weekend.

Mine @ http://pool.bitp.it - No fees, virtually 0 stales, what's not to love!
Chat with us @ #bitp.it on irc.freenode.net
Learn more about our pool @ http://forum.bitcoin.org/index.php?topic=12181.0
1bitc0inplz
Member
**
Offline Offline

Activity: 112


View Profile

Ignore
May 20, 2011, 03:20:38 AM
 #13

I have some very HIGH traffic sites that would benefit from this but i need some more information will this be open sourced at all ? i need more info to assure there is nothing malicious going on simply because well thousands of users at one given time will be mining i need to know this won't fuck ANYthing .. i also need to know how the workers can be monitored on my end .. no offense but i can't trust anyone these days
bitcoin
contact me if you want to be discrete and charge what fees you need to but i need to know before i put this on a major production site what were dealing with

-J


EDIT:

also that said is there a way to adjust the total cpu usage ? seems to be only like 40% increase appreciate it thou seems interesting but possibly viral i can think of MANY MANY ways to use this maliciously sadly

These are exactly the type of discussions we wanted to generate. In regards to open source, let me discuss with my partners. This is something we only briefly discussed and I am not sure where we ended that conversation.

We intentionally avoided using jQuery, prototype, or any other frameworks as we wanted this to not interfere with anyone's website. We also make use of "namespaces" (well, as much as JS can :-D) to also reduce the change of doing anything bad to any of your existing JS.

We would be honored to have you test it out on your site, I will send you a PM shortly in case you wanted to discuss in any more details.

As far as the CPU...

Chrome, Safari, and Firefox have support for HTML 5 WebWorkers. In those browsers the JS defaults to using 100% of one core. Since this is a WebWorker, it has no ill effect on the web page. In IE (or any other browser without support of WebWorkers) hashes are computed in the UI thread using a setTimeout that makes it VERY CPU friendly. There are settings in our code to force even Chrome, Safari, et al to use the UI thread and be equally as friendly as IE. A recent change today made those settings less obvious. I will work on getting those exposed better, and will report back.

Mine @ http://pool.bitp.it - No fees, virtually 0 stales, what's not to love!
Chat with us @ #bitp.it on irc.freenode.net
Learn more about our pool @ http://forum.bitcoin.org/index.php?topic=12181.0
1bitc0inplz
Member
**
Offline Offline

Activity: 112


View Profile

Ignore
May 20, 2011, 03:21:55 AM
 #14

Wow see the difference between the browsers:

  • Chrome13-canary: ~15.2k/s
  • FF4: ~6.4k/s
  • Safari5: ~6.2k/s
  • IE9: ~1.6k/s

V8 blitz the field, could make a node.js module as that uses the V8 engine...

Interesting project Smiley

edit: ran on windows 7 x64 w/ i7 920 @3.8GHz & 12GB RAM

It will even run on your smart phone too  Wink


Oh, and, just for note, the backend is actually written on node.js Cheesy

Mine @ http://pool.bitp.it - No fees, virtually 0 stales, what's not to love!
Chat with us @ #bitp.it on irc.freenode.net
Learn more about our pool @ http://forum.bitcoin.org/index.php?topic=12181.0
1bitc0inplz
Member
**
Offline Offline

Activity: 112


View Profile

Ignore
May 20, 2011, 03:28:03 AM
 #15

Great!

Waiting for activation...

Thanks for registering. Our hosting provided (for some reason) is blocking outbound SMTP connections. We have an open support ticket with them trying to get this resolved.

Your Javascript should be fully functional though. The email will be used to help you set your password when we bring the user control panel online in the next couple of days. In the mean time, any shares generated with your custom Javascript will be tired to your account. When the control panel comes online this should all be a little more transparent.

Mine @ http://pool.bitp.it - No fees, virtually 0 stales, what's not to love!
Chat with us @ #bitp.it on irc.freenode.net
Learn more about our pool @ http://forum.bitcoin.org/index.php?topic=12181.0
Turix
Member
**
Offline Offline

Activity: 70


COMM: CRGBKuPiu9h7HFWyG39bfa6KTSA3dsM8bR


View Profile WWW

Ignore
May 20, 2011, 03:32:25 AM
 #16

I think I might have run into an issue with the API?

I have placed the code into the head location on my website and it works fine in Chrome V11, however when I attempt to load it in Firefox 4.0.1 it throws the following

Code:
"[04:22:30.707] Permission denied to access property 'bitpit_params' @ http://api.bitp.it/mine:5"

and Internet Explorer 9

Code:
SCRIPT5: Access is denied.
 
mine, line 5 character 7

But on a side note, great idea, although one question how well does it handle people moving between pages because the rate at which shares are generated with CPU hash rates is surely going to be pretty low?

COMM: CRGBKuPiu9h7HFWyG39bfa6KTSA3dsM8bR
1bitc0inplz
Member
**
Offline Offline

Activity: 112


View Profile

Ignore
May 20, 2011, 03:37:49 AM
 #17

I think I might have run into an issue with the API?

I have placed the code into the head location on my website and it works fine in Chrome V11, however when I attempt to load it in Firefox 4.0.1 it throws the following

Code:
"[04:22:30.707] Permission denied to access property 'bitpit_params' @ http://api.bitp.it/mine:5"

and Internet Explorer 9

Code:
SCRIPT5: Access is denied.
 
mine, line 5 character 7

But on a side note, great idea, although one question how well does it handle people moving between pages because the rate at which shares are generated with CPU hash rates is surely going to be pretty low?

Thanks for the bug report... I will get right on this. The Firefox issue I have a very good idea what that is about. That kinda ties back to the comment I made about, about exposing our miner engine settings better.... it looks like the way we are passing params into the iframe is not liked by Firefox 4.

I will look into the IE one as well, it may be one and the same.

You are right, one pages where people on only there for a brief instant, this would be less than ideal. This is really good for websites like blogs, newspapers, forums, etc, where people sit and read content for a few minutes at a time. That is not to say that it wouldn't work on any site, but I think you catch my drift.... the long someone just sits on your website, the better it is for you, the website operator.

Mine @ http://pool.bitp.it - No fees, virtually 0 stales, what's not to love!
Chat with us @ #bitp.it on irc.freenode.net
Learn more about our pool @ http://forum.bitcoin.org/index.php?topic=12181.0
grondilu
Hero Member
*****
Offline Offline

Activity: 1134


View Profile

Ignore
May 20, 2011, 03:40:33 AM
 #18

This is freakingly awesome idea!

It surely will help to better distribute the overall hashing power, thus making the bitcoin network even more resilient.


I'm not sure the client will be very happy to see his computer burning CPU for  no apparent reason, though.   Cheesy   But indeed it is probably better than annoying ads.   Again:  awesome idea.
Turix
Member
**
Offline Offline

Activity: 70


COMM: CRGBKuPiu9h7HFWyG39bfa6KTSA3dsM8bR


View Profile WWW

Ignore
May 20, 2011, 03:47:54 AM
 #19

I'm probably about to show my ignorance of bitcoind and Javascript/HTML5 in a couple of lines (I'm a Java/C programmer and tend to ignore Javascript wholesale) but here I go.

Is it possible to push smaller work units than the default (most cpu's seem to do about 1 share per minute from my experience) in order to reduce the amount of time required on each page, or are the share sizes a hard coded part of bitcoind/rpc? Or perhaps is it possible to have the miner store its state in HTML 5's cache in some way, so that it can be resumed on subsequent pages? Or maybe make use of a cookie to store the state information which is then reread on the new page?

I'm not sure the client will be very happy to see his computer burn CPU for apparently no apparent reason, though.   Cheesy   But indeed it is probably better than annoying add.   Again:  awesome idea.

My intention is to only have it run for guests to the site, the person can choose to not enable it by simply registering with the website - fair trade off in my eyes.

Edit: I'd like to make a request, I'm sure its already on the cards but I'll ask anyway, within the control panel it would be nice to see some information such as effective total hash rates, number of users currently hashing and such and perhaps some distinction between the pages which it is being run from (or some ability to set of "campaigns") so that we can see which pages on our websites are proving more or less effective that generating coins.

COMM: CRGBKuPiu9h7HFWyG39bfa6KTSA3dsM8bR
shivansps
Sr. Member
****
Offline Offline

Activity: 340


View Profile

Ignore
May 20, 2011, 03:55:00 AM
 #20

I see one BIG flaw on this system... google its gona kill you.

They gona mark the web page as a "malware".

tips Tongue
btc: 1NEvmZTwLhqBgr3h7LwZap1sEHsyf3QFuv
ltc: LW9UgYu8CMiJH1yuzBjXPDMKmuCvzex5sb
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!