Recover TON Funds
Transfer TON funds 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 Tonkeeper 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.
TON coins
To transfer TON coin, use the following command (example):
./recovery-tool ton-transfer -t ton \
--private-hex 0973dfc5d554a08cc04bca048984ab32eb5a051ab8f7985c1dd8013525a83274 \
--to-address EQCmoO8NZzjqqYxdwGQsmCIX5QtLhOT5RM0D32QzDJPknm_F \
--amount 1000000
Options
private-hex
: The private key that was recovered, in hex format.to-address
: The address to which to send the funds in user-friendly format.amount
: The amount to transfer (nano tons units).
Jettons
To transfer Jetton, use the following command (example):
./recovery-tool ton-transfer -t jetton \
--private-hex 0973dfc5d554a08cc04bca048984ab32eb5a051ab8f7985c1dd8013525a83274 \
--to-address 6zotBC22rTMBxs8zyMfWFnU9ZBEKj3CLwSoLqrvkgJe4 \
--amount 1000000 \
--jetton-address 0:b7e4c48cf080f694bfba88872ced59222631963fe2ac4a953328b796d78bd855 \
--decimals 9
Options
private-hex
: The private key that was recovered, in hex format.to-address
: The address to which to send the funds in user friendly format.amount
: The amount to transfer (token base units).jetton-address
: The address of the jetton master, in raw format.decimals
: The decimals of the jetton token.
Raw transaction
It’s possible to also create your own transaction payload by using the following command (example):
./recovery-tool raw-transaction \
--private-hex 0973dfc5d554a08cc04bca048984ab32eb5a051ab8f7985c1dd8013525a83274 \
--to-address 6zotBC22rTMBxs8zyMfWFnU9ZBEKj3CLwSoLqrvkgJe4 \
--amount 1000000 \
--payload SGVsbG8sIEJhc2U2NCE=
Options
private-hex
: The private key that was recovered, in hex format.to-address
: The address to which to send the funds in user friendly format.amount
: The ton coin amount to attach to the transaction.payload
: The payload of the transaction in base64 format string.
Transfer TON coins first
Fordefi strongly suggests you transfer Jetton tokens first and then the native currency. The reason is that native currency is required for contract’s fees. If you transfer native currency first, you might not be able to transfer the tokens. Also, please make sure the destination address had enough native coins to cover for the fees.
Updated 4 days ago