MyCrypto/common/libs/wallet/utc.ts

9 lines
268 B
TypeScript

import { decryptUtcKeystoreToPkey } from 'libs/keystore';
import PrivKeyWallet from './privkey';
export default class UtcWallet extends PrivKeyWallet {
constructor(keystore: string, password: string) {
super(decryptUtcKeystoreToPkey(keystore, password));
}
}