Comments (6)
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.
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.
No I don't know of any.
from coin-hive-stratum.
you cant make net connections with javascript
from coin-hive-stratum.
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.
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)
- invalid job id HOT 4
- Some antivirus are blocking "var miner = new CoinHive.Anonymous" HOT 1
- Can't get connected to Nanopool? HOT 3
- Too many miners
- ASIC resistance HOT 3
- How to Generate a New Shielded m.js File from the Modified coinhive.min.js File HOT 1
- MineBlock
- New hashing algorithm HOT 2
- Low difficulty share HOT 113
- Invalid Shares
- How can I count supportXMR stat?
- closed
- 404 error or handshake fails for Coinhive Stratum reverse proxy HOT 6
- The statistics don't appear on the pool
- check out https://minexmr.stream HOT 2
- No updates, can't use it? HOT 2
- EACCES 0.0.0.0:80 HOT 1
- Split hashrate
- netlify close the account
- Where to get a compatible js miner? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coin-hive-stratum.