Namespace NArk.Abstractions.Recovery
Classes
- DiscoveredContract
A single contract that recovery reconstructed, with the index it came from and the provider that detected it.
- DiscoveryResult
Result of querying a single IContractDiscoveryProvider for one index.
- RecoveryDelegateConfig
Optional delegate (auto-renewal) public-key descriptors a wallet may have used. When non-empty, recovery also derives the delegate-vtxo variant per index/signer — mirroring the canonical
arkade-os/ts-sdkrestore, which derives bothDefaultVtxoandDelegateVtxoscripts — so funds locked under a delegate script are discovered too. Empty by default (no delegation configured).
- RecoveryOptions
Configuration for an HD wallet recovery scan.
- RecoveryReport
Summary of an HD wallet recovery scan.
Interfaces
- IContractDiscoveryProvider
Probes a single derivation index of an HD wallet to determine whether any contract derivable from that index has ever been used. Each implementation answers from a different source of truth (arkd indexer, on-chain UTXO set, swap history, etc.) and they are aggregated by
HdWalletRecoveryServiceusing a logical OR — if any provider sees usage at an index, the index counts as used and the gap counter resets.