From c296128e725ed2dd0bdeb633736f5a3807e35575 Mon Sep 17 00:00:00 2001 From: Frederik Bolding Date: Thu, 15 Jul 2021 14:21:15 +0200 Subject: [PATCH] Add HECO DPath (#14) * Add HECO dpath * Bump version --- package.json | 2 +- src/dpaths.ts | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ee8f245..9d9f0e6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mycrypto/wallets", - "version": "1.2.2", + "version": "1.2.3", "description": "Wallet abstractions to be used throughout the MyCrypto product suite.", "repository": "MyCryptoHQ/wallets", "author": "MyCrypto", diff --git a/src/dpaths.ts b/src/dpaths.ts index 5e7d62c..6e9348d 100644 --- a/src/dpaths.ts +++ b/src/dpaths.ts @@ -227,6 +227,11 @@ export const DEFAULT_XDAI: DerivationPath = { path: "m/44'/700'/0'/0/" }; +export const DEFAULT_HECO: DerivationPath = { + name: 'Default (HECO)', + path: "m/44'/1010'/0'/0/" +}; + export const LEDGER_LIVE_ETH: DerivationPath = { name: 'Ledger Live (ETH)', path: "m/44'/60'/'/0/0", @@ -293,7 +298,8 @@ export const ALL_DERIVATION_PATHS: DerivationPath[] = [ DEFAULT_ETI, DEFAULT_POLYGON, DEFAULT_BSC, - DEFAULT_XDAI + DEFAULT_XDAI, + DEFAULT_HECO ]; /**