wallet

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Copyright (C) 2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wallet

type Wallet struct {
	*primary.Wallet
	Keychain keychain.Keychain
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, uri string, luxKeychain luxdkeychain.Keychain, config primary.WalletConfig) (Wallet, error)

func (*Wallet) Addresses

func (w *Wallet) Addresses() []ids.ShortID

func (*Wallet) SecureWalletIsChangeOwner

func (w *Wallet) SecureWalletIsChangeOwner()

SecureWalletIsChangeOwner ensures that a fee paying address (wallet's keychain) will receive the change UTXO and not a randomly selected auth key that may not be paying fees

func (*Wallet) SetAuthKeys

func (w *Wallet) SetAuthKeys(authKeys []ids.ShortID)

SetAuthKeys sets auth keys that will be used when signing txs, besides the wallet's Keychain fee paying ones

func (*Wallet) SetSubnetAuthMultisig

func (w *Wallet) SetSubnetAuthMultisig(authKeys []ids.ShortID)

Jump to

Keyboard shortcuts

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