UNPKG

httpay

Version:

HTTPay SDK for interacting with HTTPay smart contracts on Neutron

18 lines 914 B
import { ReactNode } from "react"; import { SigningCosmWasmClient } from "@cosmjs/cosmwasm-stargate"; import type { HTTPaySDKConfig, HTTPaySDKContextType } from "../types"; import { type ToastFunction } from "../hooks/use-registry"; interface HTTPaySDKProviderProps { children: ReactNode; initialConfig?: Partial<HTTPaySDKConfig>; chainName: string; toast: ToastFunction; walletAddress?: string | null; isWalletConnected?: boolean; getSigningCosmWasmClient?: () => Promise<SigningCosmWasmClient>; } export declare function HTTPaySDKProvider({ children, initialConfig, chainName, toast, walletAddress, isWalletConnected, getSigningCosmWasmClient }: HTTPaySDKProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useHTTPaySDK(): HTTPaySDKContextType; export declare const useSDK: typeof useHTTPaySDK; export {}; //# sourceMappingURL=httpay-sdk-provider.d.ts.map