@msquared/etherbase-client
Version:
React hooks for interacting with Etherbase smart contracts
12 lines (11 loc) • 350 B
TypeScript
import type { Chain } from "viem";
export interface EtherbaseConfig {
httpReaderUrl?: string;
wsReaderUrl?: string;
wsWriterUrl?: string;
privateKey?: string;
chain?: Chain;
useBackend?: boolean;
}
export declare function initializeApp(userConfig: EtherbaseConfig): void;
export declare function getConfig(): EtherbaseConfig;