Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeyStore

KeyStores are passed to Minter via MinterConfig and are used by the InMemorySigner to sign transactions.

example

{@link connect}

Hierarchy

Constructors

constructor

Methods

Abstract clear

  • clear(): Promise<void>
  • 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

    • chainId: ChainId
    • accountId: string

    Returns Promise<KeyPair>

Abstract removeKey

  • removeKey(chainId: ChainId, accountId: string): Promise<void>
  • Parameters

    • chainId: ChainId
    • accountId: string

    Returns Promise<void>

Abstract setKey

  • setKey(chainId: ChainId, accountId: string, keyPair: KeyPair): Promise<void>
  • Parameters

    Returns Promise<void>

Generated using TypeDoc