Attempt to connect and discover accounts.
Optionalsignal: AbortSignalOptional AbortSignal to cancel the connection attempt.
Accounts on success, typed error on failure.
Disconnect and clean up resources. Safe to call multiple times.
Subscribe to account list changes.
Emitted when the set of available accounts changes (e.g., user connects/disconnects in the host wallet).
Unsubscribe function.
Subscribe to connection status changes.
Not all providers emit status changes — for example, dev accounts are always "connected" and never emit.
Unsubscribe function.
Interface that all signer providers must implement.
Providers are responsible for discovering accounts and creating signers from a specific source (Host API, browser extensions, dev accounts).