Documentation
¶
Overview ¶
Copyright (C) 2025, Lux Industries, Inc. All rights reserved. See the file LICENSE for licensing terms.
Index ¶
- Variables
- type Keychain
- func GetKeychain(app *application.Lux, useEwoq bool, useLedger bool, ledgerAddresses []string, ...) (*Keychain, error)
- func GetKeychainFromCmdLineFlags(app *application.Lux, keychainGoal string, network models.Network, ...) (*Keychain, error)
- func NewKeychain(network models.Network, keychain keychain.Keychain, ledger keychain.Ledger, ...) *Keychain
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrMutuallyExlusiveKeySource = errors.New("key source flags --key, --ewoq, --ledger/--ledger-addrs are mutually exclusive") ErrEwoqKeyOnTestnetOrMainnet = errors.New("key source ewoq is not available for mainnet/testnet operations") )
Functions ¶
This section is empty.
Types ¶
type Keychain ¶
type Keychain struct {
Network models.Network
Keychain keychain.Keychain
Ledger keychain.Ledger
UsesLedger bool
LedgerIndices []uint32
}
func GetKeychain ¶
func NewKeychain ¶
func (*Keychain) AddAddresses ¶
func (*Keychain) HasOnlyOneKey ¶
func (*Keychain) PChainFormattedStrAddresses ¶
Click to show internal directories.
Click to hide internal directories.