Skip to main content

Crate quai_payments

Crate quai_payments 

Source
Expand description

BIP47 payment-code and local channel foundations for Quai.

Payment derivation uses the pinned Quai coin-969 account path. Notification transaction construction, network discovery and automatic sends are separate.

Structs§

PaymentChannel
Public recoverable channel state bound to an exact private owner account.
PaymentCode
A validated public version-one, feature-zero BIP47 payment code.
PaymentSearch
Explicit candidate range for grinding a Qi address in one zone.
PaymentSearchResult
Public result of a successful bounded search.
PrivatePaymentCode
Secret BIP47 account state with redacted diagnostics and backend zeroization.

Enums§

PaymentDirection
Direction relative to the local payment-code owner.
PaymentError
Payment errors omit secret inputs and backend diagnostics.

Constants§

CHANNEL_SCHEME
Versioned metadata scheme identifying the exact derivation path and ledger.
HARDENED_INDEX
First hardened BIP32 index; payment children must be strictly below this.
MAX_CHANNEL_BYTES
Maximum serialized public channel metadata size before parsing.
MAX_SEARCH_ATTEMPTS
Local maximum work per explicit search call, independent of consensus rules.
PAYMENT_CODE_PREFIX
Payment-code Base58Check prefix, shared with BIP47 version-one codes.
QUAI_PAYMENT_COIN
Quai/Qi’s BIP47 coin type, from the pinned implementation’s executed path.