CantonReactProvider
CantonReactProvider(
__namedParameters):ReactNode
Defined in: packages/react/src/context.tsx:92
@sigilry/react - React hooks and context for Canton wallet integration
Provides react-query powered hooks following wagmi patterns.
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”CantonProviderProps
Returns
Section titled “Returns”ReactNode
Example
Section titled “Example”import { CantonReactProvider, useConnect, useLedgerEnd } from '@sigilry/react'import { QueryClient, QueryClientProvider } from '@tanstack/react-query'
const queryClient = new QueryClient()
function App() { return ( <QueryClientProvider client={queryClient}> <CantonReactProvider> <MyDApp /> </CantonReactProvider> </QueryClientProvider> )}