How to Mine Fenrircoin on Windows 10/11

Initial Setup

  1. Enable the Windows Subsystem for Linux (WSL): WindowsCentral WSL Guide
    You’ll need to reboot afterward.
  2. Install Ubuntu for WSL: https://ubuntu.com/wsl
  3. Download and install the latest Fenrircoin Core wallet. (Do not run it yet. If it auto-launches, close it.)
  4. Open Notepad and paste the following:
    rpcthreads=16
    fallbackfee=0.0001
    paytxfee=0.0001
    server=1
    listen=1
  5. Save the file as: %APPDATA%\Fenrircoin\fenrircoin.conf
  6. Launch Ubuntu and finish creating your Linux user account.
  7. In Ubuntu, run: cd
  8. Launch Fenrircoin Core. You can let it sync in the background or hide the syncing window.
  9. In the wallet, open the Receive tab. Enter a label such as mining and click Request Payment.
  10. Copy the newly generated Fenrircoin address. (Example: FNv58QP5P6yFihxR4Zhm1wG7KXsyPfxC7F)
  11. Paste this mining script into Notepad:
    ADDRESS=YOUR_ADDRESS_HERE
    
    while true; do
        /mnt/c/Program\ Files/Fenrircoin/daemon/fenrircoin-cli.exe generatetoaddress 1 $ADDRESS
        sleep 1
    done
  12. Replace YOUR_ADDRESS_HERE with your Fenrircoin address. The line should look like:
    ADDRESS=FNv58QP5P6yFihxR4Zhm1wG7KXsyPfxC7F
    (Update the Fenrircoin Core path in the script if you installed it somewhere else.)
  13. Copy the entire edited script to your clipboard.
  14. In Ubuntu, run:
    cat > mine.sh
    Then paste the script. Press Ctrl+D when done.
  15. Make the script executable:
    chmod +x mine.sh If you get a permissions error, reboot Windows and repeat this step.

Start Mining

  1. Ensure Fenrircoin Core is running. (You can enable “run at login” in its settings.)
  2. Open Ubuntu if it isn’t already open.
  3. In Ubuntu, run:
    cd
  4. Start a miner with:
    ./mine.sh &

    Each time you run this command, you launch another mining process. Since rpcthreads=16 was set in fenrircoin.conf, you can run up to 16 miners simultaneously.

Stop Mining

  1. Simply close the Ubuntu window. All mining processes exit automatically.