Files
Jean-Christophe Rona 96798e71fa Add support for the Archos Safe-T mini hardware wallet (#1963)
* 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:
2018-07-17 12:46:41 -07:00

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];
}