Changes

From Ravencoin Wiki
Jump to navigationJump to search
1,794 bytes added ,  20:28, 6 March 2020
no edit summary
 
{| class="wikitable"
! Important Notice
|-
| 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 necessary Ravencoin sofware for Electrum and Ledger, and install Python software dependencies, set up some scripts and to make your Ledger to make it accept Ravencoin. Ravencoin Electrum and Ledger support is developed by [https://github.com/traysi/ Traysi] in collaboration with [https://github.com/standard-error/ Standard-error], and funded by [https://github.com/brian112358 brian112358 / brianmct].
= Instructions for Windows =
== Installing Dependencies ==
'''Step 1:''' Download and install the [https://github.com/traysi/electrum-raven/releases/ 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.
'''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 [https://github.com/standard-error/electrum-raven/releases/ 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 [https://sourceforge.net/projects/winpython/files/WinPython_3.6/3.6.6.2/ WinPython]. Save  '''Step 3:''' Download the [https://github.com/Kryptoxic/ledger-app-rvn/releases/download/1.3.17/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 <code>\Users\USERNAME\Downloads\</code> folderPC might try to call it something like app.hex.txt)
'''Step 3:''' Download the [https://raw.githubusercontent.com/traysi/ledger-app-rvn/master/bin/app.hex Ledger app.hex file for Ravencoin]. Right click the file and choose to save. Save the file to: <code>\Users\USERNAME\Downloads\WPy-36703662\scripts</code>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 3.6.6.2 the folder name will be slightly changed.
== Setting up some scripts ==
'''Step 4:''' Open a command prompt (type <code>cmd</code> in the Windows search bar and press enter)
'''Step 5:''' In the command prompt type in: <code>cd \Users\USERNAME\Downloads\WPy-36703662\scripts</code> to move to the WinPython download directory.
'''Step 6:''' In the command prompt type in: <code>env.bat</code> and then <code>pip install ledgerblue</code> 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 type in (, make sure you are still in <code>\Users\USERNAME\Downloads\WPy-3670\scripts</code>), and type in: python -m ledgerblue.loadApp --appFlags 0x40 curve secp256k1 --apdu tlv --tlv targetId 0x31100004 --targetId 0x31100003 targetVersion="1.6.0" --delete --fileName app.hex --appName "Ravencoin" --appVersion 1.3.2 17 --icon 010000000000ffffffffffffffffff1ffc0ff80fe107c0078003f003f807f81ffc3ffcfffcffffffff --dataSize 0x00000000 appFlags 0x250 --icon 0100000000ffffff00ffffffffffff1ffc0ff80fe107c0078003f003f807f81ffc3ffcfffcffffffffdep 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.
== 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 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.
Write
3

edits

Navigation menu