# Ledger wallet support

Lotus supports using a Ledger hardware wallet as a backend for FIL transfers.. To setup your Ledger device and Lotus follow the steps below.

# Setup your ledger device

  1. Obtain a Ledger Nano S/X device (opens new window).

  2. Install Ledger Live (opens new window) and follow the instructions to setup your device. In Linux systems, make sure you have added the necessary udev rules as explained here (opens new window).

  3. Enable developer mode in the Ledger live settings:

    ledger-enable-dev-mode

  4. You should now be able to search and install the Filecoin app in the manager section of the application.

# Setup Lotus

  1. In the Lotus configuration (~/.lotus/config.toml), add or edit the [Wallet] section as follows:

    [Wallet]
      EnableLedger = true
    
  2. Unlock your Ledger device, open the Filecoin app in your Ledger device and keep it connected to your USB port.

  3. Create a ledger-backed wallet in Lotus with:

    lotus wallet new secp256k1-ledger
    

    You will have to confirm creation on your Ledger device.

    TIP

    lotus wallet new secp256k1-ledger will provide a new Ledger-backed key every time when called. When called on a different Lotus node, or in one that has been reset, the same keys will be generated as they are based in the Ledger device master key.

  4. From this point, any FIL send operation from a Ledger wallet will have to be approved (signed) on the Ledger device. Make sure it is connected, unlocked, and running the Filecoin app then.

TIP

The lotus-shed application provides additional Ledger functionality, like listing the keys in the device and providing information about them.