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.3.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.3-py3-none-any.whl (31.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyln_proto-25.9.3.tar.gz
Algorithm Hash digest
SHA256 beb56848b569e7a2dba15de18650d9909a5198b05c73bc99aed7d04435f3cbc4
MD5 384075b6de4d5e59bc3fc85efcb8f181
BLAKE2b-256 3194b55d3ad680f947ebc0aebf5bcdc0fee3e619b9b49ad97aa288ed3056feff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyln_proto-25.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c550bc0ae3abed09c1c9a03c2780e151cde9480afa7875da6526ce936ac71876
MD5 6d18325c941b9fdc64bea66e8e06d15e
BLAKE2b-256 4e4002d2ec15ae3c3e7d24eed02e64d8f62f5f1e262d3f67c5c1a49fe1db860f

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