Enum WalletType
- Namespace
- NArk.Abstractions.Wallets
- Assembly
- NArk.Abstractions.dll
The key-derivation flavour of an ArkWalletInfo. This is strictly about how scripts are derived — a single tweaked key vs. an xpub-derived child set — and stays orthogonal to whether the wallet can sign locally, remote-sign, or only watch.
Signing capability is answered by GetSignerAsync(string, CancellationToken): it
returns a signer when one is available (local key in Secret,
or a remote signer registered for this wallet) and null for watch-only.
public enum WalletType
Fields
HD = 1BIP-32/BIP-86 hierarchical-deterministic wallet: scripts are derived from the wallet's account xpub (AccountDescriptor) at a running child index. The mnemonic (when present in Secret) allows local signing; absence means watch-only or remote-signed at the signer-provider level — see GetSignerAsync(string, CancellationToken).
SingleKey = 0Legacy nsec-style wallet: a single Schnorr key pair. The script is a flat
tr(pubkey); child derivation does not apply.