@kryptogo/kryptogokit-sdk-react
Version:
KryptogoKit offers a comprehensive web3 wallet solution with seamless KryptoGO Auth integration and multi-wallet connection support. Designed for users. Built for developers.
16 lines (15 loc) • 706 B
TypeScript
import { type ReactNode } from 'react';
import type { Chain } from 'wagmi/chains';
export interface KryptogoKitChain extends Chain {
iconUrl?: string | (() => Promise<string>) | null;
iconBackground?: string;
}
interface KryptogoKitChainProviderProps {
initialChain?: Chain | number;
children: ReactNode;
}
export declare function KryptogoKitChainProvider({ children, initialChain }: KryptogoKitChainProviderProps): import("react/jsx-runtime").JSX.Element;
export declare const useKryptogoKitChains: () => KryptogoKitChain[];
export declare const useInitialChainId: () => number | undefined;
export declare const useKryptogoKitChainsById: () => Record<number, KryptogoKitChain>;
export {};