# Recover XRP Ledger Funds

Transfer XRP and other XRP Ledger assets to another wallet.

Since Fordefi generates keys using MPC, recovered keys may not be directly
compatible with standard XRP Ledger wallets. Fordefi overcomes this limitation
by providing a command with the included
[Recovery Tool](/user-guide/backup-and-recover-private-keys/recovery/recover-private-keys) that enables you to move
funds out of your wallets using the keys.

## Trust Line Assets

To transfer a Trust Line Asset, use the following command (example):

```bash
./recovery-tool xrp-transfer --asset-type trust_line_token \
    --private-hex 0973dfc5d554a08cc04bca048984ab32eb5a051ab8f7985c1dd8013525a83274 \
    --to-address rEXAMPLE2222222222222222222222222 \
    --amount 100 \
    --currency-code USD \
    --issuer rEXAMPLE1111111111111111111111111
```

**Options**

- `private-hex`: The private key that was recovered, in hex format.
- `to-address`: The destination XRP Ledger address (starts with `r`).
- `currency-code`: The asset's currency code (for example, `USD`).
- `issuer`: The asset issuer's XRP Ledger address (starts with `r`).
- `amount`: The amount to transfer, as the asset's literal decimal value.


The destination account must already have a trust line for the asset; the
recovery tool does not establish one on the recipient's behalf.

## Native XRP

To transfer native XRP, use the following command (example):

```bash
./recovery-tool xrp-transfer --asset-type native \
    --private-hex 0973dfc5d554a08cc04bca048984ab32eb5a051ab8f7985c1dd8013525a83274 \
    --to-address rEXAMPLE2222222222222222222222222 \
    --amount 10000000
```

**Options**

- `private-hex`: The private key that was recovered, in hex format.
- `to-address`: The destination XRP Ledger address (starts with `r`).
- `amount`: The amount to transfer, in drops (1 XRP = 1,000,000 drops).


Fordefi strongly suggests you transfer Trust Line Assets first, and then
native XRP last. Native XRP is required to pay transaction fees and to
maintain the account's reserve, so transferring it out first may leave you
unable to complete the remaining transfers.