
1. Adding `/d` to change current drive in addition to changing current directory for a drive. 2. Enclose quote `"%~dp0"` allow space in `cd` command (to be safe). 3. Allow user run this script without set **Administrator** in properties. Running `*.cmd` As Administrator will spawn on `C:\WINDOWS\system32` and break if `xmrig.exe` not in `C:\` (Default UAC)
20 lines
1 KiB
Batchfile
20 lines
1 KiB
Batchfile
:: Example batch file for mining Raptoreum at a pool
|
|
::
|
|
:: Format:
|
|
:: xmrig.exe -a gr -o <pool address>:<pool port> -u <pool username/wallet> -p <pool password>
|
|
::
|
|
:: Fields:
|
|
:: pool address The host name of the pool stratum or its IP address, for example raptoreumemporium.com
|
|
:: pool port The port of the pool's stratum to connect to, for example 3333. Check your pool's getting started page.
|
|
:: pool username/wallet For most pools, this is the wallet address you want to mine to. Some pools require a username
|
|
:: pool password For most pools this can be just 'x'. For pools using usernames, you may need to provide a password as configured on the pool.
|
|
::
|
|
:: List of Raptoreum mining pools:
|
|
:: https://miningpoolstats.stream/raptoreum
|
|
::
|
|
:: Choose pools outside of top 5 to help Raptoreum network be more decentralized!
|
|
:: Smaller pools also often have smaller fees/payout limits.
|
|
|
|
cd /d "%~dp0"
|
|
xmrig.exe -a gr -o raptoreumemporium.com:3008 -u WALLET_ADDRESS -p x
|
|
pause
|