mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-30 08:51:34 +00:00
1.4 KiB
1.4 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.
For GPU mining, please see our list of [pools] (https://lbry.io/faq/mining-pools). Each pool has a slightly different setup so please check their Getting Started page.
For CPU mining, LBRY binaries are out for OS X and Ubuntu. Others may try compiling from source.
Mining on Ubuntu
wget https://s3.amazonaws.com/files.lbry.io/bins.zip
unzip bins.zip
./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.
Mining on macOS
wget https://s3.amazonaws.com/files.lbry.io/osxbins.zip
unzip osxbins.zip
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 Slack if you need help compiling from source!