1.9 KiB
title | category |
---|---|
How do I mine LBRY credits? | mining |
Library Credits (LBC) are mined over a 20-year Proof of Work period. Block rewards increase every 100 blocks by 1LBC, peak at 500, and decline slowly.
LBRY mining is dominated by the GPU and FPGA market, and we don't see CPU mining as economically viable at this point. If you still want to CPU mine to help secure the network, see instructions below.
For GPU mining, please see our list of pools. Each pool has a slightly different setup so please check their Getting Started/help page. We can also provide mining assistance via the #mining channel on Discord Chat. Note: Sgminer is for AMD GPUs and CCminer is for Nvidia GPUs.
For CPU mining, LBRY binaries are out for OS X, Windows, and Ubuntu. Others may try compiling from source.
You can download the latest binaries here.
CPU Mining on Ubuntu
- Unzip the binaries, and
cd
into the directory containing them. ./lbrycrdd -server -printtoconsole -gen
- If you need to start over, run
rm -rf bins.zip lbry* ~/.lbry*
. Note: this will delete your wallet and any credits you may have.
CPU Mining on macOS
- Unzip the binaries, and
cd
into the directory containing them. mkdir ~/Library/Application\ Support/lbrycrd
sudo chown -R "$(whoami)" ~/Library/Application\ Support/lbrycrd
echo -e "rpcuser=lbryrpc\nrpcpassword=$(env LC_CTYPE=C LC_ALL=C tr -dc A-Za-z0-9 < /dev/urandom | head -c 16 | xargs)" > ~/Library/Application\ Support/lbrycrd/lbrycrd.conf
./lbrycrdd -server -printtoconsole -gen
- If you need to start over, run
rm -rf bins.zip lbry* ~/.lbry ~/Library/Application\ Support/lbrycrd
. Note: this will delete your wallet and any credits you may have.
Compiling
Join us on Discord Chat if you need help compiling from source!