Coder Social home page Coder Social logo

Comments (6)

sunk818 avatar sunk818 commented on July 1, 2024

Yes. The JavaScript is for coinhive. It's not a full blown xmr miner client. The proxy translates the missing pieces the JavaScript doesn't handle to regular xmr pool and vice versa.

from coin-hive-stratum.

monerominerz avatar monerominerz commented on July 1, 2024

Ahh, ok, that makes sense. :)

Would you happen to now of any Javascipt XMR miner clients that are available? Specifically one that's pure javascipt, isn't based on CoinHive, doesn't require proxies, etc.

There's a bunch of CoinHive based scripts out there since they got big, just could find anything besides them.

from coin-hive-stratum.

sunk818 avatar sunk818 commented on July 1, 2024

No I don't know of any.

from coin-hive-stratum.

procloud avatar procloud commented on July 1, 2024

you cant make net connections with javascript

from coin-hive-stratum.

cazala avatar cazala commented on July 1, 2024

Coinhive uses a modified Stratum protocol (Stratum is the protocol used by most of the pools, except CoinHive). Also you can't create TCP sockets from the browser, you can only use WebSockets, which most pools don't support (again, only CoinHive's pool supports websockets).

This proxy acts as a gateway translating CoinHive's protocol to regular stratum, also accepting WebSocket connections and piping them thru a regular TCP socket so web miners can get and submit jobs from regular pools.

If you don't want to use a proxy/gateway you will need: a webminer that speaks Stratum AND pools that accept websockets.

from coin-hive-stratum.

sunk818 avatar sunk818 commented on July 1, 2024

If you don't set it up yourself, someone else has to do it for you.

This guy set something up but taking a 10% cut plus whatever the pool takes.

https://www.reddit.com/r/Monero/comments/72hv1a/harvest_distributed_browser_blockchain_monero/

If you plan on doing any sort of scale, you'll end up saving on fees if you roll your own.

from coin-hive-stratum.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.