|Ledger has now added support for directly installing and managing the Ravencoin app from within the Ledger Live Manager. The instructions below are no longer necessary.
New instructions for installing and using the Ravencoin app on a Ledger Nano S or Nano X can be found at https://ravencoin.org/ledger.
Introduction: Electrum and Ledger support for Ravencoin
This guide takes you through the steps to get Electrum and Ledger support for Ravencoin. You will need to download and install the Ravencoin sofware for Electrum and Ledger, and install Python software dependencies to make your Ledger accept Ravencoin. Ravencoin Electrum and Ledger support is developed by Traysi in collaboration with Standard-error, and funded by brian112358 / brianmct.
Instructions for Windows
Step 0: It is a requirement that you have the Bitcoin app installed on your ledger. The Ravencoin app requires the Bitcoin app to also be present. Use Ledger Live to install Bitcoin to your hardware before proceeding.
Installing Ravencoin Electrum
Step 1: Download and install the Electrum binary for Ravencoin. For Windows, choose the "-setup.exe" version. Windows Defender may complain. You'll have to add an exception and tell it to run anyway.
Installing Ravencoin Ledger software
Step 2: Download and install WinPython.
Step 3: Download the file for Ravencoin. Right click the file and choose to save. If you can't do that, download it, and rename it as app.hex (your PC might try to call it something like app.hex.txt)
Save the file to:
\Users\USERNAME\Downloads\WPy-3662\scripts That folder was created by the WinPython installation that happened in the previous step. If it's not there, please find it on your system. If you installed a version other than 18.104.22.168 the folder name will be slightly changed.
Step 4: Open a command prompt (type
cmd in the Windows search bar and press enter)
Step 5: In the command prompt type in:
cd \Users\USERNAME\Downloads\WPy-3662\scripts to move to the WinPython download directory.
Step 6: In the command prompt type in:
env.bat and then
pip install ledgerblue to install the Ledger Python libraries. This should get you to version 0.1.23 or better of ledgerblue. That version is required.
Setting up your Ledger to accept Ravencoin
Step 7: Plug in and unlock your Ledger. You must be running the latest 1.6.0 firmware.
Step 8: In the command prompt, make sure you are still in
\Users\USERNAME\Downloads\WPy-3670\scripts, and type in:
python -m ledgerblue.loadApp --curve secp256k1 --tlv --targetId 0x31100004 --targetVersion="1.6.0" --delete --fileName app.hex --appName "Ravencoin" --appVersion 1.3.17 --icon 010000000000ffffffffffffffffff1ffc0ff80fe107c0078003f003f807f81ffc3ffcfffcffffffff --appFlags 0x250 --dep Bitcoin:1.3.17
Step 9: Follow the prompts on your hardware Ledger to allow the installation. Once it's done, you should see a Ravencoin app in the list of apps on the Ledger.
Step 10: Open Ravencoin on your hardware Ledger.
Step 11: On your Windows desktop you will see that an Electrum-RVN icon has appeared. Open the program and go through the initial setup steps. When you get to the part where you can "Choose a hardware wallet" pick that option and go from there. If it can't see the Ledger, make sure you have your Ravencoin app running on it. You can accept the defaults for everything else, once it sees the Ledger.
Your coins are now safe on your Ledger. You can always recover them from another Electrum instance or any other BIP39 wallet by simply using the seed words from your Ledger.
If you ever want to remove the Ravencoin app from your Ledger, do it with:
python -m ledgerblue.deleteApp --appName "Ravencoin" --targetId 0x31100004
A word about derivation paths
When you access Electrum with your Ledger, it may ask you for a path. m/44'/175'/0' is correct, but m/44'/175'/175' was the path from the original codebase. If you ever have a situation where you can't see your coins, try this path.