source.token, which it then requires. A deployment that runs as a
UserOperation takes neither. The example requires a viem base chain,
integrator sponsorship for the first call, and an account funded with
usdcOnBase (the chain’s USDC address) to cover fees for the unsponsored
alternative. Choose one deployment mode, not both sequentially.
Awaiting a UserOperation receipt does not guarantee successful execution;
verify onchain deployment if that path is used.
Method on an account instance returned by createAccount. Requires a managed EVM account; unavailable on receiver-only and standalone Solana accounts.
Usage
Parameters
'evm'
required
'evm'Chain
required
Chain to deploy the account on
EvmDeployOptions
Optional sponsorship, and the token an unsponsored deployment pays in
Returns
boolean
true after awaiting deployment execution, false when already deployed