getOrCreateKmdWalletAccount
getOrCreateKmdWalletAccount(
walletAccount
,algod
,kmdClient
?):Promise
<Account
>
Defined in: src/localnet/get-or-create-kmd-wallet-account.ts:28
Parameters
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
AlgoAmount
name
string
algod
AlgodClient
An algod client
kmdClient?
KmdClient
A KMD client, if not specified then a default KMD client will be loaded from environment variables
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