From Ravencoin Wiki
Jump to: navigation, search

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 binaries for Ravencoin. 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 Ledger app.hex 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 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.

Setting up your Ledger to accept Ravencoin

Step 7: Plug in and unlock your Ledger.

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 --appFlags 0x40 --apdu --tlv --targetId 0x31100003 --delete --fileName app.hex --appName "Ravencoin" --appVersion 1.3.2 --dataSize 0x00000000 --icon 0100000000ffffff00ffffffffffff1ffc0ff80fe107c0078003f003f807f81ffc3ffcfffcffffffff

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.

Final steps

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 0x31100003