Skip to content

Commit

Permalink
Update DPaths (#24)
Browse files Browse the repository at this point in the history
* Update DPaths

* Bump version
  • Loading branch information
FrederikBolding authored Dec 1, 2021
1 parent 9178670 commit 536ac01
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 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.4.1",
"version": "1.4.2",
"description": "Wallet abstractions to be used throughout the MyCrypto product suite.",
"repository": "MyCryptoHQ/wallets",
"author": "MyCrypto",
Expand Down
18 changes: 12 additions & 6 deletions src/dpaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ export const DEFAULT_VOLTA: DerivationPath = {
path: "m/44'/73799'/0'/0/<account>"
};

export const DEFAULT_AVAX: DerivationPath = {
name: 'Default (AVAX)',
path: "m/44'/9000'/0'/0/<account>"
export const DEFAULT_AVAXC: DerivationPath = {
name: 'Default (AVAXC)',
path: "m/44'/9005'/0'/0/<account>"
};

export const DEFAULT_EVRICE: DerivationPath = {
Expand Down Expand Up @@ -184,7 +184,7 @@ export const DEFAULT_POLYGON: DerivationPath = {

export const DEFAULT_BSC: DerivationPath = {
name: 'Default (BSC)',
path: "m/44'/714'/0'/0/<account>"
path: "m/44'/9006'/0'/0/<account>"
};

export const DEFAULT_XDAI: DerivationPath = {
Expand All @@ -197,6 +197,11 @@ export const DEFAULT_HECO: DerivationPath = {
path: "m/44'/1010'/0'/0/<account>"
};

export const DEFAULT_FTM: DerivationPath = {
name: 'Default (FTM)',
path: "m/44'/1007'/0'/0/<account>"
};

export const LEDGER_LIVE_ETH: DerivationPath = {
name: 'Ledger Live (ETH)',
path: "m/44'/60'/<account>'/0/0",
Expand Down Expand Up @@ -248,7 +253,7 @@ export const ALL_DERIVATION_PATHS: DerivationPath[] = [
DEFAULT_VOLTA,
LEDGER_LIVE_ETH,
LEDGER_LIVE_ETC,
DEFAULT_AVAX,
DEFAULT_AVAXC,
DEFAULT_EVRICE,
DEFAULT_ARTIS_SIGMA1,
DEFAULT_POA,
Expand All @@ -257,7 +262,8 @@ export const ALL_DERIVATION_PATHS: DerivationPath[] = [
DEFAULT_POLYGON,
DEFAULT_BSC,
DEFAULT_XDAI,
DEFAULT_HECO
DEFAULT_HECO,
DEFAULT_FTM
];

/**
Expand Down

0 comments on commit 536ac01

Please sign in to comment.