UNPKG

@etherspot/remote-signer

Version:

Etherspot Permissioned Signer SDK - signs the UserOp with SessionKey and sends it to the Bundler

24 lines (21 loc) 552 B
import { BundlerProviderLike } from './bundler/interface.mjs'; interface PaymasterApi { url: string; context?: any; } declare enum Factory { ETHERSPOT = "etherspot" } interface SdkOptions { etherspotWalletAddress?: string; chainId: number; apiKey: string; sessionKey: string; rpcProviderUrl?: string; factoryWallet?: Factory; walletFactoryAddress?: string; entryPointAddress?: string; bundlerProvider?: BundlerProviderLike; index?: number; } export { Factory, type PaymasterApi, type SdkOptions };