The following aims to be a concise guide of what you need to get your hardware wallet working with Electrum.
If you use the AppImage, that already has all the dependencies and Python libraries bundled with it, so skip the first two steps.
Currently all hardware wallets depend on hidapi
, to be able to build
that, you need:
ubuntu:
sudo apt-get install libusb-1.0-0-dev libudev-dev
fedora:
sudo dnf install libusb-devel systemd-devel
(Package names may be different for other distributions.)
Then depending on the device you have, you need a python package (typically a library by the manufacturer):
python3 -m pip install trezor[hidapi]
For more details, refer to python-trezor.
python3 -m pip install btchip-python
For more details, refer to btchip-python.
python3 -m pip install keepkey
For more details, refer to python-keepkey.
The Digital Bitbox only needs hidapi
.
python3 -m pip install hidapi
python3 -m pip install safet
For more details, refer to python-safet.
python3 -m pip install ckcc-protocol
For more details, refer to ckcc-protocol.
You will need to configure udev rules:
See TREZOR User Manual: Configuration of udev rules
See Ledger Support Center: What to do if my Ledger Nano S is not recognized on Windows and/ or Linux?
See KeepKey Support Desk: KeepKey wallet is not being recognized by Linux
See Bitbox | Linux
See this file in their GitHub repository.
See this file in their GitHub repository.
(It should go into /etc/udev/rules.d/51-coinkite.rules
or /usr/lib/udev/rules.d/51-coinkite.rules
)
To apply the changes, reload udev rules (or reboot):
sudo udevadm control --reload-rules && sudo udevadm trigger
That’s it! Electrum should now detect your device.