Skip to content

AlgorandFixtureConfig

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

types/testing.AlgorandFixtureConfig

Configuration for creating an Algorand testing fixture.

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.

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

NameType
algodAlgodClient
kmd?KmdClient

Promise<default>

src/types/testing.ts:62


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.

src/types/testing.ts:54


Optional algodConfig: AlgoClientConfig

Algod client configuration

Partial.algodConfig

src/types/network-client.ts:16


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.

src/types/testing.ts:56


Optional indexerConfig: AlgoClientConfig

Indexer client configuration

Partial.indexerConfig

src/types/network-client.ts:18


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.

src/types/testing.ts:58


Optional kmdConfig: AlgoClientConfig

Kmd configuration

Partial.kmdConfig

src/types/network-client.ts:20


Optional testAccountFunding: AlgoAmount

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

src/types/testing.ts:60