AlgoSetup

For use in sandbox dev mode.

gridworks.dev_utils.algo_setup.dev_fund_to_min(addr, min_algos)

Tops up the AlgoAddr so that it has at least min_algos Algos, using a randomly chosen genesis acct from the sandbox. Note that the native algosdk pay_account uses micro Algos (in ints).

Returns: PendingTxnResponse

Parameters:
  • addr (str) –

  • min_algos (int) –

Return type:

PendingTxnResponse