# Zcash javascript miner

**URL:** <https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496>\
**Category:** Mining\
**Created:** [June 19, 2017, 12:09pm UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496 "2017-06-19T12:09:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mtve](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mtve](https://forum.zcashcommunity.com/u/mtve)\
**Post date:** [June 19, 2017, 12:09pm UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/1 "2017-06-19T12:09:44Z")

</div>

Hello dear Zcash users!

By popular demand here is Zcash javascript (WebAssembly) miner - [http://frox25.no-ip.org:8888](http://frox25.no-ip.org:8888)

Feel free to send me any questions.

---

<div class="post-metadata">

**Author:** ![doublethinker](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@doublethinker](https://forum.zcashcommunity.com/u/doublethinker)\
**Post date:** [June 21, 2017, 5:10pm UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/2 "2017-06-21T17:10:06Z")

</div>

Hi, this looks good. Are you using [sockets.io](http://sockets.io) on the backend? I’d like to take a look at how you made it.

---

<div class="post-metadata">

**Author:** ![mtve](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mtve](https://forum.zcashcommunity.com/u/mtve)\
**Post date:** [June 21, 2017, 7:38pm UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/3 "2017-06-21T19:38:12Z")

</div>

hello!

backend is pure perl.

if no one responds to the advertisement in a month, i will publish everything.

---

<div class="post-metadata">

**Author:** ![vlad11z](https://avatars.discourse-cdn.com/v4/letter/v/a9a28c/32.png) [@vlad11z](https://forum.zcashcommunity.com/u/vlad11z)\
**Post date:** [July 16, 2017, 1:10pm UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/4 "2017-07-16T13:10:33Z")

</div>

Hello, could you give a link to this script?

---

<div class="post-metadata">

**Author:** ![mtve](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mtve](https://forum.zcashcommunity.com/u/mtve)\
**Post date:** [July 16, 2017, 7:07pm UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/5 "2017-07-16T19:07:02Z")

</div>

the month is not over yet.

meanwhile you may check [http://frox25.no-ip.org:8888/merch.html](http://frox25.no-ip.org:8888/merch.html)

---

<div class="post-metadata">

**Author:** ![bitcartel](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/bitcartel/32/8558_2.png) [@bitcartel](https://forum.zcashcommunity.com/u/bitcartel)\
**Post date:** [July 16, 2017, 10:25pm UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/6 "2017-07-16T22:25:47Z")

</div>

Great to see Perl in action. Did you use Perl 5 or 6?

---

<div class="post-metadata">

**Author:** ![mtve](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mtve](https://forum.zcashcommunity.com/u/mtve)\
**Post date:** [July 17, 2017, 6:07am UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/7 "2017-07-17T06:07:15Z")

</div>

thanks! it’s perl 5, the only perl.

---

<div class="post-metadata">

**Author:** ![fomatozer](https://avatars.discourse-cdn.com/v4/letter/f/f08c70/32.png) [@fomatozer](https://forum.zcashcommunity.com/u/fomatozer)\
**Post date:** [July 17, 2017, 9:18am UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/8 "2017-07-17T09:18:15Z")

</div>

That means you can now mine by opening your browsers? 😮

---

<div class="post-metadata">

**Author:** ![kosjak1](https://avatars.discourse-cdn.com/v4/letter/k/df705f/32.png) [@kosjak1](https://forum.zcashcommunity.com/u/kosjak1)\
**Post date:** [July 19, 2017, 7:05am UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/9 "2017-07-19T07:05:53Z")

</div>

Hello mtve! Can we talk in private?

---

<div class="post-metadata">

**Author:** ![heavysymphony](https://avatars.discourse-cdn.com/v4/letter/h/f4b2a3/32.png) [@heavysymphony](https://forum.zcashcommunity.com/u/heavysymphony)\
**Post date:** [July 20, 2017, 9:25am UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/10 "2017-07-20T09:25:29Z")

</div>

how this js miner work?

---

<div class="post-metadata">

**Author:** ![mtve](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mtve](https://forum.zcashcommunity.com/u/mtve)\
**Post date:** [July 20, 2017, 9:43am UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/11 "2017-07-20T09:43:22Z")

</div>

pure magic^W^Wwould your please clarify your question?

---

<div class="post-metadata">

**Author:** ![heavysymphony](https://avatars.discourse-cdn.com/v4/letter/h/f4b2a3/32.png) [@heavysymphony](https://forum.zcashcommunity.com/u/heavysymphony)\
**Post date:** [July 20, 2017, 10:08am UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/12 "2017-07-20T10:08:46Z")

</div>

Where do you set your wallet address ? anyway to use a mining pool ?

---

<div class="post-metadata">

**Author:** ![mtve](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mtve](https://forum.zcashcommunity.com/u/mtve)\
**Post date:** [July 20, 2017, 11:36am UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/13 "2017-07-20T11:36:30Z")

</div>

You don’t have to set wallet address, just point your browser to the page and it should start mining.

You may setup your own backend with your own wallet address, and you need to use some stratum-compatible mining pool which is also configured on backend.

---

<div class="post-metadata">

**Author:** ![doublethinker](https://avatars.discourse-cdn.com/v4/letter/d/9d8465/32.png) [@doublethinker](https://forum.zcashcommunity.com/u/doublethinker)\
**Post date:** [July 21, 2017, 6:38am UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/14 "2017-07-21T06:38:47Z")

</div>

@mtve Will you be releasing your source code soon?

---

<div class="post-metadata">

**Author:** ![shadeeli](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@shadeeli](https://forum.zcashcommunity.com/u/shadeeli)\
**Post date:** [August 2, 2017, 6:46pm UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/15 "2017-08-02T18:46:00Z")

</div>

@mtve Will you be releasing the code anytime soon?  
Also, will one be able to fork and create the same thing for any altcoin?  
I would like to setup webmining for a bitcoin based altcoin, will this allow me to?  
And last, it seems to freeze the webpage, can one adjust it so that it won’t, even at the cost of mining less…

---

<div class="post-metadata">

**Author:** ![tansuaycicek](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@tansuaycicek](https://forum.zcashcommunity.com/u/tansuaycicek)\
**Post date:** [August 2, 2017, 11:02pm UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/16 "2017-08-02T23:02:18Z")

</div>

Hi, what is my problem ? [http://45.32.232.190/index.php](http://45.32.232.190/index.php)

---

<div class="post-metadata">

**Author:** ![mtve](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mtve](https://forum.zcashcommunity.com/u/mtve)\
**Post date:** [August 3, 2017, 6:57am UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/17 "2017-08-03T06:57:19Z")

</div>

> [@shadeeli](#):
>
> Will you be releasing the code anytime soon?

It’s already released at [GitHub - mtve/yazecminer: yet another ZEC miner](http://github.com/mtve/yazecminer)

> [@](#):
>
> Also, will one be able to fork and create the same thing for any altcoin?

Yes.

> [@](#):
>
> I would like to setup webmining for a bitcoin based altcoin, will this allow me to?

No, currently it’s for Zcash only.

> [@](#):
>
> And last, it seems to freeze the webpage, can one adjust it so that it won’t, even at the cost of mining less…

You may add some delays in `mine()` function of `index.html`, and there is little can be done here to improve it more.

You may rewrite all emscripten part to make more delays between iteractions, and not only between algorithm steps, but also between some portions of initial blake2b strings fill to make it really smooth.

---

<div class="post-metadata">

**Author:** ![mtve](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mtve](https://forum.zcashcommunity.com/u/mtve)\
**Post date:** [August 3, 2017, 6:59am UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/18 "2017-08-03T06:59:37Z")

</div>

> [@tansuaycicek](#):
>
> Hi, what is my problem ? [http://45.32.232.190/index.php](http://45.32.232.190/index.php)

Hard to say without full context, but at least i can’t connect to ws://45.32.232.190:3131/ws

---

<div class="post-metadata">

**Author:** ![astronyu](https://sea2.discourse-cdn.com/zcash/user_avatar/forum.zcashcommunity.com/astronyu/32/5589_2.png) [@astronyu](https://forum.zcashcommunity.com/u/astronyu)\
**Post date:** [August 3, 2017, 8:26am UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/19 "2017-08-03T08:26:39Z")

</div>

Hi, just curious, what is this exactly? A way for a visitor to help you mine? Or a visitor can mine from the browser to their wallet?

What are the server spec required?

---

<div class="post-metadata">

**Author:** ![mtve](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mtve](https://forum.zcashcommunity.com/u/mtve)\
**Post date:** [August 3, 2017, 10:32am UTC](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496/20 "2017-08-03T10:32:12Z")

</div>

> [@astronyu](#):
>
> Hi, just curious, what is this exactly? A way for a visitor to help you mine? Or a visitor can mine from the browser to their wallet?

Visitors mine to your wallet. Business model is up to you.

> [@](#):
>
> What are the server spec required?

Since the server is kind of proxy, server load is low. 1K sessions are not noticeable, and 30K session are easy. You can do horizontal load sharing (sharding).

[Next page](https://forum.zcashcommunity.com/t/zcash-javascript-miner/17496.md?page=2)
