Class KeyStore
Methods
Abstract clear
-
Returns Promise<void>
Abstract entries
- entries(): Promise<IterableIterator<[string, string]>>
-
Returns Promise<IterableIterator<[string, string]>>
Abstract getAccounts
- getAccounts(chainId: ChainId): Promise<string[]>
-
Parameters
Returns Promise<string[]>
Abstract getChains
- getChains(): Promise<string[]>
-
Returns Promise<string[]>
Abstract getKey
-
Parameters
Returns Promise<KeyPair>
Abstract removeKey
- removeKey(chainId: ChainId, accountId: string): Promise<void>
-
Parameters
Returns Promise<void>
Abstract setKey
- setKey(chainId: ChainId, accountId: string, keyPair: KeyPair): Promise<void>
-
Parameters
Returns Promise<void>
KeyStores are passed to Minter via MinterConfig and are used by the InMemorySigner to sign transactions.
{@link connect}