macOS Installation: csminer (Crypto Miner Software)

All discussions around cryptocurrency mining on macOS and Apple products. Discussion around the most popular crypto coins today including Bitcoin, Ethereum, and more. Read our getting started guide to understanding cryptocurrency, what you need to get started, and how to earn. What's your Apple Mac setup? Hackintosh? eGPU's? Share your setup and details here.
Post Reply
User avatar
macminergod
Site Admin
Posts: 204
Joined: Mon Feb 22, 2021 7:41 pm

macOS Installation: csminer (Crypto Miner Software)

Post by macminergod »

csminer is an easy-to-use command-line miner for Monero providing "set it and forget it" background mining for your personal laptop and desktop machines. Above all, csminer tries to keep day to day usage of your machine unaffected while it is running. Once started, you'll find there's no need to have to stop it to use your machine for other tasks, and then remember to manually restart when done. And you should still find its hashrate comparable to other Monero mining software.

By default, csminer will mine with a single thread, and only when your screen is inactive. It also mines only while on AC power, making it suitable even for laptops. You can also have csminer pause mining during certain hours of the day, for example to avoid periods of higher electricity rates or higher expected machine usage. All of these options are of course easily configurable if you wish to mine more aggressively!

Fees: csminer has zero fees, but if you enjoy using it, please consider upping the amount of your earnings donated to our pool.




Install csminer on macOS



1. Download csminer from here.



2. Unzip and drag the csminer to your Desktop.



3. Open Terminal. Type:

Code: Select all

cd Desktop/

4. Launch csminer using the following command, replacing with your info:

Code: Select all

./csminer -user=MAKEAUSERNAME -wallet=YOURWALLET -threads HOWMANYTHREADSCPUYOURMAC
Csminer Paused Screen Is Active
Csminer Paused Screen Is Active (63.62 KiB) Viewed 4294 times


5. By default, csminer will not start mining until you hit enter again. You can add the -saver flag to override this too.

Csminer Moner Mining Macos Client
Csminer Moner Mining Macos Client (782.77 KiB) Viewed 4294 times

More Info:

csminer v0.2.0 (OSX version)

SYNOPSIS

csminer from https://cryptonote.social is an easy-to-use CPU miner for Monero intended to provide
"set it and forget it" mining for your existing laptop and desktop machines. By default, csminer
mines with a single thread, and only when your screen is locked and on AC power. It can be
configured to always mine or mine with more threads using the options described below.


USAGE

./csminer [OPTION]...

All arguments are optional:
-user <string>
your pool username from https://cryptonote.social/xmr (default "donate-getmonero-org")
-saver=<bool>
mine only when screen is locked (default true). csminer polls the OSX lock screen
state every 10 seconds and should activate the miner shortly after the screen locks.
-exclude <string>
pause mining during the specified hours. Format is XX-YY where XX and YY are hours of
the day designated in 24 hour time. For example, -exclude=11-16 will pause mining betwen
11:00am and 4:00pm. This can be used, for example, to pause mining during times of high
machine usage or high electricity rates.
-threads <int>
number of threads (default 1)
-rigid <string>
your rig id (default "csminer")
-config <string>
advanced pool config option string, for specifying starting diff, donation percentage,
email address for notifications, and more. See "advanced configuration options" under Get
Started on the pool site for details. Some options will require you to also specify your
wallet id (see below) in order to be changed.
-wallet <string>
your wallet id. You only need to specify this when establishing a new username, or if
specifying a 'secure' config parameter change such as a new pool donation amount or email
address. New usernames will be established upon submitting at least one valid share.

Monitor your miner progress at: https://cryptonote.social/xmr, or type <p> + <enter> to display
pool stats in the command shell.

Tips:

In Mac Energy Settings, make sure your computer is configured to stay awake while in power
adapter mode. Select the Power Adapter tab, and set any "Computer sleep" slider to "Never".
If present, enable the option "Prevent computer from sleeping automatically when the display
is off".

For best performance, if csminer reports it's unable to allocate hugepages, try restarting your
machine and starting csminer before running anything else.

If you don't specify a username, csminer will mine on behalf of the Monero project
(https://donate.getmonero.org) with earnings going directly to its wallet:

888tNkZrPN6JsEgekjMnABU4TBzc2Dt29EPAvkRxbANsAnjyPbb3iQ1YBRk1UXcdRsiKc9dhwMVgN5S9cQUiyoogDavup3H


ADDITIONAL DETAILS

Usernames

If you don't already have a username established with the pool, you can create one by simply
specifying your wallet id with the -wallet option along with your selected username, e.g.:

./csminer -user=booboo -wallet=YOURWALLET -threads 16

Once you've submitted at least one share, the wallet address is permanently associated with the
username and you can login with the username alone, e.g.:

./csminer -user=your-chosen-username

Implementation

csminer utilizes the RandomX implementation from https://github.com/tevador/RandomX and will
perform similarly to other mining software based on this library such as xmrig.

Feedback & Bug Reports

Send to: <cryptonote.social@gmail.com>
For Miners Rigs, macOS Hardware GPUs --> here.
Post Reply