Parity Signer Hierarchical Deterministic Key Derivation - Wiki Parity Tech Documentation

Parity Signer v4 has introduced the Hierarchical Deterministic Key Derivation (HDKD) feature for Substrate networks. This article explains how to use this feature.

Introduction

Identity is the starting point for generating accounts. Identity is bound to a seed (aka. mnemonic or seed phrase). The identity itself does not have any network affiliation. For Substrate networks, generating a new accounts means entering a derivation path and choosing a network. With this feature, you can manage as many accounts as needed with just one seed phrase safely stored.

Key Generation

Create an account for a Substrate based network.

Key generation also refers to accounts creation, with your created Identity:

screenshot Parity Signer HDKD Key Derivation

Custom path derivation

To generate a custom path without any prefix path:

screenshot Parity Signer HDKD Custom Path

The form of path

Paths also refer to the Chaincodes which described in BIP32, though it is different from BIP-32 style:

Users are able to create any combination of hard derivation with // and/or soft derivation with /.

The encoded string are limited to 32 Bytes.

For technical information about the soft and hard derivations on Substrate, please refer to introduction here.

Further notes

References:

  1. https://github.com/w3f/schnorrkel
  2. https://wiki.polkadot.network/docs/en/learn-keys