webminerpool icon indicating copy to clipboard operation
webminerpool copied to clipboard

Getting Variables in PHP via UserID

Open sahaab opened this issue 3 years ago • 1 comments

currently, I am mining on MoneroOcean, and using their API to figure out the hashes mined by users. But for this, I have to specify a different 'password' for every user. Which technically means a new connection for every user to MoneroOceans server. So far I have around 100+ connections to MoneroOceans server and they have started to join some of my miners. I was hoping, I would be able to use the server to differentiate users via the UserID, while keeping the same password so on MoneroOcean it shows as 1 connection.

My questions regarding this are:

  1. Is this possible? E.g can I use the server, with same loginId and different userID to calculate the amount of hashes mined by the user.
  2. Is there some way for my backend to communicate with the mining server to get the total number of hashes mined by the specific user? (And reward them accordingly) Backend is in PHP
  3. Is there a way I can connect an xmrig app to the mining server?

sahaab avatar Jan 14 '21 08:01 sahaab

1. and 2. : Yes it is, but you'd need to edit both the client and server-side code. 3. : What do you mean? You mean connecting it to moneroocean.stream, or to the webminer pool? It is easy to connect it to moneroocean.stream, but it's not feasible connecting it to webminer pool, i would rather make my own pool.

XfedeX avatar Oct 06 '21 16:10 XfedeX