Recover Solana Funds
Transfer Solana currency to another wallet.
Since Fordefi generates keys using MPC, EdDSA keys are derived in a non-standard way, therefore they cannot be uploaded to regular wallets such as Phantom wallet. Fordefi overcomes this limitation by providing a command with the included recovery-tool
that enables you to move funds out of your wallets using the keys.
SOL tokens
To transfer SOL token, use the following command (example):
./recovery-tool transfer -t sol \
--private-hex 0973dfc5d554a08cc04bca048984ab32eb5a051ab8f7985c1dd8013525a83274 \
--to-address 6zotBC22rTMBxs8zyMfWFnU9ZBEKj3CLwSoLqrvkgJe4 \
--amount 1000000
Options
private-hex
: The private key that was recovered, in hex format.to-address
: The address to which to send the funds (base58).amount
: The amount to transfer (lamports units).
SPL tokens
To transfer SPL token, use the following command (example):
./recovery-tool transfer -t spl \
--private-hex 0973dfc5d554a08cc04bca048984ab32eb5a051ab8f7985c1dd8013525a83274 \
--to-address 6zotBC22rTMBxs8zyMfWFnU9ZBEKj3CLwSoLqrvkgJe4 \
--token-address CQGRpRyVATo92A3otgMhumVFGwbf2f5sWun2y7F99BBa \
--amount 1000000
Options
private-hex
: The private key that was recovered, in hex format.to-address
: The address to which to send the funds (base58).token-address
: The address of the token.amount
: The amount to transfer (token base units).
Transfer SPL tokens first
Fordefi strongly suggests you transfer SPL tokens first and then the native currency. The reason is that native currency is required for an account's rent and transfer fees. If you transfer native currency first, you will not be able to transfer the tokens.
Updated 10 months ago