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


Improving Cryptography Across the Cosmos Ecosystem with the New CryptoProvider Interface

Future-proof your Cosmos SDK with CryptoProvider: versatile cryptography, HSM support, modular design, and seamless integration for top-notch security.


Making the Most Out of the Beryx API: Your Ally for Filecoin Development

For over a year, Zondax has developed the Beryx Explorer and API. With over 90 endpoints, it streamlines interactions with the FVM and FEVM.


Unlocking Your Zcash: A Step-by-Step Guide to Using the Zcash Shielded App on Ledger

Unlock and manage your Zcash securely with the Zondax-developed Zcash Shielded App for Ledger. This step-by-step guide covers everything from setting up your environment to handling transactions, ensuring privacy and control. Dive into shielded Zcash today!

Other Articles


66d9fc069607af00aa91777d

Protocol

September 6, 2024

Improving Cryptography Across the Cosmos Ecosystem with the New CryptoProvider Interface

Future-proof your Cosmos SDK with CryptoProvider: versatile cryptography, HSM support, modular design, and seamless integration for top-notch security.

6710ee28526e0c00aab62892

October 17, 2024

Making the Most Out of the Beryx API: Your Ally for Filecoin Development

For over a year, Zondax has developed the Beryx Explorer and API. With over 90 endpoints, it streamlines interactions with the FVM and FEVM.

672934960cbb3e00aac14e38

November 4, 2024

Unlocking Your Zcash: A Step-by-Step Guide to Using the Zcash Shielded App on Ledger

Unlock and manage your Zcash securely with the Zondax-developed Zcash Shielded App for Ledger. This step-by-step guide covers everything from setting up your environment to handling transactions, ensuring privacy and control. Dive into shielded Zcash today!

Making the Most Out of the Beryx API: Your Ally for Filecoin Development

For over a year, Zondax has developed the Beryx Explorer and API. With over 90 endpoints, it streamlines interactions with the FVM and FEVM.

6710ee28526e0c00aab62892
Unlocking Your Zcash: A Step-by-Step Guide to Using the Zcash Shielded App on Ledger

Unlock and manage your Zcash securely with the Zondax-developed Zcash Shielded App for Ledger. This step-by-step guide covers everything from setting up your environment to handling transactions, ensuring privacy and control. Dive into shielded Zcash today!

672934960cbb3e00aac14e38