Skip to main content

This package implements some of the Lightning Network protocol in pure python. It is intended for protocol testing and some minor tooling only. It is not deemed secure enough to handle any amount of real funds (you have been warned!).

Project description

pyln-proto: Lightning Network protocol implementation

This package implements some of the Lightning Network protocol in pure python. It is intended for protocol testing and some minor tooling only. It is not deemed secure enough to handle any amount of real funds (you have been warned!).

Installation

pyln-proto is available on pip:

pip install pyln-proto

Alternatively you can also install the development version to get access to currently unreleased features by checking out the Core Lightning source code and installing into your python3 environment:

git clone https://github.com/ElementsProject/lightning.git
cd lightning/contrib/pyln-proto
uv sync

This will add links to the library into your environment so changing the checked out source code will also result in the environment picking up these changes. Notice however that unreleased versions may change API without warning, so test thoroughly with the released version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyln_proto-25.9.tar.gz (44.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyln_proto-25.9-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file pyln_proto-25.9.tar.gz.

File metadata

  • Download URL: pyln_proto-25.9.tar.gz
  • Upload date:
  • Size: 44.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for pyln_proto-25.9.tar.gz
Algorithm Hash digest
SHA256 df309cf715e92049bb82cc0db994060c7313f545cf62f4ae252a04a810067c57
MD5 979aa6138e874115ed008477924dc617
BLAKE2b-256 f9bbb87df0a8d27bb7a019a95b6e14a197292c4f63d132ea88d103a773621df3

See more details on using hashes here.

File details

Details for the file pyln_proto-25.9-py3-none-any.whl.

File metadata

  • Download URL: pyln_proto-25.9-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for pyln_proto-25.9-py3-none-any.whl
Algorithm Hash digest
SHA256 41965d96b7fe62323cb6b2fe8953d82f004a2a06ba1c009f91cd5e899ed5575e
MD5 4a8287dbb7424a9b771937e7e2f3f2ac
BLAKE2b-256 748019851847ea4be5b64d4f9a5b68ed84e7b82abbb1f9edf62f664d0ded38dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page