UNPKG

@dappykit/sdk

Version:

Web3 SDK for DApps

17 lines (16 loc) 477 B
import { RpcHelper } from '../rpc-helper'; import { INetworkConfig } from '../network-config'; import { HDAccount } from 'viem/accounts'; /** * Account abstraction */ export declare class Account { readonly config: INetworkConfig; readonly signer?: HDAccount | undefined; readonly rpcHelper: RpcHelper; constructor(config: INetworkConfig, signer?: HDAccount | undefined); /** * Gets Smart Account address */ getAddress(): Promise<string>; }