@etherspot/prime-sdk
Version:
Etherspot Prime (Account Abstraction) SDK
23 lines (22 loc) • 586 B
TypeScript
import { BundlerProviderLike } from './bundler';
import { StateStorage } from './state';
export interface PaymasterApi {
url: string;
context?: any;
}
export declare enum Factory {
ZERO_DEV = "zeroDev",
ETHERSPOT = "etherspot",
SIMPLE_ACCOUNT = "simpleAccount"
}
export interface SdkOptions {
chainId: number;
bundlerProvider?: BundlerProviderLike;
stateStorage?: StateStorage;
rpcProviderUrl?: string;
factoryWallet?: Factory;
walletFactoryAddress?: string;
entryPointAddress?: string;
accountAddress?: string;
index?: number;
}