MyCrypto/common/libs/wallet/non-deterministic/address.ts

15 lines
303 B
TypeScript

import { IReadOnlyWallet } from '../IWallet';
export default class AddressOnlyWallet implements IReadOnlyWallet {
public address = '';
public readonly isReadOnly = true;
constructor(address: string) {
this.address = address;
}
public getAddressString() {
return this.address;
}
}