2018-01-20 20:06:28 +00:00
|
|
|
export interface DPath {
|
|
|
|
label: string;
|
|
|
|
value: string; // TODO determine method for more precise typing for path
|
|
|
|
}
|
|
|
|
|
|
|
|
export const ETH_DEFAULT: DPath = {
|
2017-09-15 19:29:38 +00:00
|
|
|
label: 'Default (ETH)',
|
|
|
|
value: "m/44'/60'/0'/0"
|
|
|
|
};
|
|
|
|
|
2018-01-20 20:06:28 +00:00
|
|
|
export const ETH_TREZOR: DPath = {
|
2017-09-15 19:29:38 +00:00
|
|
|
label: 'TREZOR (ETH)',
|
|
|
|
value: "m/44'/60'/0'/0"
|
|
|
|
};
|
|
|
|
|
2018-01-20 20:06:28 +00:00
|
|
|
export const ETH_LEDGER: DPath = {
|
2017-09-15 19:29:38 +00:00
|
|
|
label: 'Ledger (ETH)',
|
|
|
|
value: "m/44'/60'/0'"
|
|
|
|
};
|
|
|
|
|
2018-01-20 20:06:28 +00:00
|
|
|
export const ETC_LEDGER: DPath = {
|
2017-09-15 19:29:38 +00:00
|
|
|
label: 'Ledger (ETC)',
|
|
|
|
value: "m/44'/60'/160720'/0'"
|
|
|
|
};
|
|
|
|
|
2018-01-20 20:06:28 +00:00
|
|
|
export const ETC_TREZOR: DPath = {
|
2017-09-15 19:29:38 +00:00
|
|
|
label: 'TREZOR (ETC)',
|
|
|
|
value: "m/44'/61'/0'/0"
|
|
|
|
};
|
|
|
|
|
2018-01-20 20:06:28 +00:00
|
|
|
export const ETH_TESTNET: DPath = {
|
|
|
|
label: 'Testnet (ETH)',
|
2017-09-15 19:29:38 +00:00
|
|
|
value: "m/44'/1'/0'/0"
|
|
|
|
};
|
|
|
|
|
2018-01-20 20:06:28 +00:00
|
|
|
export const EXP_DEFAULT: DPath = {
|
|
|
|
label: 'Default (EXP)',
|
2017-09-15 19:29:38 +00:00
|
|
|
value: "m/44'/40'/0'/0"
|
|
|
|
};
|
|
|
|
|
2018-01-20 20:06:28 +00:00
|
|
|
export const UBQ_DEFAULT: DPath = {
|
|
|
|
label: 'Default (UBQ)',
|
|
|
|
value: "m/44'/108'/0'/0"
|
|
|
|
};
|
2017-10-05 23:29:14 +00:00
|
|
|
|
2018-01-20 20:06:28 +00:00
|
|
|
export const ETH_SINGULAR: DPath = {
|
|
|
|
label: 'SingularDTV',
|
|
|
|
value: "m/0'/0'/0'"
|
2017-09-15 19:29:38 +00:00
|
|
|
};
|
2018-01-20 20:06:28 +00:00
|
|
|
|
|
|
|
// PATHS TO BE INCLUDED REGARDLESS OF WALLET FORMAT
|
|
|
|
export const EXTRA_PATHS = [ETH_SINGULAR];
|