Interface IWalletProvider
- Namespace
- NArk.Abstractions.Wallets
- Assembly
- NArk.Abstractions.dll
Resolves signers and address providers for wallets by ID.
public interface IWalletProvider
Methods
GetAddressProviderAsync(string, CancellationToken)
Returns the address provider for the wallet, or null if none is registered.
Task<IArkadeAddressProvider?> GetAddressProviderAsync(string identifier, CancellationToken cancellationToken = default)
Parameters
identifierstringcancellationTokenCancellationToken
Returns
GetSignerAsync(string, CancellationToken)
Returns the signer for the wallet, or null if the wallet is watch-only.
Task<IArkadeWalletSigner?> GetSignerAsync(string identifier, CancellationToken cancellationToken = default)
Parameters
identifierstringcancellationTokenCancellationToken