UNPKG

@ponziland/account

Version:

Account management library for Starknet with wallet modal and connection state

10 lines (9 loc) 330 B
export type ChainId = "mainnet" | "sepolia"; export type AccountConfig = { rpcUrl: string; chainId: ChainId; policies?: any; }; export declare const accountConfig: AccountConfig; export declare function configureAccount(config: Partial<AccountConfig>): void; export declare function getAccountConfig(): AccountConfig;