Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

iWallet Connector

iwallet() uses window.IWalletJS by default and is compatible with iost-iwallet-pro request methods:

  • connect
  • disconnect
  • accounts
  • chainId (preferred)
  • network (fallback)
  • signMessage
  • sendTransaction
  • callContract

Custom Provider Injection

import { iwallet } from '@ivem/kit'
 
const connector = iwallet({
  getProvider: () => window.IWalletJS,
})

This is useful for tests or multi-provider injection environments.