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