Skip to main content

sb aptos permission create

USAGE
$ sb aptos permission create GRANTER --keypair <value> [-h] [-v] [-s] [--networkId devnet|testnet|mainnet] [--programId
<value>] [-u <value>] [--profileName <value>] [--json] [--aggregator <value> | --oracle <value>] [--enable]

ARGUMENTS
GRANTER HexString of the oracle queue to create a permission for

FLAGS
-h, --help Show CLI help.
-s, --silent suppress cli prompts
-u, --rpcUrl=<value> alternate RPC url
-v, --verbose log everything
--aggregator=<value> HexString of the aggregator address to create a permission for
--enable whether to enable the permissions after creation
--keypair=<value> (required) Path to AptosAccount keypair or config.yaml file
--networkId=<option> [default: testnet] Aptos network to connect to
<options: devnet|testnet|mainnet>
--oracle=<value> HexString of the aggregator address to create a permission for
--profileName=<value> [default: default] If --keypair is pointing to a yaml file, provide an optional profile to
load. If none provided, default will be used
--programId=<value> Switchboard programId on the selected Aptos network

GLOBAL FLAGS
--json Format output as json.

DESCRIPTION
create a new permission