Subvalidators
Subvalidators are the validator modules that are used under the hood to validate the signature. Any ERC-7579 validator module can serve as a subvalidator. Subvalidator ID is the index of the validator in the validator list. For example, if you installed the ECDSA and the passkey modules as subvalidators, the ECDSA validator will have index 0 and the passkey validator will have index 1.Module selection
There are two MFA validator modules: the registry-free one and the legacy one, which is the SDK default. The legacy module checks the ERC-7484 registry on installation, so installing it on a new account reverts. Select the registry-free module explicitly withMULTI_FACTOR_VALIDATOR_V2_ADDRESS.
The selection is not inherited from the account config, so repeat it in the explicit signer selection as well. Otherwise the signature is routed to the legacy module.
Initialization
To create an account with MFA:Usage
Signer Selection
Management
Adding a validator
You can also use this to update the config of the existing subvalidator.