Skip to main content

sb evm function fund

USAGE
$ sb evm function fund FUNCTIONKEY --account <value> [-h] [-v] [-s] [--chain coredao|arbitrum|optimism|base|aurora |
--coredao | --arbitrum | --optimism | --base | --aurora] [--network mainnet|testnet | --mainnet | --testnet] [-u
<value>] [--programId <value>] [--json] [--fundAmount <value>]

ARGUMENTS
FUNCTIONKEY address of the function account

FLAGS
-h, --help Show CLI help.
-s, --silent suppress cli prompts
-u, --rpcUrl=<value> alternate RPC url
-v, --verbose log everything
--account=<value> (required) Path to file containing the private key for the payer account
--arbitrum use the arbitrum chain
--aurora use the aurora chain
--base use the base chain
--chain=<option> the evm chain to interact with
<options: coredao|arbitrum|optimism|base|aurora>
--coredao use the coredao chain
--fundAmount=<value> [default: 0.0] token amount to load into the function's escrow wallet.
--mainnet use the mainnet network
--network=<option> the EVM network to connect to
<options: mainnet|testnet>
--optimism use the optimism chain
--programId=<value> alternative Switchboard program ID to interact with
--testnet use the testnet network

GLOBAL FLAGS
--json Format output as json.

DESCRIPTION
Fund a function account

EXAMPLES
$ sb evm function fund 0xaA43ba6f18b138A0B3313dDbFaC2b920D240108E --chain arbitrum --network testnet --fundAmount 0.02 --account ~/.arbitrum-kp.txt --programId 0x4F706C62535d171883A6cc9384f3f3d926A6BA49