Skip to content

AlgorandFixtureConfig

Defined in: src/testing/types.ts:55

Configuration for creating an Algorand testing fixture.

optional accountGetter: (algorand) => Promise<Address & object>

Defined in: src/testing/types.ts:65

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

AlgorandClient

Promise<Address & object>


optional algod: AlgodClient

Defined in: src/testing/types.ts:57

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.


optional algodConfig: AlgoClientConfig

Defined in: src/network-client.ts:14

Algod client configuration

AlgoConfig.algodConfig


optional indexer: IndexerClient

Defined in: src/testing/types.ts:59

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.


optional indexerConfig: AlgoClientConfig

Defined in: src/network-client.ts:16

Indexer client configuration

AlgoConfig.indexerConfig


optional kmd: KmdClient

Defined in: src/testing/types.ts:61

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.


optional kmdConfig: AlgoClientConfig

Defined in: src/network-client.ts:18

Kmd configuration

AlgoConfig.kmdConfig


optional testAccountFunding: AlgoAmount

Defined in: src/testing/types.ts:63

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