From 22a8c697e0d9f1531565faf6c8068f1cdece9cf8 Mon Sep 17 00:00:00 2001 From: Filippo <110459737+filippoweb3@users.noreply.github.com> Date: Fri, 15 Dec 2023 16:18:17 +0100 Subject: [PATCH] Add info Account Derivation Vault (#5423) * added new section * added information * added banner with link * Update docs/learn/learn-account-advanced.md Co-authored-by: Bill Laboon * Update docs/learn/learn-account-advanced.md Co-authored-by: Bill Laboon * added Bill's feedback --------- Co-authored-by: Bill Laboon --- docs/learn/learn-account-advanced.md | 41 +++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/docs/learn/learn-account-advanced.md b/docs/learn/learn-account-advanced.md index c4be75a419c3..d15f8c28a9d8 100644 --- a/docs/learn/learn-account-advanced.md +++ b/docs/learn/learn-account-advanced.md @@ -319,7 +319,7 @@ Password-derived account are as secure as the chosen password. ::: -### Account Derivation in Ledger Live +### Account Derivation on [Ledger](../general/ledger.md) Live Ledger Live will only show the main account with BIP44 path 44'/354'/0'/0'/0'. This means that if you created a derived account with a derivation path 44'/354'/0'/0'/1' on a wallet or extension, it @@ -330,6 +330,45 @@ derivation paths. {{ kusama: Note that you cannot import Kusama Ledger accounts in Ledger Live. To see Kusama account balances, you must import your ledger account into a [**wallet**](./wallets). :kusama }} +### Account Derivation on [Subkey](#creating-accounts-with-subkey) and [Polkadot Vault](../general/polkadot-vault.md) + +The Subkey tool and Polkadot Vault App use the following Polkadot Standard Hard Derivation scheme: + +- `//network` as the primary account for `network`, named according to `network`'s named chain + specification + - `//network//0`, `//network//1`, ... as the secondary high-security accounts for `network` + +For example, the Vault app will generate a new account from a `SEED PHRASE`, and for each network +will create a derived child account from that seed. For the default networks Polkadot, Kusama and +Westend the derivation path will be: + +- `SEED PHRASE//polkadot` for Polkadot, with `SEED PHRASE//polkadot//0` as the first secondary + high-security account +- `SEED PHRASE//kusama` for Kusama, with `SEED PHRASE//kusama//0` as the first secondary + high-security account +- `SEED PHRASE//westend` for Westend, with `SEED PHRASE//westend//0` as the first secondary + high-security account + +Additionally, although it is not strictly necessary, users can adopt the following good practice +scheme: + +- `//network//pub` as the primary high-security public account for `network` (the one the user is + happy to be associated with their "real" ID) + - `//network//pub//0`, `//network//pub//0`, ... as the secondary high-security public accounts for + `network` +- `//network//hot` as the primary low-security account for `network` (the one whose secret key the + user exports from the Vault app to carry on an internet-connected device) + - `//network//hot//0`, `//network//hot//1`, ... as the secondary low-security accounts for + `network` + +:::info + +For more information about account derivation best practices, see +[this post](https://forum.polkadot.network/t/polkadot-standards-proposal-psp-to-define-hierarchical-deterministic-hd-key-derivation-paths/2941/2) +on the Polkadot Forum. + +::: + ## System Accounts As the word suggests, system accounts are used by the system. They are used, for example, for the