signutils

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	*wallets.Storage
	node.IdentifierAndSigner
	// contains filtered or unexported fields
}

func NewProcessor

func NewProcessor(iAndS node.IdentifierAndSigner, wStorage *wallets.Storage, proxyURL *settings.ProxyURLMutex) Processor

NewProcessor creates a signing instruction processor backed by the provided wallet storage and TEE node.

func (*Processor) SignXRPLPayment

func (p *Processor) SignXRPLPayment(
	submissionTag types.SubmissionTag,
	dataFixed *instruction.DataFixed,
	_ []hexutil.Bytes,
	_ []common.Address,
	_ *policy.SigningPolicy,
) ([]byte, []byte, error)

SignXRPLPayment signs the XRP Ledger payment described in the instruction for each fee schedule entry upfront, then spawns a goroutine that posts the cumulative signed transaction set to the proxy after each entry's scheduled delay elapses.

Jump to

Keyboard shortcuts

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