From b461d935b5f4409eea3fad6940a5c7ab610eb9b6 Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 1 Apr 2024 11:06:00 +0200 Subject: [PATCH] Add derivation path for Nimiq (#2309) Specify the derivation path for Nimiq so its name is resolved when deriving public and private keys. --- packages/snaps-utils/src/derivation-paths.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/snaps-utils/src/derivation-paths.ts b/packages/snaps-utils/src/derivation-paths.ts index 35811c56f5..5b76478f37 100644 --- a/packages/snaps-utils/src/derivation-paths.ts +++ b/packages/snaps-utils/src/derivation-paths.ts @@ -135,6 +135,11 @@ export const SNAPS_DERIVATION_PATHS: SnapsDerivationPath[] = [ curve: 'secp256k1', name: 'Mina', }, + { + path: ['m', `44'`, `242'`], + curve: 'ed25519', + name: 'Nimiq', + }, { path: ['m', `44'`, `1729'`, `0'`, `0'`], curve: 'ed25519',