pub async fn get_account_contract_address(
account_contract: &dyn AccountContract,
secret: Fr,
salt: impl Into<Fr>,
) -> Result<AztecAddress, Error>Expand description
Computes the address of an account contract before deployment.
This derives keys from secret, gets the contract artifact and initialization spec,
then computes the deterministic address using salt and derived public keys.
Uses the same shared instance-construction path as deployment to avoid duplicating class-id / init-hash / address derivation logic.