1.0.2 • Published 6 months ago

light-bolt12-decoder v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Light BOLT12 Decoder :zap:

NPM version

A lightweight and naïve library for decoding and encoding lightning network payment requests as defined in BOLT #12.

Code derived from bolt12, which has the full functionality but it's a pain to run in browsers.

Spits out "sections" of the invoice, in a way that is used to make visualizations like https://bolt12.org/.

The dependencies are minimal: no Buffer, only @scure/base.

Installation

You can install this package using npm or yarn:

yarn add light-bolt12-decoder
npm install light-bolt12-decoder
1.0.2

6 months ago

1.0.1

8 months ago

1.0.0

8 months ago