Skip to main content

sb evm function test

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

FLAGS
-h, --help Show CLI help.
-s, --silent suppress cli prompts
-u, --rpcUrl=<value> alternate RPC url
-v, --verbose log everything
--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
--mainnet use the mainnet network
--network=<option> the EVM network to connect to
<options: mainnet|testnet>
--optimism use the optimism chain
--parameters=<value> Parameters to pass to the run
--programId=<value> alternative Switchboard program ID to interact with
--testnet use the testnet network

GLOBAL FLAGS
--json Format output as json.

DESCRIPTION
Test a local function before publishing

EXAMPLES
$ sb evm function test --parameters 'uint256:1,string:hello