Skip to content

Commit

Permalink
Add HECO DPath (#14)
Browse files Browse the repository at this point in the history
* Add HECO dpath

* Bump version
  • Loading branch information
FrederikBolding authored Jul 15, 2021
1 parent 2acd147 commit c296128
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
8 changes: 7 additions & 1 deletion src/dpaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,11 @@ export const DEFAULT_XDAI: DerivationPath = {
path: "m/44'/700'/0'/0/<account>"
};

export const DEFAULT_HECO: DerivationPath = {
name: 'Default (HECO)',
path: "m/44'/1010'/0'/0/<account>"
};

export const LEDGER_LIVE_ETH: DerivationPath = {
name: 'Ledger Live (ETH)',
path: "m/44'/60'/<account>'/0/0",
Expand Down Expand Up @@ -293,7 +298,8 @@ export const ALL_DERIVATION_PATHS: DerivationPath[] = [
DEFAULT_ETI,
DEFAULT_POLYGON,
DEFAULT_BSC,
DEFAULT_XDAI
DEFAULT_XDAI,
DEFAULT_HECO
];

/**
Expand Down

0 comments on commit c296128

Please sign in to comment.