Skip to content

Arguments (Miner Configuration)

MaynardMiner edited this page Feb 12, 2020 · 41 revisions

FOR A FULL LIST OF ARGUMENTS: PLEASE GO HERE-

Miner arguments are added to either swarm(UNIX), SWARM.bat(Windows), or on miner flight sheet in extra config arguments box (HiveOS).

HIVEOS/SMOS

No launch necessary. HiveOS launched program for you. You simply need to add arguments to your flight sheet/Group. If you are lost on which arguments to use / add- both ./swarm and ./swarm.bat have "cheat" sheet of starting arguments.

Linux

Open swarm file, and edit with arguments. There is a cheat sheet inside file for bare minimum arguments. Next you launch SWARM. It is HIGHLY ADVISED if you want to use ALL features of SWARM, to use sudo ./swarm and launch as root.

Windows

Open SWARM.bat file, and edit arguments. Launch the .bat file. SWARM will handle the rest.

Sample Starting Arguments

NOTE All arguments in [] are meant to be selected by user. I am simply listing the common options that can be used.

-RigName1 Swarm -Location [US/Europe/Asia] -PoolName [blockmasters,nlpool,ahashpool,blazepool,hashrefinery,phiphipool,zergpool,zpool] -Wallet1 1DRxiWx6yuZfN9hrEJa3BDXWVJ9yyJU36i -Donate .5

If you wish to use HiveOS, add -Hive_Hash xxxxxxxxxxxxxxxxxxxxxxx , Once Background agent launches, worker should appear in HiveOS. You can then create a flight sheet for SWARM, and launch it.

SAMPLE SETUP Of ARGUMENTS FOR PROFIT SWITCHING:

Items inside of [brackets] are meant to be selected by user. The brackets[] should be removed

-RigName1 SWARM -Location [Choose one: US or Europe or Asia] -PoolName [Choose Any Number Of Pools: nlpool,blockmasters,zergpool,nicehash,fairpool,ahashpool,blazepool,hashrefinery,phiphipool,zpool] -Type [Choose where applicable: [AMD1] or [NVIDIA1] or [AMD1,NVIDIA2]] -Wallet1 [Your BTC Wallet] -Donate .5

SAMPLE SETUP OF SINGLE COIN / ALGORITHM MINING

SWARM has the ability to mine a single algorithm or coin, if supported on the pool you selected.
It will go through all stored miners capable of mining your choice, and then select the best one.
Below is a sample for x16 / RVN. If you wish to mine with auto-exchange to BTC, omit -Coin argument
and use BTC address instead for -Wallet1.

-RigName1 SWARM -Location US -PoolName zergpool -Algorithm x16r -Coin RVN -Type NVIDIA1 -Wallet1 1RVNsdO6iuwEHfoiuwe123hsdfljk -Donate .5 -Auto_Coin Yes

SAMPLE SETUP OF MULTIPLE COINS / ALGORITHMS MINING

SWARM has the ability to mine a finite number of algorithms/coins.
Below is an example to mine only RVN and XCZ on zergpool.

-RigName1 SWARM -Location US -PoolName zergpool -Algorithm x16r,mtp -Coin RVN,XCZ -Type NVIDIA1 -Wallet1 1RVNsdO6iuwEHfoiuwe123hsdfljk -Donate .5 -Auto_Coin Yes

SAMPLE SETUP OF MULTIPLE COINS / ALGORITHMS MINING WITH SOLO MINING FOR 1 Coin (Auto-Exchange).##

SWARM, on top of the ability to mine certain coins/algorithms (or all of them available), it also allows you
to solo/party mine coins on pools that allow it, and will switch to solo mode if it is the most profitable.

Below is an example of mining two coins, but specifying coin params for RVN to solo mine w/BTC auto-exchange.

-RigName1 SWARM -Location US -PoolName zergpool -Algorithm x16r,mtp -Coin RVN,XCZ -Coin_Params RVN:none:solo:exchange -Type NVIDIA1 -Wallet1 1RVNsdO6iuwEHfoiuwe123hsdfljk -Donate .5 -Auto_Coin Yes

JSON Configuration

SWARM can run using a .json instead of arguments. Currently Windows requires that the .json is compressed.

You can get a .json of your current parameters with the commands:

get parameters json

get parameters json compressed

HiveOS Flight Sheet

HiveOS Flight can accept a .json for arguments. Upon starting, it will create a file name config.json in main directory, which is what SWARM will use for user parameters.

Manual Start

If using Windows or Linux, and you are not using HiveOS flight sheets, you can still use .json. You only need to simply create the file "config.json" but copy/pasting the contents of default.json (listed above), and changing parameters to your desired setup.