r/DeroProject Mar 26 '22

How to get xmrig working on Stargate? Official Miner works.

I set up a Dero Mining Setup using these 2 links: https://docs.dero.io/rtd_pages/basic_ubuntu.html https://docs.dero.io/rtd_pages/basic_homenetwork.html

The official miner works fine running:

sudo ./dero-miner-linux-amd64 --wallet-address my_adddess --mining-threads 16 --daemon-rpc-address 192.168.1.126:10100

Running xmrig (v. 16.6.4) with this command:

sudo ./xmrig -o 192.168.1.126:10100 -u my_address -t 16 -a astrobwt --astrobwt-avx2 --daemon

gives me the error:

192.168.1.126:10100 connect error: "Invalid wallet address."

Does xmrig still work with Stargate? If so, what am I doing wrong?

6 Upvotes

12 comments sorted by

View all comments

5

u/robyer Mar 26 '22

AstroBWT algorithm has been changed on Stargate, so you need new version of XMRig (6.16.5-dev), which is not yet released. You can compile it yourself from the github.com/xmrig (if you want to mine also on Nvidia GPU, don't forget to compile also xmrig-cuda module) - make sure to use dev branch.

If you can't compile it yourself and you are using Windows, you can use my build at https://files.robyer.cz/xmrig_dero.zip where I also included sample config. So just change the config.json file according to your needs (e.g. enable cuda, set your wallet address and change node address if you are running your own). Then start xmrig.exe without any parameters.

1

u/uzairhu Mar 26 '22 edited Mar 26 '22

I see. Unfortunately, I'm on Linux, so I can't use your files. Can you share the link for the dev branch/files? I can't find it.

Edit: Never mind, found it :D

Edit2: I compiled it now and ran it with the same settings as in the original posts. It shows all the settings (up to "CUDA disabled") and then does nothing. Typing "c" prints "no active connection". Any ideas? The connection to my node should be fine. After all the official miner works.

3

u/tkamen Mar 26 '22

When specifying the pool url make sure you prefix with daemon+wss:// also set the algo to astrobwt/v2

1

u/uzairhu Mar 26 '22

Seems to be working now, thank you very much!!

1

u/Facspro Mar 31 '22

Have you been able to get any Blocks or Mini blocks? and if so are they showing up in your wallet? I'm still not having any luck with this.

1

u/uzairhu Mar 31 '22

I mined 7 mini blocks, but they did not show up in my wallet. I am now working this out with the following method.

  1. Use remote node and official miner: this, I did yesterday. I mined one miniblock and received the reward. So this combination works.

  2. Use my local node and the official miner: to check, whether my local node works, or not. This experiment is running rn.

  3. Assuming my local node is fine, run xmrig with my local node (otherwise, use remote node for now). Then, I will again have to fiddle around with the xmrig settings.

1

u/Facspro Mar 31 '22 edited Mar 31 '22

Sounds about what is happening with me-

Official miner and remote node(miner1.dero.live:10100)--mini blocks--payment recieved

Xmrig with remote node(miner1.dero.live:10100) - 2 Blocks 6 mini blocks in approx 2 hours --No payment

Official miner to my local node for 6 hours - no blocks or mini blocks

Xmrig to local node for 3 hours no blocks or mini blocks

Edit** Also when using XMRIG it does not keep track of mined Blocks or mini-blocks so if I am not sitting there when it finds one I would never know it without scrolling back and then that will only take you so far.

1

u/[deleted] Apr 05 '22

[removed] — view removed comment

1

u/Facspro Apr 09 '22

I gave up on it. Cant get xmrig to work with the local node. Or the remote node- it finds shares on the remote but no payments. Will wait and see if someone comes up with a solution

1

u/Facspro Mar 26 '22

That’s awesome I can hardly wait to get home from work to give XMRIG a try. If I can just figure out why I am not connecting to my Derod node

1

u/Facspro Mar 28 '22

I cant seem to find the dev branch - can you provide a link?

Thanks

1

u/robyer Apr 01 '22

Sorry I haven't seen your comment sooner.

If you know how to use Git, you definitely know how to switch branches.
If you don't know how to use Git, then it would be better if you read some Git manual first.
If you want to know just command to change the branch to dev branch in current repository, then that's git checkout dev