iWallet Connector
iwallet() uses window.IWalletJS by default and is compatible with iost-iwallet-pro request methods:
connectdisconnectaccountschainId(preferred)network(fallback)signMessagesendTransactioncallContract
Custom Provider Injection
import { iwallet } from '@ivem/kit'
const connector = iwallet({
getProvider: () => window.IWalletJS,
})This is useful for tests or multi-provider injection environments.