Skip to main content

Simple implementation of LNURL for Python 3.5+

Project description

lnurl

Based on https://github.com/rustyrussell/lightning-payencode (via https://github.com/fiatjaf/bech32)

Usage

pip install lnurl
import lnurl

lnurl.encode('https://example.com/c?p=a8dw93x2h39s1f')

lnurl.decode('LNURL1DP68GURN8GHJ7ETCV9KHQMR99E3K7MF0VVLHQ0TP8PJ8WWFN0QEXSVEEWVCKVF3A4RP')

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

lnurl-0.0.2.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

lnurl-0.0.2-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

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