Skip to main content

Overview

  • React provider that configures and renders the InterwovenKit widget shell (drawer, routes, and supporting providers).
  • Mount once near the top of your app, wrapping your root component.
  • AutoSign is optional. Enable it with enableAutoSign when you want signature-derived automatic signing flows.

Prerequisites

  • Must be used within a React Query QueryClientProvider.
  • Must be used within a wagmi WagmiProvider if using wallet-related APIs.
  • Client-only (no SSR): Put this in a use client provider tree, or use a dynamic import in Next.js.

Styles

  • CSS styles must be injected manually using injectStyles once at app startup. Otherwise the UI will be unstyled.

Quickstart

This example shows the provider structure. For complete setup configurations, see Provider Setup.

Props

Return Value

Renders children and mounts the InterwovenKit UI shell.

Examples

Custom Chain Configuration

This example shows only the InterwovenKitProvider configuration. For complete provider setup including QueryClientProvider, WagmiProvider, and injectStyles, see Provider Setup.

Notes

Type Reference (Advanced)

Types Chain, GeneratedType, AminoConverters, and AutoSignFeePolicy are from InterwovenKit source and its external dependencies. See @initia/initia-registry-types, @cosmjs/proto-signing, and @cosmjs/stargate for related external types.