Go to file
2018-08-20 07:59:18 -04:00
api small api fixes 2018-07-11 12:26:14 -04:00
cmd add support for S3 wallets 2018-08-20 07:59:18 -04:00
crypto add crypto package 2018-05-13 21:09:40 -04:00
dht the beginning of a jsonrpc client 2017-09-12 12:04:45 -04:00
errors remove .idea from gitignore 2018-02-23 09:26:23 -05:00
img add/update readme 2018-08-02 08:12:45 -04:00
jsonrpc update status response signature 2018-08-09 20:11:35 -04:00
lbrycrd add regtest support 2018-07-12 08:24:43 -04:00
null remove .idea from gitignore 2018-02-23 09:26:23 -05:00
querytools fix package name 2018-02-22 13:26:13 -05:00
stop refactor stopgroup to use context, which allows parent/child cancelations 2018-06-26 08:53:48 -04:00
travis update dependencies 2018-06-11 17:42:00 -04:00
util address review comments 2018-07-23 20:01:38 -04:00
validator -Added API Server to lbry.go 2018-05-27 11:30:04 -04:00
ytsync various bug fixes 2018-08-20 07:59:18 -04:00
.gitignore remove .idea from gitignore 2018-02-23 09:26:23 -05:00
.travis.yml add travis CI 2018-06-11 17:53:30 -04:00
Gopkg.lock remove invalid tests 2018-07-18 08:47:12 -04:00
Gopkg.toml changed constraint as it affects internal-apis changes. 2018-07-11 12:36:55 -04:00
LICENSE create LICENSE file 2018-02-22 13:14:48 -05:00
main.go seed rand, add dht command 2018-02-27 13:31:19 -05:00
Makefile automatically split balance into multiple addresses 2017-11-02 11:20:22 -04:00
README.md add/update readme 2018-08-02 08:12:45 -04:00

Build Status

LBRY in Golang

lbry.go is a set of tools and projects implemented in Golang. See each subfolder for more details

Installation

No installation required for lbry.go

Usage

See individual subfolders for usage instructions

Running from Source

Go

Make sure you have Go 1.10.1+

Lbrycrd

not strictly necessary, but recommended

  • Install lbrycrdd (https://github.com/lbryio/lbrycrd/releases)

  • Ensure ~/.lbrycrd/lbrycrd.conf file exists with username and password. If you don't have one, run:

    mkdir -p ~/.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)" > ~/.lbrycrd/lbrycrd.conf
    
  • Run ./lbrycrdd -server -daemon -txindex. If you get an error about indexing, add the -reindex flag for one run. You will only need to reindex once.

building lbry.go

clone the repository

go get -u github.com/lbryio/lbry.go
cd "$(go env GOPATH)/src/github.com/lbryio/lbry.go"

run make from the root directory to build the binary

Contributing

Contributions to this project are welcome, encouraged, and compensated. For more details, see lbry.io/faq/contributing

GO strictly enforces a correct syntax therefore you might need to run go fmt from inside the each working directory.

When using an IDE like Goland you should set up file watchers such as to automatically format your code and sort your imports.

alt text

License

See LICENSE

Security

We take security seriously. Please contact security@lbry.io regarding any issues you may encounter. Our PGP key is here if you need it.

Contact

The primary contact for this project is @nikooo777 (niko@lbry.io)