Recover Aptos Funds
Since Fordefi generates keys using MPC, EdDSA keys are derived in a non-standard way, and can therefore not be uploaded to regular wallets such as Petra wallet. Fordefi overcomes this limitation by providing a command with the included recovery-tool
that enables you to rotate the private keys of your wallets using the keys.
To begin, first generate a new private key that will be the new owner of your wallet, for example, using the Aptos CLI tool, run the command aptos key generate --output-file new_key
and then inspect the content of the new_key
file to see your new private key.
Now, to rotate the keys (that is, giving control over your Fordefi wallet to the newly created private key), use the following command (example):
./recovery-tool aptos-rotate-keys --private-hex 0973dfc5d554a08cc04bca048984ab32eb5a051ab8f7985c1dd8013525a83274 \
--new-private-hex 6D3AB793C5701C0D1B60F07D87F7E9AFA2A6C80D8FF85A86A0C9454E59B89CE2
This will sign and push an on-chain transaction, rotating the private key owning the vault.
You can now create and sign transaction using the Aptos CLI tool, or for example, by uploading your new private key to the Petra wallet. In Petra, go to Settings > Switch Account > Add Account > Import private key, and insert your new private key. After clicking Submit, you will see your recovered Fordefi address in your Petra wallet.
Updated 4 months ago