Configure MFA
Use the registry-free MFA module for a new account. The default legacy MFA module checks the ERC-7484 registry during installation and cannot be installed on a fresh account.validators: the ECDSA configuration above has ID 0, and the passkey configuration has ID 1. Use those IDs when you explicitly select MFA signers for a transaction. If you provide an explicit signer selection, repeat module: MULTI_FACTOR_VALIDATOR_V2_ADDRESS there so the signature targets the installed module.
Manage MFA
Pass the V2 module address to every MFA management action. In SDK 2.16.1 these actions otherwise default to the legacy module, which is not the module installed above.setSubValidator, removeSubValidator, and changeThreshold.
Test recovery and factor replacement before using a threshold that can lock the account if one factor is lost.