Skip to Content
Packages@tuwaio/orbit-evmFunctionscreatePimlicoSmartAccountClient()

createPimlicoSmartAccountClient()

createPimlicoSmartAccountClient(config): Promise<PimlicoSmartAccountClientResult>

Defined in: packages/orbit-evm/src/utils/bundlerUtils.ts:284 

High-level orchestration utility that instantiates a Solady smart account, configures a Pimlico paymaster (sponsorship), and binds them to a Pimlico Bundler client.

Parameters

config

PimlicoSmartAccountClientConfig

Configuration options including chain, wallet/wagmi, and Pimlico credentials.

Returns

Promise<PimlicoSmartAccountClientResult>

Promise resolving to { account, bundlerClient, publicClient, paymasterClient }.

Last updated on