Methods
Abstract
clear
- clear(): Promise<void>
Returns Promise<void>
Abstract
getAccounts
- getAccounts(networkId): Promise<string[]>
Returns Promise<string[]>
Abstract
getKey
- getKey(networkId, accountId): Promise<KeyPair>
Parameters
- networkId: string
- accountId: string
Returns Promise<KeyPair>
Abstract
getNetworks
- getNetworks(): Promise<string[]>
Returns Promise<string[]>
Abstract
removeKey
- removeKey(networkId, accountId): Promise<void>
Parameters
- networkId: string
- accountId: string
Returns Promise<void>
Abstract
setKey
- setKey(networkId, accountId, keyPair): Promise<void>
Parameters
- networkId: string
- accountId: string
- keyPair: KeyPair
Returns Promise<void>
KeyStores are passed to Near via NearConfig and are used by the InMemorySigner to sign transactions.