MyCrypto/common/libs/wallet/presale.ts

9 lines
270 B
TypeScript

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