cashu 0.16.0

Cashu shared types and crypto utilities, used as the foundation for the CDK and their crates
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! NUT-26: Payment Request Bech32m Encoding
//!
//! This module implements NUT-26, which provides bech32m encoding for Cashu payment requests.
//! NUT-26 is an alternative encoding to the JSON-based CREQ-A format (NUT-18), offering
//! improved QR code compatibility and more efficient encoding.
//!
//! The encoding methods are implemented as extensions to `PaymentRequest` from NUT-18.
//!
//! <https://github.com/cashubtc/nuts/blob/main/26.md>

mod encoding;
mod error;

pub use encoding::CREQ_B_HRP;
pub use error::Error;