initKeyRecoveryExecution
initKeyRecoveryExecution(
provider,originalMxeProgramId,backupMxeProgramId):Promise<string>
Initializes key recovery execution by creating the MxeRecoveryAccount and registering the key_recovery_final computation definition on the backup MXE. This is split into two parts due to Solana's 10KB per-instruction allocation limit.
Parameters
| Parameter | Type | Description |
|---|---|---|
provider | AnchorProvider | The Anchor provider to use for transactions. |
originalMxeProgramId | PublicKey | The public key of the original MXE program being recovered. |
backupMxeProgramId | PublicKey | The public key of the backup MXE program that will take over. |
Returns
Promise<string>
The transaction signature from part2.