fund

Fund the agent wallet.

can fund [OPTIONS]

Behavior by network

Localnet (default)

Automatically transfers ALGO from the KMD faucet wallet:

can fund
# Funds 10 ALGO from the localnet faucet

Testnet

Shows the address and dispenser URL:

can fund --network testnet
# Output:
#   Address:   YOUR_ADDRESS
#   Dispenser: https://bank.testnet.algorand.network

Mainnet

Shows the address for manual funding:

can fund --network mainnet
# Output:
#   Address: YOUR_ADDRESS

Options

FlagDefaultDescription
--networklocalnetNetwork preset
--addressfrom keystoreOverride agent address
--kmd-urlhttp://localhost:4002KMD URL (localnet only)
--kmd-tokenautoKMD API token (localnet only)
--amount10000000Amount in microAlgos (10 ALGO)

Examples

# Fund 10 ALGO on localnet
can fund

# Fund a specific amount (5 ALGO)
can fund --amount 5000000

# Fund a specific address
can fund --address ALGO_ADDRESS...