derivePrivateKey static method

Uint8List derivePrivateKey(
  1. List<String> words
)

derive private key at index 0 from mnemonic words according to BIP32.

Implementation

static Uint8List derivePrivateKey(List<String> words) {
  return HDNode.fromMnemonic(words).derive(0).privateKey!;
}