Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content
Ivem Kit · IOST App Toolkit
Ivem Kit

A focused IOST toolkit with one shared core package, React hooks, Vue composables, and an iWallet connector.

Why

  • One toolkit, three entry points Use the same config and connector model across @ivem/kit, @ivem/kit-react, and @ivem/kit-vue.
  • Wallet-ready flows Cover connect, reconnect, disconnect, signing, transfers, contract calls, and receipt polling.
  • Framework-friendly APIs Pick hooks, composables, or direct actions without changing the underlying wallet setup.
  • IOST-specific focus The docs and API surface stay tight around iWallet-based IOST application flows.

Installation

React

pnpm
pnpm add @ivem/core @ivem/kit-react @tanstack/react-query

Vue

pnpm
pnpm add @ivem/core @ivem/kit-vue @tanstack/vue-query

Core

pnpm
pnpm add @ivem/core @ivem/kit

Quick Example

import { createConfig, iwallet, mainnet, IvemProvider, useAccount, useConnect } from '@ivem/kit-react'
 
const config = createConfig({
  chains: [mainnet],
  connector: iwallet(),
})
 
function WalletStatus() {
  const account = useAccount()
  const connect = useConnect()
 
  if (!account.isConnected) {
    return <button onClick={() => connect.mutate()}>Connect wallet</button>
  }
 
  return <div>Connected: {account.address}</div>
}
 
export function App() {
  return (
    <IvemProvider config={config}>
      <WalletStatus />
    </IvemProvider>
  )
}