// @flow import { stripHex } from 'libs/values'; export default class BaseWallet { getAddress(): Promise { return Promise.reject('Implement me'); } getNakedAddress(): Promise { return new Promise(resolve => { this.getAddress.then(address => { resolve(stripHex(address)); }); }); } }