LBRY is a decentralized peer-to-peer network providing distribution, discovery, and purchase of digital content (data). It utilizes the LBRY blockchain as a global namespace and database of digital content. Blockchain entries contain searchable content metadata, identities, rights and access rules. LBRY also provides a data network that consists of peers (seeders) uploading and downloading data from other peers, possibly in exchange for payments, as well as a distributed hash table used by peers to discover other peers.
LBRY SDK for Python is currently the most full featured implementation of the LBRY Network protocols and includes many useful components and tools for building decentralized applications. Primary features and components:
- Built on Python 3.7+ and
- DHT (Distributed Hash Table) implementation for finding peers (lbrynet.dht).
- Blob exchange protocol for downloading content and negotiating payments (lbrynet.blob_exchange).
- Protobuf schema for encoding and decoding metadata stored on the blockchain (lbrynet.schema).
- Wallet implementation for the LBRY blockchain (lbrynet.extras.wallet).
- Daemon with a JSON-RPC API to ease building end user applications in any language and for automating various tasks (lbrynet.extras.daemon).
Our releases page contains pre-built binaries of the latest release, pre-releases, and past releases for macOS, Debian-based Linux, and Windows. Automated travis builds are also available for testing.
lbrynet start to launch the API server.
lbrynet will provide a JSON-RPC server at
http://localhost:5279. It is easy to interact with via cURL or sane programming languages.
Our quickstart guide provides a simple walkthrough and examples for learning.
With the daemon running,
lbrynet commands will show you a list of commands.
The full API is documented here.
Running from source
Installing from source is also relatively painless. Full instructions are in INSTALL.md
Contributions to this project are welcome, encouraged, and compensated. For more details, please check this link.
This project is MIT licensed. For the full license, see LICENSE.
The primary contact for this project is @eukreign.
Additional information and links
The documentation for the API can be found here.
Daemon defaults, ports, and other settings are documented here.
Settings can be configured using a daemon-settings.yml file. An example can be found here.