mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-12 02:41:03 +00:00
Add thin Ledger default wrapper (#212)
* Add thin Ledger default wrapper * move showAddress confirmFlag * Add node hid support * export Ledger * addHardware * libusb dep for CircleCI * Cleanup typings (buffer expected)
This commit is contained in:
@@ -36,6 +36,10 @@ export class Keyring extends Base implements KeyringStruct {
|
||||
};
|
||||
}
|
||||
|
||||
public addHardware (address: string | Uint8Array, hardwareType: string, meta: KeyringPair$Meta = {}): CreateResult {
|
||||
return this.addExternal(address, { ...meta, hardwareType, isHardware: true });
|
||||
}
|
||||
|
||||
public addPair (pair: KeyringPair, password: string): CreateResult {
|
||||
this.keyring.addPair(pair);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user