Skip to main content

sb evm function configure

$ sb evm function configure 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] [--name <value>] [--authority <value>] [--containerRegistry <value>]
[--container <value>] [--version <value>]

FUNCTIONKEY address of the function account

-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
--authority=<value> update the authority for the function
--base use the base chain
--chain=<option> the evm chain to interact with
<options: coredao|arbitrum|optimism|base|aurora>
--container=<value> update the container for the function
--containerRegistry=<value> update the container registry for the function
--coredao use the coredao chain
--mainnet use the mainnet network
--name=<value> update the name for the function
--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
--version=<value> update the container version for the function

--json Format output as json.

Configure a function account

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