“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 same mnemonic may generate different private keys on other wallets due to the various cryptographic algorithms used.” - https://wiki.polkadot.network/docs/learn-accounts#derivation-paths
The default derivation path for polkadot.js is ///
. This derivation path will derive keys via the hard derivation method as opposed to the soft method. You can test this out by going to here > advanced and adding on ///
to the path, this will generate the same key as the one originally shown. Note that this is quite different to a typical derivation path which looks more like this: m/44’/60’/0’/0
.
If a user wishes to add a passphrase to their derivation they would simply append