createSimpleAccount abstract method

Future createSimpleAccount(
  1. Uint256 salt,
  2. {int? index}
)

Creates a new wallet address using counterfactual deployment.

This method generates a new wallet address based on the provided salt value. The wallet may not actually be deployed, and deployed should be used to check deployment status. An initCode will be attached on the first transaction.

  • salt: The salt for the wallet.
  • index: The index of the wallet (optional).

Implementation

Future createSimpleAccount(Uint256 salt, {int? index});