This is a guide to setting up the Wallet (fakecoin-qt) as well as how to mine the FAK out out FakeCoin, using Windows.
First and foremost, head on over to /r/FakeCoin for more FakeCoin information.
As with all guides on the internet, use at your own risk and all that.
Wallet / Server
Download the fakecoin-qt package from the GitHub repo.
Select “Clone or Download” > “Download ZIP” in the top right corner.
Extract the .zip and run fakecoin-qt from, well, C:\Users\Username\Downloads\FakeCoin-master\FakeCoin-master\release\fakecoin-qt.exe
This will start a blank “FakeCoin – Wallet” application, most likely stating that it’s not synced and whatnot.
As of version v0.8.5.1-unk-beta this part should no longer be needed.
Go for “Help” > “Debug window” > “Console”
Add the nodes 18.217.119.225 and 18.217.151.127 (Current at time of writing, check back at the Reddit, Github or Discord for updated information)
addnode 18.217.119.225 add addnode 18.217.151.127 add
The wallet application should now stat downloading the blockchain. Once done, terminate the application.
Next up is to set up the fakecoin-qt application to act as a solo mining server.
Head over to C:\Users\Username\AppData\Roaming\FakeCoin and create fakecoin.conf. Populate with the following and save.
rpcuser=username rpcpassword=password rpcallowip=127.0.0.1 rpcport=9332 daemon=1 server=1 gen=0 block_nTime=1317972665 block_nNonce=2084524493
The last step on the server side of things is to start the fakecoin-qt application as a server with the -server
flag
C:\Users\Username\Downloads\FakeCoin-master\FakeCoin-master\release\fakecoin-qt.exe -server
If the -server
option doesn’t work, simply run the .exe as per normal, it should start in server mode with the options set in fakecoin.conf.
Use the wallet to send and receive coins, you’ll see your very own wallet address under “Receive”.
Mining – Nvidia (ccminer)
Download the ccMiner package ccminer-x64-2.2.3-cuda9.7z from the GitHub repo, much as before.
Extract the downloaded .zip and navigate to C:\Users\Username\Downloads\ccminer-x64-2.2.3-cuda9.
We’ll have to edit the ccminer.conf file to point to the previously configured and started FakeCoin server, aswell as change the default algo to scrypt.
Have a look at this guide for assistance with the launch-config
value.
A trick to use is to remove the "launch-config" : "XXxXX",
line altogether, this’ll result in the miner attempting to figure out a launch-config for you and present it, could be a good starting point for tweaking. Keep to multiples and it should be fine.
{ "_comment1" : "Possible keys are the long options (ccminer --help)", "_comment2" : "todo: support /* comments */", "api-bind": "127.0.0.1:4068", "statsavg": 20, "quiet" : true, "debug" : false, "protocol" : false, "cpu-priority" : 3, "algo" : "scrypt", "launch-config" : "32x16", "url" : "http://127.0.0.1:9332", "user" : "username", "pass" : "password" }
Once done, simply run the ccminer-x64.exe application and mine away.
Having a tinkering session with the settings for ccminer can yeald massive speed boosts, take a look at the README.txt for configurable options.
This is a link to what I ended up using to achieve ~670kH/s a 980 TI card, keeping the intensity variable dynamic lets me use the machine for other tasks while mining.
The annoying Windows 10 notifications can be disabled by right-clicking one of them and selecting “disable…”
The mining operation can be terminated gracefully by CTRL+C.
Mining – AMD (SGMiner5)
Thank you JustWill for providing the AMD information.
Download the SGMiner package sgminer-gm.zip from the GitHub repo, much as before.
Extract the downloaded .zip and navigate to C:\Users\Username\Downloads\sgminer-gm.
We’ll have to edit the start.bat file to point to the previously configured and started FakeCoin server, aswell as change the default algo to scrypt.
Tweaking the -I XX
property, Intensity, will adjust the GPU load accordingly. More information available in the docs.
@echo off setx GPU_FORCE_64BIT_PTR 0 setx GPU_MAX_HEAP_SIZE 100 setx GPU_MAX_USE_SYNC_OBJECTS 1 setx GPU_MAX_ALLOC_PERCENT 100 setx GPU_MAX_SINGLE_ALLOC_PERCENT 100 sgminer.exe -o http://127.0.0.1:9332 -u username -p password --gpu-platform 1 --algorithm scrypt -I 10 pause
Once done, simply run the start.bat batch script and mine away.
The mining operation can be terminated gracefully by CTRL+C.
If you’re facing errors relating to platform detection, clDevicesNum returned error, no GPUs usable, the error is most likely due to the --gpu-platform 1
value.
Run the command sgminer.exe -n
in your sgminer directory, where start.bat is located, it should provide you with what number corresponds to the detected GPUs on your system.
Set --gpu-platform
accordingly, or if all else fails, omit it altogether.