Namespace NArk.Abstractions.Payments
Classes
- ArkBip21
Builds and parses BIP21 URIs with Ark protocol extensions.
Building:
ArkBip21.Create().WithArkAddress("tark1...").WithAmount(0.001m).Build()Parsing:
ArkBip21.Parse("bitcoin:addr?ark=tark1...")— also handles raw Ark addresses, Lightning invoices, and Bitcoin addresses.
- ArkPayment
Tracks an outbound payment — a send from this wallet to a recipient. Links to the underlying protocol object (intent, swap, or on-chain tx) as proof.
- ArkPaymentRequest
Tracks an inbound payment request — a request for someone to pay this wallet. Supports multiple payment options (Ark address, boarding address, Lightning invoice).
- Bip21PaymentInfo
Information extracted from a BIP21 URI or raw payment destination. Use Parse(string?) to create from a string, or Create() to build a URI.
Interfaces
- IPaymentRequestStorage
Persistence for inbound payment requests.
- IPaymentStorage
Persistence for outbound payments.
Enums
- ArkPaymentMethod
How the payment was or will be delivered.
- ArkPaymentRequestStatus
Lifecycle of an inbound payment request.
- ArkPaymentStatus
Lifecycle of an outbound payment.