Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

"Well Known Keys" should mention Dev Seed #613

Closed
shawntabrizi opened this issue Aug 3, 2020 · 1 comment
Closed

"Well Known Keys" should mention Dev Seed #613

shawntabrizi opened this issue Aug 3, 2020 · 1 comment

Comments

@shawntabrizi
Copy link
Contributor

The section in the dev hub mentions well known accounts like //Alice, but does not mention that there is some underlying magic happening to generate the final private key for these accounts.

https://substrate.dev/docs/en/knowledgebase/integrate/subkey#well-known-keys

Specifically there is a dev phrase used whenever a mnemonic phrase is omitted:

https://github.com/paritytech/substrate/blob/293bcd6059f1e4e3dd95aa64989dadef4234222d/primitives/core/src/crypto.rs#L52

so //Alice is really:

bottom drive obey lake curtain smoke basket hold race lonely fit walk//Alice

And anyone not using Polkadot JS or Subkey would need to know this information to properly generate the account.

This information should be added to this section.

@wheresaddie
Copy link
Contributor

Super appreciate this, adding now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants