#instructions #payment #bitcoin #parser #attempt #ways #format

no-std bitcoin-payment-instructions

A parser for arbitrary bitcoin payment instructions

2 releases

new 0.0.2 Mar 19, 2025
0.0.1 Mar 19, 2025

#127 in Magic Beans

MIT/Apache

41KB
734 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–32MB
~377K SLoC