Set up the LEDGER device and install the Concordium Governance LEDGER App#

Warning

The steps here are only for members of the governance committee. If you are not a member of the governance committee, see Install the Concordium LEDGER app using LEDGER Live for instructions on how to install.

See also

To read about the latest changes, see the changelog.

To be able to sign and send transactions using the Desktop Wallet, you need a LEDGER hardware wallet, and you need to install the Concordium LEDGER Application on the LEDGER device. You can use Windows, macOS or Ubuntu to install the app.

Note

Only Ledger Nano S/S+ is currently supported.

Prerequisites#

  • LEDGER hardware wallet

Warning

During the process described in this guide, you’ll generate private keys on the LEDGER device, and you’ll receive a 24-word recovery phrase. This is the only backup of your private keys. Make sure that you store it securely.

Set up the LEDGER device#

The LEDGER device will generate the unique 24-word recovery phrase that is used to derive your private keys.

  1. Download and install Ledger Live. For information on how to do this, see Ledger’s documentation. You’ll only need Ledger Live when you set up the LEDGER device and update the firmware.

  2. Open Ledger Live, select Get started, and then select Ledger device.

  3. Follow the on-screen setup instructions to set up your PIN code on the LEDGER device.

  4. Follow the on-screen instructions to get your 24-word recovery phrase.

Warning

Make sure that you write down the recovery phrase precisely as displayed and in the correct order. The recovery phrase is the only backup of your private keys.

Once you’ve set up the LEDGER device, you must check that it’s running the proper firmware version for your device. The Concordium LEDGER App currently supports LEDGER firmware version 2.1.0 for LEDGER NANO S.

Update the LEDGER device firmware#

To update the LEDGER device firmware, do the following:

  1. On the LEDGER device press both buttons for a little while until the Settings icon appears. Press both buttons to enter the Settings menu.

  2. Press both buttons on the General menu item.

  3. Press the right button to navigate to Firmware version.

  4. Press both buttons to view the Secure Element version.

    • If it says 2.1.0, you don’t have to update the firmware. If there’s a lower version number, you’ll have to update the firmware.

Note

For details on how to update the LEDGER firmware, see LEDGER NANO S PLUS guide.

Install Python and pip#

You need to install Python and pip to proceed with installing the Concordium LEDGER app. The installation steps depend on your operating system.

  1. In the Start menu, type store to open the Microsoft store.

  2. In Search, in the upper right corner, enter python.

  3. Select Python 3, and then select Install.

    Python is downloaded and installed automatically. Depending on the setup of your computer, you might see a message saying Python 3 just got installed.

  4. Restart your computer, and then confirm that Python and Pip were installed.

  5. In the Start menu, type PowerShell and select Windows PowerShell. The command-line window opens.

  6. To confirm that Python3 was installed, enter

    $python3 --version
    
  7. To confirm that the package manager named pip is installed, enter

    $pip --version
    
  8. To install ledgerblue, copy the following into the Terminal and press Enter:

    $pip install ledgerblue
    

Download Concordium Governance LEDGER app#

Once you have updated the firmware version, you can download the LEDGER app:

  1. Download the Concordium Governance LEDGER App for LEDGER Nano S

  2. Extract the files from the .zip folder to a folder on your computer.

Install the custom certificate (Nano S only)#

Note

If the certificate is already installed on the device, it should not be necessary to update this. If you’re a LEDGER Nano S+ user, you can also skip this section.

You need to install a custom certificate to ensure that the LEDGER device trusts applications signed by Concordium’s private key.

  1. Close all applications that might be connected to the LEDGER device such as LEDGER LIVE and Concordium Desktop Wallet and keep them closed until you’ve completed the steps in this guide.

  2. Disconnect the LEDGER device from your computer.

  3. Now you need to start recovery mode on the LEDGER device.

    • On the LEDGER device, press the left button and hold it down while you reconnect the LEDGER device to the computer. Navigate to Recovery mode and press both buttons to enter recovery mode.

  4. Enter your PIN code.

  5. Open the folder you extracted the files to and double-click the loadcertificate.bat file. If there’s a message saying Windows protected your PC, select More info, and then select Run anyway. A command-line window opens.

  6. The LEDGER device says Deny unsafe manager. Press the right button to navigate through the public key until the LEDGER device says Allow unsafe manager. Press both buttons. You can safely ignore the message in the command-line window saying Broken certificate chain - loading from user key. This is expected behavior.

  7. The LEDGER device says Certificate concordium. Press the right button to navigate through the key, while confirming that it is the following:

    • 04af7e6a68fa79b3f7a035a5cd75f916ee67c4a71fc990fe9ba2b2e1fb54dd7cdc950a73b5a4adf52ea95df16f5c17602090f639f0d35a760e34afae7cbd60792b

  8. Press both buttons when the LEDGER device says Trust certificate.

  9. Enter your PIN. The certificate has now been installed on the LEDGER device.

Install the Concordium Governance LEDGER app#

After installing the certificate, you can proceed to install the Concordium LEDGER app.

  1. In the folder that you extracted the files to, double-click the install.bat file. If there’s a message saying Windows protected your PC, select More info, and then select Run anyway.

  2. The LEDGER device says Deny unsafe manager. Press the right button to navigate through the public key until the LEDGER device says Allow unsafe manager. Press both buttons. The LEDGER device says Loading, please wait while it installs the app.

  3. The LEDGER device says Concordium. Press both buttons. The LEDGER device says Concordium is ready. You can now use the LEDGER device with the Desktop Wallet.

Update the Concordium LEDGER app#

For the app to work properly with the current version of the Desktop Wallet, make sure that you update to the latest version of the app.

Note

Before updating, verify that you have installed Python3, pip, and the Python tools for LEDGER (ledgerblue) before updating the app.

  1. Download the LEDGER app if you haven’t done so already.

  2. In the folder that you extracted the files to, double-click the install.bat file. If there’s a message saying Windows protected your PC, select More info, and then select Run anyway.

Note

If you get the error loadApp.py: error: unrecognized arguments: --apiLevel 1 this means that you have an older version of the Python tools for LEDGER (ledgerblue). To update, run $pip3 install ledgerblue --upgrade.

  1. The LEDGER device says Deny unsafe manager. Press the right button to navigate through the public key until the LEDGER device says Allow unsafe manager. Press both buttons.

  2. Before you can install the new version of the LEDGER app, you have to uninstall the old one. The LEDGER device says Uninstall Concordium. Press the right button to navigate through the identifier until the LEDGER device says Confirm action. Press both buttons to confirm. The LEDGER device says Loading, please wait while it installs the app.

  3. The LEDGER device says Concordium. Press both buttons. The LEDGER device says Concordium is ready. Press the left button to verify that you’ve installed the latest version of the LEDGER app.

Was this article helpful?