#bitcoin #instructions #bitcoin-payment-instructions

no-std bitcoin-payment-instructions

A parser for arbitrary bitcoin payment instructions

4 releases (2 breaking)

new 0.2.0 Mar 30, 2025
0.1.0 Mar 23, 2025
0.0.2 Mar 19, 2025
0.0.1 Mar 19, 2025

#945 in Magic Beans

Download history 340/week @ 2025-03-19

340 downloads per month

MIT/Apache

50KB
922 lines

These days, there are many possible ways to communicate Bitcoin payment instructions. This crate attempts to unify them into a simple parser which can read text provided directly by a payer or via a QR code scan/URI open and convert it into payment instructions.

See the PaymentInstructions type for the supported instruction formats.

This crate doesn't actually help you pay these instructions, but provides a unified way to parse them.

Dependencies

~17–28MB
~372K SLoC