AlgorandFixtureConfig
@algorandfoundation/algokit-utils / types/testing / AlgorandFixtureConfig
types/testing.AlgorandFixtureConfig
Configuration for creating an Algorand testing fixture.
Hierarchy
Section titled “Hierarchy”-
Partial<AlgoConfig>↳
AlgorandFixtureConfig
Table of contents
Section titled “Table of contents”Properties
Section titled “Properties”Properties
Section titled “Properties”accountGetter
Section titled “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
Section titled “Type declaration”▸ (algod, kmd?): Promise<default>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
algod | AlgodClient |
kmd? | KmdClient |
Returns
Section titled “Returns”Promise<default>
Defined in
Section titled “Defined in”• 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
Section titled “Defined in”algodConfig
Section titled “algodConfig”• Optional algodConfig: AlgoClientConfig
Algod client configuration
Inherited from
Section titled “Inherited from”Partial.algodConfig
Defined in
Section titled “Defined in”src/types/network-client.ts:16
indexer
Section titled “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
Section titled “Defined in”indexerConfig
Section titled “indexerConfig”• Optional indexerConfig: AlgoClientConfig
Indexer client configuration
Inherited from
Section titled “Inherited from”Partial.indexerConfig
Defined in
Section titled “Defined in”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.
Defined in
Section titled “Defined in”kmdConfig
Section titled “kmdConfig”• Optional kmdConfig: AlgoClientConfig
Kmd configuration
Inherited from
Section titled “Inherited from”Partial.kmdConfig
Defined in
Section titled “Defined in”src/types/network-client.ts:20
testAccountFunding
Section titled “testAccountFunding”• Optional testAccountFunding: AlgoAmount
The amount of funds to allocate to the default testing account, if not specified then it will get 10 ALGO.