Arcium LogoArcium TS SDK Docs

initKeyRecoveryExecution

initKeyRecoveryExecution(provider, originalMxeProgramId, backupMxeProgramId, confirmOptions?): Promise<string>

Initialize 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

ParameterTypeDescription
providerAnchorProviderAnchor provider to use for transactions.
originalMxeProgramIdPublicKeyPublic key of the original MXE program being recovered.
backupMxeProgramIdPublicKeyPublic key of the backup MXE program that will take over.
confirmOptions?ConfirmOptionsTransaction confirmation options.

Returns

Promise<string>

Transaction signature from part2.

On this page