uma

package
v0.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LightsparkClientUmaInvoiceCreator

type LightsparkClientUmaInvoiceCreator struct {
	LightsparkClient services.LightsparkClient
	// NodeId: the node ID of the receiver.
	NodeId string
	// ExpirySecs: the number of seconds until the invoice expires.
	ExpirySecs *int32
	// EnableUmaAnalytics: A flag indicating whether UMA analytics should be enabled. If `true`,
	// the receiver identifier will be hashed using a monthly-rotated seed and used for anonymized
	// analysis.
	EnableUmaAnalytics bool
	// SigningPrivateKey: Optional, the receiver's signing private key. Used to hash the receiver
	// identifier if UMA analytics is enabled.
	SigningPrivateKey *[]byte
}

LightsparkClientUmaInvoiceCreator is a wrapper around the LightsparkClient that implements the UmaInvoiceCreator interface. See github.com/uma-universal-money-address/uma-go-sdk for the interface and its documentation.

func (LightsparkClientUmaInvoiceCreator) CreateInvoice added in v0.15.1

func (l LightsparkClientUmaInvoiceCreator) CreateInvoice(amountMsats int64, metadata string, receiverIdentifier *string) (*string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL