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


All-In-One Polkadot App Is Here!

The new Polkadot app streamlines runtime upgrades, minimizing disruptions. It unifies parachains and the relay chain, enhancing functionality and security for developers and users.


ETH Mexico 2024: A Night of Blockchain, Pizza, and Good Vibes

Teaming up with Filecoin Foundation, Zondax hosted an event as Orbit Ambassadors. 30+ attendees discussed Filecoin, Polkadot, Ledger, and the Mexican blockchain scene.


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.

Other Articles


667e82169baa5800aa6ee6a2

June 28, 2024

Todas en una: La nueva app de Polkadot

La nueva aplicación Polkadot gestiona fácilmente la red Polkadot, incluyendo parachains y relay chain, con actualizaciones. Creada por peticiones de la comunidad, centraliza el control y añade nuevas características sin perder seguridad.

67bcfc1dbb8a4b00a99b1fc5

February 24, 2025

Beyond the Main Stage: ETH Denver Side Event Picks

ETHDenver side events decoded! Find the hidden gems: ZK talks, fun runs, & networking. Make the most of your trip

66156d53bb73d300a8615839

Protocol

April 9, 2024

The Evolution of Transaction Signing in Cosmos: Introducing Sign Mode Textual

Sign Mode Textual introduces a secure, user-friendly method for transaction signing with hardware devices, advancing efficiency and security in the Cosmos SDK.

Beyond the Main Stage: ETH Denver Side Event Picks

ETHDenver side events decoded! Find the hidden gems: ZK talks, fun runs, & networking. Make the most of your trip

67bcfc1dbb8a4b00a99b1fc5

Protocol

The Evolution of Transaction Signing in Cosmos: Introducing Sign Mode Textual

Sign Mode Textual introduces a secure, user-friendly method for transaction signing with hardware devices, advancing efficiency and security in the Cosmos SDK.

66156d53bb73d300a8615839