Epic Cash Mining Tutorial (Linux)

Michael Freeman
Sep 10, 2019 · 5 min read

This is a step-by-step tutorial to solo and pool mine Epic Cash on Linux. See Epic Cash on Linux for more detailed instructions and Epic Cash Wallet Tutorial for how to send and receive Epic Cash.

Image for post
Image for post

Download and Install Files

To mine, you need LibRandomX dependency, Epic wallet, server, and miner (and OpenCL miner for GPU mining).

  1. Download the latest librandomx package and Epic Linux files here: https://epic.tech/downloads/
  2. Press Ctrl+Alt+T to open a new terminal.
  3. Enter this command to install dependencies:
  4. Navigate to the directory where you downloaded the files with command:
    Example if the files are located in /Downloads:
  5. To display files in the directory, use the list command:
  6. Right-click and install, or enter the following commands, replacing with the correct version number:




    (only for GPU mining)
    (only for NVIDIA GPU mining. May not work as of September, 2019)

Setup Wallet and Server

  1. Initialize Epic wallet with command:
  2. Set a strong password and backup your 24-word seed phrase. Please note: The seed phrase is required to recover your wallet. Do not share or lose your seed phrase, or you may lose your funds.
  3. Execute Epic server with command:
  4. In another terminal, execute Epic wallet in listen mode with command:
  5. The Epic server must be running and Epic wallet listening during mining.

Setup CPU Miner (RandomX)

The optimal number of cores to use is ~1–3 fewer physical cores than your CPU has, and fewer if you have less than 2 MB of L3 cache per core used. For example, use up to four cores if you have 8 MB of L3 cache. Users are recommended to test different numbers.

If you do not want to modify number of CPU cores used or reduce log size, please skip this section.

  1. Use a text editor to open epic-miner.toml in folder /etc/ with command:

    (Optional) Alternative to Nano:
    (if not already installed)
  2. You can replace with the number of physical CPU cores to use in lines:

  3. If log file increases in size too fast, users can change log level from to in line:

Setup GPU Miner (ProgPoW)

OpenCL works for both AMD and NVIDIA GPUs. Mining with CUDA (NVIDIA-only) is usually better than OpenCL but may not work as of September, 2019.

  1. (For OpenCL) Install OpenCL with command:
  2. (For CUDA) Ensure you have the latest CUDA Toolkit 9+ (as of September, 2019). Check with command:
  3. Use a text editor to open the configuration file in folder /etc/ with command:
    (for OpenCL) or
    (for CUDA)
    (Optional) Alternative to Nano:
    (if not already installed)
    (for OpenCL) or
    (for CUDA)
  4. Ensure this line contains for GPU mining:
  5. Find line:


  6. For each additional GPU, copy these three lines and paste them below.
  7. Replace additional instances of with the next number. The first GPU is , the second GPU is , the third GPU is , etc.
    Example of the lines with three GPUs:








  8. (Optional) The parameter corresponds to OpenCL and the parameter corresponds to CUDA (NVIDIA-only).
  9. (Optional) If log file increases in size too fast, users can change log level from to in line:

Pool Mining (optional)

Epic Cash is currently available on these mining pools:

To mine on a stratum mining pool, follow these steps:

  1. Use a text editor to open epic-miner.toml (for CPU) or epic-miner-opencl.toml (for GPU) in folder /etc/.
  2. Find lines:
  3. Remove from these three lines:
  4. In stratum server address, replace with your pool’s stratum address, i.e.
  5. In stratum server login line, replace with your username in quotes.
  6. In stratum server password line, replace with a strong password in quotes for withdrawing your coins. Do not share the password or lose it, or you may lose your funds. Once the password is set, it cannot be changed.

Difficulty Adjustment (optional)

  1. You can increase the default 100000 difficulty for ProgPoW mining if there are many rejected or stale shares. 1000000 (1 million) to 5000000 (5 million) per GPU in a machine may perform better, but users should monitor rejected and stale shares and adjust based on that. Please note: These recommended numbers will likely change for future miners.
  2. Use a text editor to open epic-server.toml in folder /.epic/main/ with command:
  3. Find line:
  4. Replace with .
    Example of the line with two GPUs with 2 million difficulty per GPU:

Run Miner

  1. The Epic server must be running and Epic wallet listening during mining. If not open, in separate terminal windows, run commands:

  2. In a new terminal, start mining with the correct mining software:
    (for RandomX)
    (for OpenCL)
    (for CUDA)
  3. In Mining tab you can view number of accepted and refused shares and blocks found.
  4. When you have found blocks, you can view your coins with command:

Epic Cash

Epic Cash is designed to be a currency for everyone, and…

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store