diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b6356928..5b095f549 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -212,6 +212,8 @@ if (WIN32) add_custom_command(TARGET ${CMAKE_PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/bin/WinRing0/WinRing0x64.sys" $) add_custom_command(TARGET ${CMAKE_PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/scripts/benchmark_1M.cmd" $) add_custom_command(TARGET ${CMAKE_PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/scripts/benchmark_10M.cmd" $) + add_custom_command(TARGET ${CMAKE_PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/scripts/pool_mine_example.cmd" $) + add_custom_command(TARGET ${CMAKE_PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/scripts/solo_mine_example.cmd" $) endif() if (CMAKE_CXX_COMPILER_ID MATCHES Clang AND CMAKE_BUILD_TYPE STREQUAL Release) diff --git a/scripts/pool_mine_example.cmd b/scripts/pool_mine_example.cmd new file mode 100644 index 000000000..27749ef61 --- /dev/null +++ b/scripts/pool_mine_example.cmd @@ -0,0 +1,19 @@ +:: Example batch file for mining Monero at a pool +:: +:: Format: +:: xmrig.exe -o : -u -p +:: +:: Fields: +:: pool address The host name of the pool stratum or its IP address, for example pool.hashvault.pro +:: 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 Monero mining pools: +:: https://miningpoolstats.stream/monero +:: +:: Choose pools outside of top 5 to help Monero network be more decentralized! +:: Smaller pools also often have smaller fees/payout limits. + +xmrig.exe -o pool.hashvault.pro:3333 -u 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD -p x +pause diff --git a/scripts/solo_mine_example.cmd b/scripts/solo_mine_example.cmd new file mode 100644 index 000000000..151ecc5d2 --- /dev/null +++ b/scripts/solo_mine_example.cmd @@ -0,0 +1,15 @@ +:: Example batch file for mining Monero solo +:: +:: Format: +:: xmrig.exe -o : -a rx/0 -u --daemon +:: +:: Fields: +:: node address The host name of your monerod node or its IP address. It can also be a public node with RPC enabled, for example node.xmr.to +:: node port The RPC port of your monerod node to connect to, usually 18081. +:: wallet address Check your Monero CLI or GUI wallet to see your wallet's address. +:: +:: Mining solo is the best way to help Monero network be more decentralized! +:: But you will only get a payout when you find a block which can take more than a year for a single low-end PC. + +xmrig.exe -o node.xmr.to:18081 -a rx/0 -u 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD --daemon +pause