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


Fil Madrid: A collaboration between Zondax and Filecoin Foundation

Zondax and Filecoin Foundation's event in Madrid drew blockchain enthusiasts to explore Filecoin's technology and the future of web3


How to Simplify Your Node Management with ICP Push Metrics: An Interview

Zondax engineer Raul introduces ICP Push Metrics, a project simplifying ICP node management by enabling nodes to push metrics securely without firewall changes. Learn how this innovation improves security and efficiency, and explore its potential impact on the ICP developer community.


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


6728df3b0cbb3e00aac14e14

News

November 4, 2024

Experiencing LaBitConf: An evening of Crypto, and the Argentinian Community

LaBitConf set the stage for our side event with Filecoin Orbit at Crypster Club. Nearly 50 attendees enjoyed Web3 talks, games, and Argentine treats like fernet and medialunas. Insights from Filecoin and Zondax made it memorable.

67a0866b96ac8500ab5a3db6

February 6, 2025

How Beryx is Elevating the Filecoin Ecosystem

Beryx by Zondax enhances the Filecoin ecosystem with a powerful explorer, developer tools, real-time data API, gas estimation, and a testnet faucet—empowering seamless blockchain interactions.

67920fb10ffce200aae623b0

Integration

January 27, 2025

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.

How Beryx is Elevating the Filecoin Ecosystem

Beryx by Zondax enhances the Filecoin ecosystem with a powerful explorer, developer tools, real-time data API, gas estimation, and a testnet faucet—empowering seamless blockchain interactions.

67a0866b96ac8500ab5a3db6

Integration

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.

67920fb10ffce200aae623b0