getOrCreateKmdWalletAccount
getOrCreateKmdWalletAccount(
walletAccount,algod,kmdClient?):Promise<Account>
Defined in: algokit-utils-ts/src/localnet/get-or-create-kmd-wallet-account.ts:28
Parameters
Section titled “Parameters”walletAccount
Section titled “walletAccount”The wallet details with:
name: The name of the wallet to retrieve / createfundWith: The number of Algo to fund the account with when it gets created, if not specified then 1000 ALGO will be funded from the dispenser account
fundWith?
Section titled “fundWith?”string
AlgodClient
An algod client
kmdClient?
Section titled “kmdClient?”KmdClient
A KMD client, if not specified then a default KMD client will be loaded from environment variables
Returns
Section titled “Returns”Promise<Account>
An Algorand account with private key loaded - either one that already existed in the given KMD wallet, or a new one that is funded for you