Interface UseInkathonProviderProps

Main provider that needs to be wrapped around the app (see README) to use useInkathon and other hooks anywhere.

interface UseInkathonProviderProps {
    apiOptions?: ApiOptions;
    appName: string;
    children?: ReactNode;
    connectOnInit?: boolean;
    defaultChain: string | SubstrateChain;
    deployments?: Promise<SubstrateDeployment[]>;
    supportedWallets?: SubstrateWallet[];
}

Hierarchy

  • PropsWithChildren
    • UseInkathonProviderProps

Properties

apiOptions?: ApiOptions
appName: string
children?: ReactNode
connectOnInit?: boolean
defaultChain: string | SubstrateChain
deployments?: Promise<SubstrateDeployment[]>
supportedWallets?: SubstrateWallet[]