AlgorandFixtureConfig
Defined in: algokit-utils-ts/src/types/testing.ts:52
Configuration for creating an Algorand testing fixture.
Extends
Section titled “Extends”Partial<AlgoConfig>
Properties
Section titled “Properties”accountGetter?
Section titled “accountGetter?”
optionalaccountGetter?: (algod,kmd?) =>Promise<Account>
Defined in: algokit-utils-ts/src/types/testing.ts:62
Optional override for how to get an account; this allows you to retrieve accounts from a known or cached list of accounts.
Parameters
Section titled “Parameters”AlgodClient
KmdClient
Returns
Section titled “Returns”Promise<Account>
algod?
Section titled “algod?”
optionalalgod?:AlgodClient
Defined in: algokit-utils-ts/src/types/testing.ts:54
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.
algodConfig?
Section titled “algodConfig?”
optionalalgodConfig?:AlgoClientConfig
Defined in: algokit-utils-ts/src/types/network-client.ts:16
Algod client configuration
Inherited from
Section titled “Inherited from”indexer?
Section titled “indexer?”
optionalindexer?:IndexerClient
Defined in: algokit-utils-ts/src/types/testing.ts:56
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.
indexerConfig?
Section titled “indexerConfig?”
optionalindexerConfig?:AlgoClientConfig
Defined in: algokit-utils-ts/src/types/network-client.ts:18
Indexer client configuration
Inherited from
Section titled “Inherited from”
optionalkmd?:KmdClient
Defined in: algokit-utils-ts/src/types/testing.ts:58
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.
kmdConfig?
Section titled “kmdConfig?”
optionalkmdConfig?:AlgoClientConfig
Defined in: algokit-utils-ts/src/types/network-client.ts:20
Kmd configuration
Inherited from
Section titled “Inherited from”testAccountFunding?
Section titled “testAccountFunding?”
optionaltestAccountFunding?:AlgoAmount
Defined in: algokit-utils-ts/src/types/testing.ts:60
The amount of funds to allocate to the default testing account, if not specified then it will get 10 ALGO.