Crate zip321

Source
Expand description

Reference implementation of the ZIP-321 standard for payment requests.

This crate provides data structures, parsing, and rendering functions for interpreting and producing valid ZIP 321 URIs.

The specification for ZIP 321 URIs may be found at https://zips.z.cash/zip-0321

Modules§

testing

Structs§

Payment
A single payment being requested.
TransactionRequest
A ZIP321 transaction request.

Enums§

Zip321Error
Errors that may be produced in decoding of payment requests.

Functions§

memo_from_base64
Parse a MemoBytes value from a ZIP 321 compatible base64-encoded string.
memo_to_base64
Converts a MemoBytes value to a ZIP 321 compatible base64-encoded string.