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


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.


Introducing Namadexer: The Indexer for Privacy Blockchain Namada

Namadexer, designed by Zondax for Namada, addresses non-searchable on-chain data issues. It aids the Shielded Expedition community, a project with Heliax.


Kadena Upgraded on Ledger: Secure Your Assets with Confidence

Kadena's Ledger App upgrade is live! Zondax, with 50+ apps, delivers top-tier security. A robust partnership for seamless, secure crypto asset management.

Other Articles


671229ce526e0c00aab628bb

News

October 21, 2024

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.

66bba16af7336500a9de1223

August 13, 2024

Buenos Aires, Blockchain And Beers: An evening with Zondax and Filecoin Foundation

Zondax hosted a lively event in Buenos Aires, uniting blockchain communities over pizza, beer, and local treats, while showcasing Filecoin and Beryx.

65e774c1de14c600a846ed6a

News

March 6, 2024

All in one: The new Polkadot app

The new Polkadot Ledger app is designed to easily manage different parts of the Polkadot network, like parachains and relay chain, even when there are updates. It was made as a result of community requests, and it brings together control of the network into one easy-to-use app. It's made to add new features without losing security. We found out that to make something really secure, we had to make changes on the node. Several alternatives were analyzed and each has advantages and disadvantages.

Buenos Aires, Blockchain And Beers: An evening with Zondax and Filecoin Foundation

Zondax hosted a lively event in Buenos Aires, uniting blockchain communities over pizza, beer, and local treats, while showcasing Filecoin and Beryx.

66bba16af7336500a9de1223

News

All in one: The new Polkadot app

The new Polkadot Ledger app is designed to easily manage different parts of the Polkadot network, like parachains and relay chain, even when there are updates. It was made as a result of community requests, and it brings together control of the network into one easy-to-use app. It's made to add new features without losing security. We found out that to make something really secure, we had to make changes on the node. Several alternatives were analyzed and each has advantages and disadvantages.

65e774c1de14c600a846ed6a