Blog

/

Exporting Keys from Substrate ...

Exporting Keys from Substrate apps in Ledger

December 20, 2022

1 min read

Security


The use of different algorithms can affect the use of the same mnemonic phrase in multiple wallets.

Even though most wallets generate a mnemonic phrase for users to back up their wallets and generate a private key from the mnemonic, not all wallets use the same algorithm tor this key generation process. This variety of  algorithms cause unexpected behavior when using the same mnemonic phrase in multiple wallets. Indeed, wallets that use different processes will arrive at a different set of addresses from the exact mnemonic phrase.

Ledger, the three-part system comprising a hardware device, the Ledger Live app, and a platform of integrated dApps, or better known as the the Most Secure self-custody option, uses a standard called BIP 39 for the generation and interpretation of the master seed on all of its' devices. BIP 39 is an industry standard used by many other hierarchical deterministic wallets. The exact type of BIP 39 seed used by Ledger devices by default is a 24-word mnemonic. Accounts generated by a Ledger device can be recovered on any (third-party) hardware or software wallet that supports the same standards as Ledger (BIP32/BIP39/BIP44).

It is important to understand that the same mnemonic may generate different private keys on other wallets due to the various cryptographic algorithms used. For example,  Subkey and Polkadot-JS based wallets use the BIP39 dictionary for mnemonic generation, but use the entropy byte array to generate the private key, while full BIP39 wallets (like Ledger) use 2048 rounds of PBKDF2 on the mnemonic. The above explains why users may have trouble exporting their keys from substrate based applications on the Ledger device. See Substrate BIP39 Repo for more information.

  • Instructions on how to export your accounts here (Ledger Developers Portal)


Read More


Zcash integration Guide

The new Zcash Shielded App is now available, but Ledger support is limited to a ZecWallet fork by Zondax.This guide details steps to integrate Ledger into wallets like Ledger Live, Zingo, YWallet, Zashi etc.


Zondax in the Ledger Ecosystem

Zondax, a Ledger partner, brings expertise in blockchain security. We develop & test Ledger apps, ensuring a user-friendly Web3 experience.


La nueva app de Polkadot: una experiencia ininterrumpida

Para desarrolladores y usuarios de Polkadot, las actualizaciones de runtime son un obstáculo conocido que interrumpe la funcionalidad de las aplicaciones y parachains, aunque son esenciales para la seguridad.

Other Articles


6681e7789baa5800aa6ee6cf

July 1, 2024

Curious about the Universal Polkadot app? Here's what you need to know

With the new Polkadot app coming soon, Zondax answers your top questions. This blog is your go-to guide for everything about the app and its exciting features.

66e22a1519115200a95ca27c

Integration

September 24, 2024

Spacemesh Is Live

The Spacemesh Ledger App is live! Manage your crypto with top-notch security, designed by Zondax, to keep your assets safe in the growing Spacemesh ecosystem.

66a7b04d183d7f00aa1afb83

July 29, 2024

Announcing Lotus v1.28.1: Elevating Filecoin to Network Version 23 (Waffle) 🧇

Filecoin's Lotus v1.28.1, codenamed Waffle, introduces Network Version 23, enhancing features and performance. Upgrade on 2024-08-06 at 12:00 UTC. Key updates include FIP improvements and Fast Finality.

Integration

Spacemesh Is Live

The Spacemesh Ledger App is live! Manage your crypto with top-notch security, designed by Zondax, to keep your assets safe in the growing Spacemesh ecosystem.

66e22a1519115200a95ca27c
Announcing Lotus v1.28.1: Elevating Filecoin to Network Version 23 (Waffle) 🧇

Filecoin's Lotus v1.28.1, codenamed Waffle, introduces Network Version 23, enhancing features and performance. Upgrade on 2024-08-06 at 12:00 UTC. Key updates include FIP improvements and Fast Finality.

66a7b04d183d7f00aa1afb83