UNPKG

@etherspot/remote-signer

Version:

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

12 lines (9 loc) 632 B
import { G as GetAccountReturnType } from '../../ERC4337Utils-D4GRkIAr.mjs'; import { LocalAccount, Address, CustomSource, AccountSource, Hex } from 'viem'; import '../types/bignumber.mjs'; import '../types/common-types.mjs'; import 'node_modules/viem/_types/errors/utils'; declare function createLocalAccount(address: string): LocalAccount<string, Address> & CustomSource; declare function toExtendedLocalAccount<accountSource extends AccountSource>(source: accountSource): GetAccountReturnType<accountSource>; declare const fixSignedData: (sig: Hex) => Hex; export { createLocalAccount, fixSignedData, toExtendedLocalAccount };