当前位置: 首页 > 软件库 > Web3 > 区块链 >

lbry-sdk

授权协议 MIT License
开发语言 Python
所属分类 Web3、 区块链
软件类型 开源软件
地区 不详
投 递 者 董奇思
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

LBRY LBRY SDK build

LBRY is a decentralized peer-to-peer protocol for publishing and accessing digital content. 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 fully featured implementation of the LBRY Network protocols and includes many useful components and tools for building decentralized applications. Primary features and components include:

  • Built on Python 3.7 and asyncio.
  • Kademlia DHT (Distributed Hash Table) implementation for finding peers to download from and announcing to peers what we have to host (lbry.dht).
  • Blob exchange protocol for transferring encrypted blobs of content and negotiating payments (lbry.blob_exchange).
  • Protobuf schema for encoding and decoding metadata stored on the blockchain (lbry.schema).
  • Wallet implementation for the LBRY blockchain (lbry.wallet).
  • Daemon with a JSON-RPC API to ease building end user applications in any language and for automating various tasks (lbry.extras.daemon).

Installation

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.

Usage

Run lbrynet start to launch the API server.

By default, 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

Contributing

Contributions to this project are welcome, encouraged, and compensated. For more details, please check this link.

License

This project is MIT licensed. For the full license, see LICENSE.

Security

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

Contact

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.

 相关资料
  • LBRY 是一个在区块链上建立开源内容发布服务的平台。该平台允许用户发布资料,并绕过了中间商,直接与消费者联系。 LBRY 还完全加密所有内容,让出版商保有私有密钥,而使用公用密钥只能能够浏览部分内容,并且这些都是可以出售或免费赠送的。 它利用 LBRY blockchain 作为全球命名空间和数字内容数据库。区块链条目包含可搜索的内容元数据、标识、权限和访问规则。它还提供了一个守护进程,可以通过

  • LBRY Android An Android browser and wallet for the LBRY network. Installation The minimum supported Android version is 5.0 Lollipop. There are two ways to install: Via the Google Play Store. Anyone ca

  • LBRY App - https://lbry.tv This repo contains the UI code that powers the official LBRY desktop app, as well as lbry.tv. The LBRY app is a graphical browser for the decentralized content marketplace p

  • 问题内容: 这两个词之间有什么实质性区别吗?我了解JDK代表Java开发工具包,它是SDK(软件开发工具包)的子集。但是指定Java SDK时,其含义应与JDK相同。 问题答案: 从这个维基百科条目: JDK是广义上的软件开发工具包(SDK)的子集。在最近针对Java SE,EE和ME发行的说明中,Sun承认,按照其术语,JDK构成了SDK的子集,该SDK负责编写和运行Java程序。SDK的其余部

  • 问题内容: 我有一个在Eclipse中导入的Google App Engine项目。由于某些原因,当我转到Eclipse项目属性时,Google App Engine SDK似乎被保存为jar的位置(appengine- api-1.0-sdk-1.4.0.jar),而不是实际SDK的位置。如果我修改项目的设置以使用正确的SDK,则不会保存新设置。由于无法修改设置,因此无法再从Eclipse内部部

  • 问题内容: 我经历了题为“以编程方式将AWS区域设置为1”的问题,但它没有提供我需要的所有答案。 Q1:我得到一个。我究竟做错了什么?还是我错过了错别字。 } 问题2:如果要从中构建Lambda函数,需要进行哪些代码更改?我知道如何创建lambda函数及其所需的角色。只是需要知道我编写的代码是否需要更改。我应该如何实现LambdaFuctionHandler类,如下所示: 问题答案: 关于Q1,请