Skip to content

AlgorandFixtureConfig

@algorandfoundation/algokit-utils / types/testing / AlgorandFixtureConfig

types/testing.AlgorandFixtureConfig

Configuration for creating an Algorand testing fixture.

Hierarchy

Table of contents

Properties

Properties

accountGetter

Optional accountGetter: (algod: AlgodClient, kmd?: KmdClient) => Promise<default>

Optional override for how to get an account; this allows you to retrieve accounts from a known or cached list of accounts.

Type declaration

▸ (algod, kmd?): Promise<default>

Parameters
NameType
algodAlgodClient
kmd?KmdClient
Returns

Promise<default>

Defined in

src/types/testing.ts:62


algod

Optional algod: AlgodClient

An optional algod client, if not specified then it will create one against algodConfig (if present) then environment variables defined network (if present) or default LocalNet.

Defined in

src/types/testing.ts:54


algodConfig

Optional algodConfig: AlgoClientConfig

Algod client configuration

Inherited from

Partial.algodConfig

Defined in

src/types/network-client.ts:16


indexer

Optional indexer: IndexerClient

An optional indexer client, if not specified then it will create one against indexerConfig (if present) then environment variables defined network (if present) or default LocalNet.

Defined in

src/types/testing.ts:56


indexerConfig

Optional indexerConfig: AlgoClientConfig

Indexer client configuration

Inherited from

Partial.indexerConfig

Defined in

src/types/network-client.ts:18


kmd

Optional kmd: KmdClient

An optional kmd client, if not specified then it will create one against kmdConfig (if present) then environment variables defined network (if present) or default LocalNet.

Defined in

src/types/testing.ts:58


kmdConfig

Optional kmdConfig: AlgoClientConfig

Kmd configuration

Inherited from

Partial.kmdConfig

Defined in

src/types/network-client.ts:20


testAccountFunding

Optional testAccountFunding: AlgoAmount

The amount of funds to allocate to the default testing account, if not specified then it will get 10 ALGO.

Defined in

src/types/testing.ts:60