Jump to content
Oceanus

Step-by-Step: Windows+Nvidia GPU for mining

Recommended Posts

1.Download XAYA Electron Wallet and install it.

https://xaya.io/downloads/XAYA-Electron-1.0.0.exe

Type any Address Label and click INSERT  to create a address.

2.Back up wallets

The XAYA electron wallet creates 2 wallets (VAULT + GAME), and after you have encrypted your VAULT you should backup both wallets.

Copy  "C:\Users\<User>\AppData\Roaming\Xaya\wallets"  to a safe place, and don't forget your ENCRYPTED PASSWORD.

2.Download ccminer and unpack it.

https://github.com/tpruvot/ccminer

Click "releases", and download "ccminer-2.3-cuda9.7z" and unpack it.


3.Create "Run-XAYA.cmd" file

Open "README.txt", delete all the text, paste text below and save it as "Run-XAYA.cmd"  in the same dir.

ccminer-x64 -a neoscrypt -o http://127.0.0.1:8396/wallet/game.dat -O __cookie__:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


Note: 1. If the name of file ccminer.exe is not ccminer-x64, you need to change it to the other.
           2. You need to change  "__cookie__:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" to yourself. You can find it in the file  "C:\Users\<User>\AppData\Roaming\Xaya\.cookie", open it and copy the text.


4.Click "Run-XAYA.cmd"

Have fun...

 

  • Like 1
  • Thanks 2

Share this post


Link to post
Share on other sites

Hi thanks for this post,  i'm new to this and have gotten every thing to work up until launching ccminer can any one tell me what i'm missing??? 103439058_IMAGE2018-07-15122156.thumb.jpg.bc4b5b51a9801af193d8b92a362d3b66.jpg

Share this post


Link to post
Share on other sites

if you look it c:\users\<user>\appdata\roaming\xaya\debug.log

when you get that error it will tell you what is wrong

i think ccminer says this if the username and password is incorrect

Share this post


Link to post
Share on other sites

Maybe I´m wrong ...? but did you took a picture of your screen and painted your password black with a real pen?

if so ... EPIC ? 

 

I use this to start ccMiner on my work PC with wallet online and synced

Quote

./ccminer -a neoscrypt -o http://127.0.0.1:8396/wallet/game.dat -O __cookie__:ULTRA-SECRET-COOKIE

 

EDIT:

Cookie changes every time you restart your wallet!

Regards
casp0or

Edited by casp0or

Share this post


Link to post
Share on other sites

Hahaha, no it was a quick iphone markup ?.  what i had to do was change the  -o user:pass to -u user -p pass now i'm good.

Share this post


Link to post
Share on other sites

Mining software often triggers malware warnings. You may need to set an exception for it in your anti-virus software. 

It's nothing unusual. If you see that in other software though, then that software may include a miner in it, which you probably don't want. 

  • Thanks 1

Share this post


Link to post
Share on other sites

ccminer-x64 -a neoscrypt -o http://127.0.0.1:8396/wallet/game.dat -O __cookie__:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I need to put that in readme.txt ?!  and  what is the xxxxxxxxxxxxxxxxxxxxxx its my adresse wallet ?! im new to mining sorry ! 

 

 

Share this post


Link to post
Share on other sites
4 minutes ago, jeremy neveu said:

ccminer-x64 -a neoscrypt -o http://127.0.0.1:8396/wallet/game.dat -O __cookie__:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I need to put that in readme.txt ?!  and  what is the xxxxxxxxxxxxxxxxxxxxxx its my adresse wallet ?! im new to mining sorry ! 

 

Yes. See here below as @Oceanus wrote:

 

On 7/15/2018 at 2:40 AM, Oceanus said:

3.Create "Run-XAYA.cmd" file

Open "README.txt", delete all the text, paste text below and save it as "Run-XAYA.cmd"  in the same dir.

ccminer-x64 -a neoscrypt -o http://127.0.0.1:8396/wallet/game.dat -O __cookie__:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


Note: 1. If the name of file ccminer.exe is not ccminer-x64, you need to change it to the other.
           2. You need to change  "__cookie__:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" to yourself. You can find it in the file  "C:\Users\<User>\AppData\Roaming\Xaya\.cookie", open it and copy the text.


4.Click "Run-XAYA.cmd"

Have fun...

I think you missed this part (highlighted in yellow above) : 

C:\Users\<User>\AppData\Roaming\Xaya\.cookie

You need to copy the contents of that file to the xxxxxx part. 

Save it as described above (to a *.cmd file) and then run it, e.g. double-click on it. 

 

 

 

Share this post


Link to post
Share on other sites

thanks yeh my english i miss  that haha !!  so i just  cory thiis  ccminer-x64 -a neoscrypt -o http://127.0.0.1:8396/wallet/game.dat -O __cookie__:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  

then i find the cookie and  all good ! thanks a lot for your time again 

 

 

  • Like 1

Share this post


Link to post
Share on other sites
19 minutes ago, jeremy neveu said:

then i find the cookie and  all good ! thanks a lot for your time again 

Glad to hear you got it working! Have fun with it! :) 

Share this post


Link to post
Share on other sites

Hello! Whenever I launch the "Run-XAYA.cmd" file, I get an error message, I attached a screenshot. I'm new to mining, sorry if this is something simple.

Capture.PNG

Share this post


Link to post
Share on other sites
3 hours ago, a.gubarev said:

Hello! Whenever I launch the "Run-XAYA.cmd" file, I get an error message, I attached a screenshot. I'm new to mining, sorry if this is something simple.

Capture.PNG

Make sure xaya is running.

Share this post


Link to post
Share on other sites

Your user, pass, or something else is wrong. See my earlier post. You should be running something like:

Ccminer-x64.exe -a neoscrypt -o http://127.0.0.1:8396/wallet/game.dat -d gtx1060 -i 21 -u __cookie__ -p xxx

https://forum.xaya.io/topic/65-done-32-bit-running-wallet-qt/?do=findComment&amp;comment=575

I explain the flags, etc in that thread. Note that if you are using the .cookie file for your password it will be reset each time you restart xaya, so you will have to replace it. You can override this user/pass in the electron client under settings -> advanced (although I haven't yet tested if that works myself).

Share this post


Link to post
Share on other sites
44 minutes ago, a.gubarev said:

After filling in all the flags, etc I still get the previous error. Here is the code I trying to run:

Capture.PNG.df132369502c09889e0cada54f3a8315.PNG

The device name is probably wrong. I don't know what type of string matching it does but would bet it doesn't like spaces (although not certain). The user name is incorrect unless you've changed some settings. If using the .cookie file then the username is actually "__cookie__", so unless you changed this to be "Andrey __cookie__" in the rpc settings it is wrong. Try this (replace xxx with whatever it says in the cookie file after the colon):

Ccminer-x64.exe -a neoscrypt -o http://127.0.0.1:8396/wallet/game.dat -d gtx1070 -i 21 -u __cookie__ -p xxx
Edited by DarkClaw
  • Thanks 2

Share this post


Link to post
Share on other sites
5 hours ago, Steven K. said:

Left it running for  hours a while, balance is still 0. How long does it take to refresh?

What is your hashrate? There is a mining calculator here that lets you estimate how many coins per day you should expect: https://www.xaya-gaming.net/

Share this post


Link to post
Share on other sites
On 8/12/2018 at 12:49 AM, DarkClaw said:

The device name is probably wrong. I don't know what type of string matching it does but would bet it doesn't like spaces (although not certain). The user name is incorrect unless you've changed some settings. If using the .cookie file then the username is actually "__cookie__", so unless you changed this to be "Andrey __cookie__" in the rpc settings it is wrong. Try this (replace xxx with whatever it says in the cookie file after the colon):


Ccminer-x64.exe -a neoscrypt -o http://127.0.0.1:8396/wallet/game.dat -d gtx1070 -i 21 -u __cookie__ -p xxx

Any Idea as to why my miner shows null as the block? image.png.4a6f3197f296a21b35cc885071e93899.png

Share this post


Link to post
Share on other sites
6 minutes ago, SuperDotaPlaya said:

Any Idea as to why my miner shows null as the block? image.png.4a6f3197f296a21b35cc885071e93899.png

This is cgminer, which I havent used, sorry. You can try ccminer if you have an nVidia card (it requires CUDA).  What gpus are those?

I see it says 150.6 kh/s, which would currently get you ~3 coins/day,  but it also says diff 65.5k... I don't know what that refers to since the neoscrypt difficulty is ~ 1.0 and sha256d is ~25,000,000,000. You can check the stats and estimated mining reward here: https://www.xaya-gaming.net/

 

Share this post


Link to post
Share on other sites
Just now, DarkClaw said:

This is cgminer, which I havent used, sorry. You can try ccminer if you have an nVidia card (it requires CUDA).  What gpus are those?

I see it says 150.6 kh/s, which would currently get you ~3 coins/day,  but it also says diff 65.5k... I don't know what that refers to since the neoscrypt difficulty is ~ 1.0 and sha256d is ~25,000,000,000. You can check the stats and estimated mining reward here: https://www.xaya-gaming.net/

 

they are AMD rx480s

Im just wondering what the block saying null means

Share this post


Link to post
Share on other sites
2 minutes ago, SuperDotaPlaya said:

they are AMD rx480s

Im just wondering what the block saying null means

Sorry, nope. Maybe its not finding the blockchain since its only looking at 127.0.0.1? Do you need to add the port? I think the default would be 127.0.0.1:8396. I assume you've got xaya running.

But like I said, no experience with cgminer and dont have an AMD card to test on.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Your use of this site is governed by our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.