Maciej Hirsz 54980d745b Update parity signer link (#1477)
* Update the link

* Skip extension altogether
2018-04-09 12:13:27 -05:00

22 lines
579 B
TypeScript

import { IFullWallet } from '../IWallet';
export const wikiLink = 'https://wiki.parity.io/Parity-Signer-Mobile-App-MyCrypto-tutorial';
export default class ParitySignerWallet implements IFullWallet {
public address: string;
constructor(address: string) {
this.address = address;
}
public signRawTransaction = () =>
Promise.reject(new Error('Web3 wallets cannot sign raw transactions.'));
public signMessage = () =>
Promise.reject(new Error('Signing via Parity Signer not yet supported.'));
public getAddressString() {
return this.address;
}
}