Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Keys ¶
type Keys interface {
Init(cfg config.Config, encryptionKey string) error
// Wallet Service Nostr pubkey (DEPRECATED)
GetNostrPublicKey() string
// Wallet Service Nostr secret key (DEPRECATED)
GetNostrSecretKey() string
// Swap rescue key derived from master key using BIP-85
GetSwapMnemonic() string
// Derives a BIP32 child key from appKey derived child dedicated for app wallet keys
GetAppWalletKey(childIndex uint) (string, error)
// Derives a child BIP-32 key from the app key (derived from the mnemonic)
DeriveKey(path []uint32) (*bip32.Key, error)
// Derives a BIP32 child key from appKey derived child dedicated for swaps
GetSwapKey(childIndex uint) (*btcec.PrivateKey, error)
}
Click to show internal directories.
Click to hide internal directories.