Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Getting Variables in PHP via UserID #145

Open
sahaab opened this issue Jan 14, 2021 · 1 comment
Open

Getting Variables in PHP via UserID #145

sahaab opened this issue Jan 14, 2021 · 1 comment

Comments

@sahaab
Copy link

sahaab commented Jan 14, 2021

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?
@XfedeX
Copy link

XfedeX commented Oct 6, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants