@cdr-kit/react/Components/CdrProvider
CdrProvider
Batteries-included root provider. Wires WagmiProvider, react-query, and initializes the CDR crypto WASM. Use CdrConfigProvider directly if you already have your own wagmi stack (Privy / RainbowKit).
import { CdrProvider } from "@cdr-kit/react"
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| apiUrlrequired | string | — | Story-API REST base — keeper endpoint for partial collection. |
| mockKit | MockCdrKit | — | Pass createMockCdrKit() for offline dev. When set, no chain/wallet is touched. |
| config | Config (wagmi) | — | Optional wagmi config. A minimal default with an injected connector ships if omitted. |
| queryClient | QueryClient | — | Optional TanStack Query client. |
| appearance | CdrAppearance | — | CSS custom properties applied to the cdr-kit root (see Theming). |