fix mining faq

This commit is contained in:
Alex Grintsvayg 2016-06-29 16:57:34 -04:00
parent 193fbcdad7
commit 4cfde109ac

View file

@ -2,28 +2,25 @@
title: How do I mine LBRY credits?
---
LBRY binaries are out for OS X and Ubuntu. Others may try compiling from source.
LBRY binaries are out for OS X and Ubuntu. Others may try compiling from source.
## Mining on Ubuntu
1. `wget https://s3.amazonaws.com/files.lbry.io/bins.zip`
1. `unzip bins.zip`
1. `./lbrycrdd -server -printtoconsole -gen`
1. If you need to start over, run `rm -rf bins.zip lbry* ~/.lbry*`
1. 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
1. `wget https://s3.amazonaws.com/files.lbry.io/osxbins.zip``
1. `unzip bins.zip`
1. `./lbrycrdd -server -printtoconsole -gen`
1. `mkdir ~/Library/Application\ Support/lbrycrd`
1. `sudo chown -R your-username ~/Library/Application\ Support/lbrycrd`
1. `nano ~/Library/Application\ Support/lbrycrd/lbrycrd.conf`
1. Add:
`rpcuser=lbryrpc`
`rpcpassword=gibberish`
1. If you need to start over, run `rm -rf bins.zip lbry* ~/.lbry ~/Library/Application\ Support/lbrycrd`
1. Save
1. `sudo chown -R "$(whoami)" ~/Library/Application\ Support/lbrycrd`
1. `echo -e "rpcuser=lbryrpc\nrpcpassword=$(tr -dc A-Za-z0-9 < /dev/urandom | head -c 16 | xargs)" > ~/Library/Application\ Support/lbrycrd/lbrycrd.conf`
1. `./lbrycrdd -server -printtoconsole -gen`
1. 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