2018-01-16 10:35:36 -05:00
# LBRYcrd - The LBRY blockchain
2012-12-12 21:27:58 -05:00
2018-04-18 15:32:02 -04:00
![alt text ](lbrycrdd_daemon_screenshot.png "lbrycrdd daemon screenshot" )
2016-01-30 14:30:13 -05:00
2018-01-16 10:35:36 -05:00
LBRYcrd uses a blockchain similar to bitcoin's to implement an index and payment system for content on the LBRY network. It is a fork of bitcoin core.
2016-01-30 14:30:13 -05:00
2018-04-18 15:32:02 -04:00
## Installation
2012-12-12 21:27:58 -05:00
2018-04-18 15:32:02 -04:00
Latest binaries are available from https://github.com/lbryio/lbrycrd/releases. There is no installation procedure, the binaries run as is.
2010-09-23 18:06:50 +00:00
2018-04-18 15:32:02 -04:00
## Usage
2018-04-19 14:54:45 -04:00
The `lbrycrdd` executable will start a LBRYcrd node and connect you to the LBRYcrd network. Use the `lbrycrd-cli` executable
to interact with lbrycrdd through the command line. Help pages for both executable are available through
the "--help" flag (e.g. `lbrycrd-cli --help` ).
2010-12-19 10:39:36 -05:00
2018-04-18 15:32:02 -04:00
### Example Usage
2018-01-16 10:59:01 -05:00
2018-04-19 14:54:45 -04:00
Run `./lbrycrdd -server -daemon` to start lbrycrdd in the background.
2018-01-16 10:59:01 -05:00
2018-04-18 15:32:02 -04:00
Run `./lbrycrd-cli getinfo` to check for some basic informations about your LBRYcrd node.
Run `./lbrycrd-cli help` to get a list of all commands that you can run. To get help on specific commands run `./lbrycrd-cli [command_name] help`
2018-05-28 11:43:28 -07:00
### Data directory
Lbrycrdd will use the below default data directories
Windows < Vista: C: \Documents and Settings \Username \Application Data \lbrycrd
Windows >= Vista: C:\Users\Username\AppData\Roaming\lbrycrd
Mac: ~/Library/Application Support/lbrycrd
Unix: ~/.lbrycrd
The data directory contains various things such as your default wallet (wallet.dat), debug logs (debug.log), and blockchain data. You can optionally
create a configuration file lbrycrd.conf in the default data directory which will be used by default when running lbrycrdd.
For a list of configuration parameters run `./lbrycrdd --help` . Below is a sample lbrycrd.conf to enable JSON RPC server on lbrycrdd.
```rpcuser=lbry
rpcpassword=xyz123456790
daemon=1
server=1
txindex=1
```
2018-04-18 15:32:02 -04:00
## Running from Source
2018-01-16 10:59:01 -05:00
2018-04-19 14:54:45 -04:00
Run `./reproducible_build.sh -c -t` . This will build the binaries and put them into the `./src` directory.
2018-01-16 10:59:01 -05:00
2018-04-19 14:55:22 -04:00
If you encounter any errors, please check `doc/build-*.md` for further instructions. If you're still stuck, [create an issue ](https://github.com/lbryio/lbrycrd/issues/new ) with the output of that command, your system info, and any other information you think might be helpful.
2018-01-16 10:59:01 -05:00
2018-04-18 15:32:02 -04:00
## Contributing
2018-01-16 10:59:01 -05:00
2018-04-18 15:32:02 -04:00
Contributions to this project are welcome, encouraged, and compensated. For more details, see [lbry.io/faq/contributing ](https://lbry.io/faq/contributing )
2015-09-24 14:28:07 +01:00
2018-06-04 14:42:10 -04:00
The codebase is in C++03, C++11 is currently not supported but we will be migrating to it in the near future. Recommended GCC version is 4.8 or greater.
2018-04-18 15:32:02 -04:00
The `master` branch is regularly built and tested, but is not guaranteed to be
completely stable. [Releases ](https://github.com/lbryio/lbrycrd/releases ) are created
regularly to indicate new official, stable release versions.
2012-12-12 21:27:58 -05:00
Testing and code review is the bottleneck for development; we get more pull
2014-05-23 09:49:01 +02:00
requests than we can review and test on short notice. Please be patient and help out by testing
other people's pull requests, and remember this is a security-critical project where any mistake might cost people
2018-06-04 14:42:10 -04:00
lots of money. Developers are strongly encouraged to write [unit tests ](/doc/unit-tests.md ) for new code, and to
2015-11-18 00:26:07 +01:00
submit new unit tests for old code. Unit tests can be compiled and run
(assuming they weren't disabled in configure) with: `make check`
2013-01-09 15:55:47 -05:00
2018-01-16 10:56:44 -05:00
The Travis CI system makes sure that every pull request is built, and that unit and sanity tests are automatically run.
2013-01-09 15:55:47 -05:00
2018-05-16 15:41:17 -04:00
### Testnet
Testnet is maintained for testing purposes and can be accessed using the command `./lbrycrdd -testnet` . If you would like testnet credits, please contact kay@lbry .io or grin@lbry .io.
2018-04-18 15:32:02 -04:00
## License
2013-01-09 15:55:47 -05:00
2018-04-18 15:32:02 -04:00
This project is MIT licensed. For the full license, see [LICENSE ](LICENSE ).
2014-04-09 20:11:08 +02:00
2018-04-18 15:32:02 -04:00
## Security
We take security seriously. Please contact security@lbry .io regarding any security issues.
Our PGP key is [here ](https://keybase.io/lbry/key.asc ) if you need it.
## Contact
The primary contact for this project is [@kaykurokawa ](https://github.com/kaykurokawa ) (kay@lbry .io)
2014-04-09 20:11:08 +02:00
2014-05-23 10:30:38 -04:00