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


New on Ledger: Iron Fish Is Live

Wrapping up the year with exciting news: the Iron Fish Ledger App and Iron Fish DKG (dev mode) are here! Securely manage tokens on Ledger devices with ease.


Filecoin Network v27 “Golden Week” Upgrade: Here's What to Expect

Get ready for Filecoin’s next step forward: NV27 “Golden Week”. Going live Sept 24, it strengthens miner security, streamlines sector operations, and improves developer tools. Upgrade to Lotus v1.34.0 today.


Filecoin Upgrade v22: Dragon

Lotus v1.26.2 introduces the Filecoin upgrade v22, Dragon, enhancing ecosystem efficiency and security. It adds Direct Data Onboarding and Actor events, setting new blockchain standards.

Other Articles


675b04ec9b5f2900aab84649

Integration

December 12, 2024

New on Ledger: Iron Fish Is Live

Wrapping up the year with exciting news: the Iron Fish Ledger App and Iron Fish DKG (dev mode) are here! Securely manage tokens on Ledger devices with ease.

68c961bc4b433a00a9b423b7

News

September 16, 2025

Filecoin Network v27 “Golden Week” Upgrade: Here's What to Expect

Get ready for Filecoin’s next step forward: NV27 “Golden Week”. Going live Sept 24, it strengthens miner security, streamlines sector operations, and improves developer tools. Upgrade to Lotus v1.34.0 today.

6615939abb73d300a861585e

Protocol

April 15, 2024

Filecoin Upgrade v22: Dragon

Lotus v1.26.2 introduces the Filecoin upgrade v22, Dragon, enhancing ecosystem efficiency and security. It adds Direct Data Onboarding and Actor events, setting new blockchain standards.

News

Filecoin Network v27 “Golden Week” Upgrade: Here's What to Expect

Get ready for Filecoin’s next step forward: NV27 “Golden Week”. Going live Sept 24, it strengthens miner security, streamlines sector operations, and improves developer tools. Upgrade to Lotus v1.34.0 today.

68c961bc4b433a00a9b423b7

Protocol

Filecoin Upgrade v22: Dragon

Lotus v1.26.2 introduces the Filecoin upgrade v22, Dragon, enhancing ecosystem efficiency and security. It adds Direct Data Onboarding and Actor events, setting new blockchain standards.

6615939abb73d300a861585e