AlgorandFixtureConfig
Defined in: src/testing/types.ts:55
Configuration for creating an Algorand testing fixture.
Extends
Section titled “Extends”Partial<AlgoConfig>
Properties
Section titled “Properties”accountGetter()?
Section titled “accountGetter()?”
optionalaccountGetter: (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.
Parameters
Section titled “Parameters”algorand
Section titled “algorand”Returns
Section titled “Returns”Promise<Address & object>
algod?
Section titled “algod?”
optionalalgod: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.
algodConfig?
Section titled “algodConfig?”
optionalalgodConfig:AlgoClientConfig
Defined in: src/network-client.ts:14
Algod client configuration
Inherited from
Section titled “Inherited from”indexer?
Section titled “indexer?”
optionalindexer: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.
indexerConfig?
Section titled “indexerConfig?”
optionalindexerConfig:AlgoClientConfig
Defined in: src/network-client.ts:16
Indexer client configuration
Inherited from
Section titled “Inherited from”
optionalkmd: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.
kmdConfig?
Section titled “kmdConfig?”
optionalkmdConfig:AlgoClientConfig
Defined in: src/network-client.ts:18
Kmd configuration
Inherited from
Section titled “Inherited from”testAccountFunding?
Section titled “testAccountFunding?”
optionaltestAccountFunding: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.