Configuration files

2 minute read

Instead of using command-line options, you can also control PhoenixMiner with configuration files. config vs command line

You can download PhoenixMiner 5.7b from here:

Download Now

Download (mirror)

Instead of using command-line options (bat file), you can also control PhoenixMiner with configuration files. If you run PhoenixMiner.exe without any options, it will search for the file config.txt in the current directory and will read its command-line options from it.

If you want, you can use file with another name by specifying its name as the only command-line option when running PhoenixMiner.exe.

Note that PhoenixMiner supports the same configuration files as Claymore’s dual Ethereum miner so you can use your existing configuration files without any changes.

You will find an example config.txt file in the PhoenixMiner’s directory.

Simple configuration examples

#
# PhoenixMiner configuration file
#
# If there are no command-line parameters when PhoenixMiner is started, it will search
# for config.txt file in the current directory and will read all command-line options from it
#
# You can put one or more command-line parameters on each line (separate them with spaces)
# If the line starts with '#' it will be ignored as comment
#
# NOTE. PhoenixMiner also "understands" the config.txt files of Claymore's dual Ethereum miner
# (but some of its options are not supported and will be ignored)
#

#-pool eu1.ethermine.org:4444 -pool2 us1.ethermine.org:4444
#-wal YourEthWalletAddress.WorkerName
#-proto 3
#-cdm 2

# Uncomment this to force the miner to read the dual-mining pools from the dpools.txt file
# instead of the command-line
#-dcoin blake2s 

Instead of specifying the pool(s) directly on the command line, you can use another configuration file for this, named epools.txt. There you can specify one pool per line (you will find an example epools.txt file in the PhoenixMiner’s directory).

For the dual mining pools, you can use the dpools.txt file, which has the same format as epools.txt but for the secondary coin. You will find an example dpools.txt file in the PhoenixMiner’s directory.

Note that unlike the epools.txt, which is loaded each time when the miner starts, the dpools.txt file is only read if you specify a dual mining pool on the command line with -dpool, or if you add the -dcoin blake2s command-line option.

You can combine the config.txt file with some options that are specified directly on the command-line by using the -config <name> command-line option. It will instruct the miner to load a file with configuration options that will be added to the options read from the command-line.

The advantages of using config.txt and epools.txt/dpools.txt files are:

  • If you have multiple rigs, you can copy and paste all settings with these files
  • If you control your rigs via remote control, you can change pools and even the miner options by uploading new epools.txt files to the miner, or by uploading new config.txt file and restarting the miner.