mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
27 lines
650 B
JavaScript
27 lines
650 B
JavaScript
/**
|
|
* Accounts can be instantiated from simple, HD or the two hardware wallet
|
|
* keyring types. Both simple and HD are treated as default but we do special
|
|
* case accounts managed by a hardware wallet.
|
|
*/
|
|
export const KEYRING_TYPES = {
|
|
LEDGER: 'Ledger Hardware',
|
|
TREZOR: 'Trezor Hardware',
|
|
};
|
|
|
|
/**
|
|
* Used for setting the users preference for ledger transport type
|
|
*/
|
|
export const LEDGER_TRANSPORT_TYPES = {
|
|
LIVE: 'ledgerLive',
|
|
WEBHID: 'webhid',
|
|
U2F: 'u2f',
|
|
};
|
|
|
|
export const LEDGER_USB_VENDOR_ID = '0x2c97';
|
|
|
|
export const WEBHID_CONNECTED_STATUSES = {
|
|
CONNECTED: 'connected',
|
|
NOT_CONNECTED: 'notConnected',
|
|
UNKNOWN: 'unknown',
|
|
};
|