Safety: Never type or paste a real recovery phrase into a website, chat, or any tool you do not fully control and trust. Seed values quoted below are official test data from the substrate-bip39 library, generated with the library's test password.
A Polkadot or other Substrate account can start from a 12- or 24-word English phrase and still not be a standard BIP39 wallet. Official documentation on Advanced Polkadot Accounts puts the distinction plainly: Subkey and Polkadot-JS based wallets use the BIP39 dictionary to generate a mnemonic, but they use the entropy byte array to generate the private key. Full BIP39 wallets, the same page says, including Ledger, use 2048 rounds of PBKDF2 on the mnemonic sentence itself.
The same words can therefore open one account in Polkadot-JS and a different account in a device or app that runs ordinary BIP39. Portability depends on the mnemonic format, the seed derivation, the derivation path, and the signature scheme, not on the wordlist alone.
Deriving a secret from entropy
The library official documentation points to is substrate-bip39. Its seed_from_entropy function takes the BIP39 entropy bytes and a password string. It runs PBKDF2-HMAC-SHA512 with 2048 iterations. The salt is "mnemonic" followed by the password. The output is a 64-byte seed. mini_secret_from_entropy then takes the first 32 bytes of that seed as a Schnorrkel MiniSecretKey.
That looks almost like BIP39 — same hash, same iteration count, same "mnemonic" salt prefix — except the PBKDF2 input is the raw entropy, not the Unicode mnemonic sentence. BIP39 hashes the NFKD-normalized words (and an optional passphrase). Substrate hashes the entropy bytes those words decode to. The two results are not the same.
The password argument is, in the library's own words, analog to BIP39 seed generation, and an empty string is the default. This page does not map that parameter onto any particular wallet's UI field. If a wallet asks for a password when it creates or restores a phrase, use that wallet's own documentation rather than guessing that it matches substrate-bip39 or BIP39.
Accepted entropy lengths in the library are the usual BIP39 sizes: 16, 20, 24, 28, or 32 bytes, corresponding to 12, 15, 18, 21, or 24 words.
Official library test vector
Public test vector, never use for funds.
phrase: abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about
password: Substrate
seed_from_entropy: 44e9d125f037ac1d51f0a7d3649689d422c2af8b1ec8e00d71db4d7bf6d127e33f50c3d5c84fa3e5399c72d6cbbbbc4a49bf76f76d952f479d74655a2ef2d453
The MiniSecretKey is the first 32 bytes of that seed. A BIP39 wallet that instead ran PBKDF2 on the sentence, even with the same password string, would not arrive at this value. Do not paste a real phrase into a converter to "check."
Derivation paths
If you want several accounts from one seed, Polkadot tools use derivation paths. Official documentation describes two junction types. A hard derivation is written with // after the mnemonic or after a previous junction, for example //0. A soft derivation is written with a single /, for example /0.
A soft derivation can, in the documentation's terms, potentially allow someone who knows a derived private key to work backward toward the parent, and it can show that two accounts came from the same seed. A hard derivation does not allow either of those. Unless you have a specific need for a soft path, official documentation recommends a hard derivation.
Paths can be numbers or other letters and numbers that make sense to you. Examples given in the official account documentation include combining several junctions, such as //bill//account//1. To recreate a derived account you need both the seed and the exact path, so the same page suggests a well-defined sequence such as //0, //1, //2, or writing down any path you invent.
This syntax is not a BIP44 path. Ledger, per the same official comparison table, uses BIP39, a BIP44 path, and BIP32-Ed25519. A phrase used on a Ledger Polkadot account is not guaranteed to match a Polkadot-JS account derived with //0 from the same words.
Common Substrate signature schemes include sr25519, ed25519, and secp256k1. Which scheme a wallet used is another restore variable, independent of the words.
SS58 addresses
The address format used on Substrate-based chains is SS58, documented on the same Advanced Polkadot Accounts page. It is a modification of Bitcoin's Base58Check that includes a network prefix. Official examples:
- Polkadot addresses start with
1(prefix 0). - Kusama addresses start with a capital letter such as C, D, E, F, G, H, or J (prefix 2).
- Generic Substrate addresses start with
5(prefix 42).
Those prefixes are different encodings of the same public key. A single account can be used on most Substrate-based chains; only the address representation changes. The identicon stays the same, which official docs recommend as a way to confirm that two differently formatted addresses belong together. The trade-off is also stated there: if the mnemonic is compromised, funds on every chain that reused the key are at risk.
FAQ
The words look like BIP39. Why did another wallet show a different address? Subkey and Polkadot-JS derive from entropy. A full BIP39 wallet derives from the sentence. Official docs call out Ledger as an example of the second group.
Is the password in substrate-bip39 a BIP39 passphrase? It is analogous in role — it is concatenated after "mnemonic" as the PBKDF2 salt — but the PBKDF2 input is still entropy, not the sentence. Do not assume a wallet's password field is this parameter without that wallet's docs.
What does //0 mean? In official Polkadot documentation, // starts a hard junction and / starts a soft one. //0 is a hard-derived child. It is not m/44'/....
Can I use one phrase on Polkadot and Kusama? Yes, in the sense that SS58 formats are different representations of the same public key. Confirm with the identicon, and remember that one compromised phrase then affects both networks.
See also
- Other seeds and derivation schemes
- Cardano, which also derives a master key from entropy rather than the BIP39 sentence
- BIP39 passphrase
- BIP44