mirror of
https://github.com/status-im/MyCrypto.git
synced 2026-08-31 02:31:13 +00:00
* Add support for the Archos Safe-T mini * Safe-T mini: Fix version requirements * Fix fade-in animation is not hitting the 5th wallet option * Disable safe-t on electron:
17 lines
470 B
TypeScript
17 lines
470 B
TypeScript
import { WalletTypes, WalletLib } from 'shared/enclave/types';
|
|
import Ledger from './ledger';
|
|
import Trezor from './trezor';
|
|
import SafeT from './safe-t';
|
|
import KeepKey from './keepkey';
|
|
|
|
export const wallets: { [key in WalletTypes]: WalletLib } = {
|
|
[WalletTypes.LEDGER]: Ledger,
|
|
[WalletTypes.TREZOR]: Trezor,
|
|
[WalletTypes.SAFE_T]: SafeT,
|
|
[WalletTypes.KEEPKEY]: KeepKey
|
|
};
|
|
|
|
export function getWalletLib(type: WalletTypes): WalletLib {
|
|
return wallets[type];
|
|
}
|