Connect & Disconnect
onProvidersChanged(callback) returns an unsubscribe function. It fires when EIP-6963 providers come and go (browser only).
Adapters
For type-safe lazy imports, use
leokit-sdk/wallets:
Ledger Deep-Dive
@ledgerhq/hw-app-btc@^10.18.0 is required and pinned via the SDK’s optional dependencies.
MetaMask Multi-Account
MetaMask exposes multiple accounts as a single provider. The SDK adds first-class methods for switching and revoking permissions:EIP-6963 Discovery
The SDK ships anEIP6963Store that auto-tracks provider announcements:
Connection Events
LeoKitClient extends EventEmitter<LeoKitEvents>: