Constructors
Methods
Abstract
getAccounts
getAccounts(networkId: string): Promise<string[]> Returns Promise<string[]>
Abstract
getKey
getKey(networkId: string, accountId: string): Promise<KeyPair> Parameters
- networkId: string
- accountId: string
Returns Promise<KeyPair>
Abstract
getNetworks
getNetworks(): Promise<string[]> Returns Promise<string[]>
Abstract
removeKey
removeKey(networkId: string, accountId: string): Promise<void> Parameters
- networkId: string
- accountId: string
Returns Promise<void>
Abstract
setKey
setKey(networkId: string, accountId: string, keyPair: 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.