mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-06 22:57:58 +00:00
Expose encodeAddress/decodeAddress types on keyring interface (#62)
* Expose encodeAddress/decodeAddress types of keyring * Update types.ts
This commit is contained in:
@@ -37,6 +37,8 @@ export interface KeyringStruct {
|
||||
createAccount: (seed: Uint8Array, password?: string, meta?: KeyringPair$Meta) => KeyringPair;
|
||||
createAccountExternal: (publicKey: Uint8Array, meta?: KeyringPair$Meta) => KeyringPair;
|
||||
createAccountMnemonic: (seed: string, password?: string, meta?: KeyringPair$Meta) => KeyringPair;
|
||||
decodeAddress: (key: string | Uint8Array) => Uint8Array;
|
||||
encodeAddress: (key: string | Uint8Array) => string;
|
||||
encryptAccount: (pair: KeyringPair, password: string) => void;
|
||||
forgetAccount: (address: string) => void;
|
||||
forgetAddress: (address: string) => void;
|
||||
|
||||
Reference in New Issue
Block a user