npm package: @switchboard-xyz/cli
Description: command line tool to interact with switchboard
Author: gallynaut @gallynaut
Latest version: 3.5.12

<!-- template -->
<div align="center">
  <a href="#">
    <img src="https://github.com/switchboard-xyz/sb-core/raw/main/website/static/img/icons/switchboard/avatar.png" />
  </a>

  <h1>@switchboard-xyz/cli</h1>

  <p>A command line tool to interact with Switchboard.</p>

  <p>

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/@switchboard-xyz/cli.svg)](https://npmjs.org/package/@switchboard-xyz/cli)
[![Downloads/week](https://img.shields.io/npm/dw/@switchboard-xyz/cli.svg)](https://npmjs.org/package/@switchboard-xyz/cli)
[![License](https://img.shields.io/npm/l/@switchboard-xyz/cli.svg)](https://github.com/switchboard-xyz/sb-core/blob/main/cli/LICENSE)

  </p>

  <p>
    <a href="https://discord.gg/switchboardxyz">
      <img alt="Discord" src="https://img.shields.io/discord/841525135311634443?color=blueviolet&logo=discord&logoColor=white" />
    </a>
    <a href="https://twitter.com/switchboardxyz">
      <img alt="Twitter" src="https://img.shields.io/twitter/follow/switchboardxyz?label=Follow+Switchboard" />
    </a>
  </p>

  <h4>
    <strong>Npm: </strong><a href="https://www.npmjs.com/package/@switchboard-xyz/cli">npmjs.com/package/@switchboard-xyz/cli</a>
  </h4>
</div>

## Install

Run the following command to install the `sb` binary in your $PATH.

```bash npm2yarn
npm install -g @switchboard-xyz/cli
```

You can re-run this command to upgrade your CLI version or run the command:

```bash
sb update stable
```

## Setup

### Solana

```bash
# Devnet
sb config set solana devnet rpc https://api.devnet.solana.com
sb config set solana devnet default-account "~/.config/solana/id.json"

# Mainnet
sb config set solana mainnet-beta rpc https://api.mainnet-beta.solana.com
sb config set solana mainnet-beta default-account "~/.config/solana/id.json"
```

<!-- templatestop -->

## Testing

To test commands:

```
node bin/dev print GvDMxPzN1sCj7L26YDK2HnMRXEQmQ2aemov8YBtPS7vR
# node bin/dev [COMMAND ARGS --flags]
```

**Commands**

<!-- commands -->
* [`sb config print`](#sb-config-print)
* [`sb config set CHAIN NETWORK PARAMETER [VALUE]`](#sb-config-set-chain-network-parameter-value)
* [`sb help [COMMANDS]`](#sb-help-commands)
* [`sb solana on-demand feed print FEEDKEY`](#sb-solana-on-demand-feed-print-feedkey)
* [`sb solana on-demand guardian create`](#sb-solana-on-demand-guardian-create)
* [`sb solana on-demand guardian register`](#sb-solana-on-demand-guardian-register)
* [`sb solana on-demand oracle create`](#sb-solana-on-demand-oracle-create)
* [`sb solana on-demand oracle print ORACLEKEY`](#sb-solana-on-demand-oracle-print-oraclekey)
* [`sb solana on-demand oracle resetLut`](#sb-solana-on-demand-oracle-resetlut)
* [`sb solana on-demand oracle setOperator [ORACLE]`](#sb-solana-on-demand-oracle-setoperator-oracle)
* [`sb solana on-demand permission set`](#sb-solana-on-demand-permission-set)
* [`sb solana on-demand queue addMrEnclave [QUEUE]`](#sb-solana-on-demand-queue-addmrenclave-queue)
* [`sb solana on-demand queue allowSubsidy [QUEUE]`](#sb-solana-on-demand-queue-allowsubsidy-queue)
* [`sb solana on-demand queue configure [QUEUE]`](#sb-solana-on-demand-queue-configure-queue)
* [`sb solana on-demand queue init`](#sb-solana-on-demand-queue-init)
* [`sb solana on-demand queue print QUEUE`](#sb-solana-on-demand-queue-print-queue)
* [`sb solana on-demand queue resetLut`](#sb-solana-on-demand-queue-resetlut)
* [`sb solana on-demand queue rmMrEnclave [QUEUE]`](#sb-solana-on-demand-queue-rmmrenclave-queue)
* [`sb solana on-demand queue rmOracle QUEUE`](#sb-solana-on-demand-queue-rmoracle-queue)
* [`sb solana on-demand queue setNcn [QUEUE]`](#sb-solana-on-demand-queue-setncn-queue)
* [`sb solana on-demand queue setVault [QUEUE]`](#sb-solana-on-demand-queue-setvault-queue)
* [`sb solana on-demand stake unwrap-delegation-pool`](#sb-solana-on-demand-stake-unwrap-delegation-pool)
* [`sb solana on-demand state configure`](#sb-solana-on-demand-state-configure)
* [`sb solana on-demand state price-whitelist`](#sb-solana-on-demand-state-price-whitelist)
* [`sb solana on-demand state print`](#sb-solana-on-demand-state-print)
* [`sb solana secrets add-mrenclave`](#sb-solana-secrets-add-mrenclave)
* [`sb solana secrets create SECRETNAME`](#sb-solana-secrets-create-secretname)
* [`sb solana secrets delete SECRETNAME`](#sb-solana-secrets-delete-secretname)
* [`sb solana secrets print`](#sb-solana-secrets-print)
* [`sb update [CHANNEL]`](#sb-update-channel)
* [`sb version`](#sb-version)

## `sb config print`

print cli config

```
USAGE
  $ sb config print [-h] [-v] [-s]

FLAGS
  -h, --help     Show CLI help.
  -s, --silent   suppress cli prompts
  -v, --verbose  log everything

DESCRIPTION
  print cli config

EXAMPLES
  $ sb config:print
```

_See code: [dist/commands/config/print.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/config/print.js)_

## `sb config set CHAIN NETWORK PARAMETER [VALUE]`

set a configuration option

```
USAGE
  $ sb config set CHAIN NETWORK PARAMETER [VALUE] [-h] [-v] [-s] [-r]

ARGUMENTS
  CHAIN      chain to set a config parameter
  NETWORK    network of chain to set parameter
  PARAMETER  (rpc|default-account|account) parameter to set
  VALUE      value of the param to set

FLAGS
  -h, --help     Show CLI help.
  -r, --reset    remove value or set to default rpc
  -s, --silent   suppress cli prompts
  -v, --verbose  log everything

DESCRIPTION
  set a configuration option
```

_See code: [dist/commands/config/set.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/config/set.js)_

## `sb help [COMMANDS]`

Display help for sb.

```
USAGE
  $ sb help [COMMANDS] [-n]

ARGUMENTS
  COMMANDS  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for sb.
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.20/src/commands/help.ts)_

## `sb solana on-demand feed print FEEDKEY`

print a feed account

```
USAGE
  $ sb solana on-demand feed print FEEDKEY [-h] [-v] [-s] [--mainnetBeta | --cluster devnet|mainnet-beta|mainnet|localnet] [-u
    <value>] [--programId <value>] [--commitment confirmed|finalized|processed]

ARGUMENTS
  FEEDKEY  public key of the feed account

FLAGS
  -h, --help             Show CLI help.
  -s, --silent           suppress cli prompts
  -u, --rpcUrl=<value>   alternate RPC url
  -v, --verbose          log everything
  --cluster=<option>     the solana cluster to connect to
                         <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>  [default: confirmed] commitment level to use with our connection
                         <options: confirmed|finalized|processed>
  --mainnetBeta          WARNING: use mainnet-beta solana cluster
  --programId=<value>    alternative Switchboard program ID to interact with

DESCRIPTION
  print a feed account
```

_See code: [dist/commands/solana/on-demand/feed/print.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/feed/print.js)_

## `sb solana on-demand guardian create`

Create a guardian account

```
USAGE
  $ sb solana on-demand guardian create [-h] [-v] [-s] [--mainnetBeta | --cluster devnet|mainnet-beta|mainnet|localnet] [-u <value>]
    [--programId <value>] [--commitment confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value>
    --ledger] [--priorityFee <value>] [--computeUnitLimitMultiple <value>]

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with

DESCRIPTION
  Create a guardian account
```

_See code: [dist/commands/solana/on-demand/guardian/create.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/guardian/create.js)_

## `sb solana on-demand guardian register`

register or deregister a guardian on a queue

```
USAGE
  $ sb solana on-demand guardian register --guardian <value> [-h] [-v] [-s] [--mainnetBeta | --cluster
    devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--commitment
    confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value> --ledger] [--priorityFee <value>]
    [--computeUnitLimitMultiple <value>] [--disable]

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --disable                           disable the specified guardian
  --guardian=<value>                  (required) new guardian account to register
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with

DESCRIPTION
  register or deregister a guardian on a queue
```

_See code: [dist/commands/solana/on-demand/guardian/register.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/guardian/register.js)_

## `sb solana on-demand oracle create`

Create an oracle account

```
USAGE
  $ sb solana on-demand oracle create --queue <value> [-h] [-v] [-s] [--mainnetBeta | --cluster
    devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--commitment
    confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value> --ledger] [--priorityFee <value>]
    [--computeUnitLimitMultiple <value>]

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with
  --queue=<value>                     (required) public key of the queue account

DESCRIPTION
  Create an oracle account
```

_See code: [dist/commands/solana/on-demand/oracle/create.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/oracle/create.js)_

## `sb solana on-demand oracle print ORACLEKEY`

print a oracle account

```
USAGE
  $ sb solana on-demand oracle print ORACLEKEY [-h] [-v] [-s] [--mainnetBeta | --cluster devnet|mainnet-beta|mainnet|localnet] [-u
    <value>] [--programId <value>] [--commitment confirmed|finalized|processed]

ARGUMENTS
  ORACLEKEY  public key of the oracle account

FLAGS
  -h, --help             Show CLI help.
  -s, --silent           suppress cli prompts
  -u, --rpcUrl=<value>   alternate RPC url
  -v, --verbose          log everything
  --cluster=<option>     the solana cluster to connect to
                         <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>  [default: confirmed] commitment level to use with our connection
                         <options: confirmed|finalized|processed>
  --mainnetBeta          WARNING: use mainnet-beta solana cluster
  --programId=<value>    alternative Switchboard program ID to interact with

DESCRIPTION
  print a oracle account
```

_See code: [dist/commands/solana/on-demand/oracle/print.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/oracle/print.js)_

## `sb solana on-demand oracle resetLut`

Reset lut of oracle account

```
USAGE
  $ sb solana on-demand oracle resetLut --oracle <value> [-h] [-v] [-s] [--mainnetBeta | --cluster
    devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--commitment
    confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value> --ledger] [--priorityFee <value>]
    [--computeUnitLimitMultiple <value>]

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --oracle=<value>                    (required) public key of the oracle account
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with

DESCRIPTION
  Reset lut of oracle account
```

_See code: [dist/commands/solana/on-demand/oracle/resetLut.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/oracle/resetLut.js)_

## `sb solana on-demand oracle setOperator [ORACLE]`

Set the NCN operator account for the oracle

```
USAGE
  $ sb solana on-demand oracle setOperator [ORACLE] --operator <value> [-h] [-v] [-s] [--mainnetBeta | --cluster
    devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--commitment
    confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value> --ledger] [--priorityFee <value>]
    [--computeUnitLimitMultiple <value>]

ARGUMENTS
  ORACLE  The oracle account to configure

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --operator=<value>                  (required) The jito ncn operator to attach to the oracle
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with

DESCRIPTION
  Set the NCN operator account for the oracle
```

_See code: [dist/commands/solana/on-demand/oracle/setOperator.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/oracle/setOperator.js)_

## `sb solana on-demand permission set`

set a switchboard on-demand permission

```
USAGE
  $ sb solana on-demand permission set --granter <value> --grantee <value> [-h] [-v] [-s] [--mainnetBeta | --cluster
    devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--commitment
    confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value> --ledger] [--priorityFee <value>]
    [--computeUnitLimitMultiple <value>] [--disable]

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --disable                           disable the specified permission
  --grantee=<value>                   (required) public key of the grantee account
  --granter=<value>                   (required) public key of the granter account
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with

DESCRIPTION
  set a switchboard on-demand permission
```

_See code: [dist/commands/solana/on-demand/permission/set.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/permission/set.js)_

## `sb solana on-demand queue addMrEnclave [QUEUE]`

Add allowed measurement to the queue

```
USAGE
  $ sb solana on-demand queue addMrEnclave [QUEUE] --mrEnclave <value> [-h] [-v] [-s] [--mainnetBeta | --cluster
    devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--commitment
    confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value> --ledger] [--priorityFee <value>]
    [--computeUnitLimitMultiple <value>]

ARGUMENTS
  QUEUE  The queue account to configure

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --mrEnclave=<value>                 (required) Hex encoded mrEnclave
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with

DESCRIPTION
  Add allowed measurement to the queue
```

_See code: [dist/commands/solana/on-demand/queue/addMrEnclave.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/queue/addMrEnclave.js)_

## `sb solana on-demand queue allowSubsidy [QUEUE]`

Allow or disallow subsidy for a queue

```
USAGE
  $ sb solana on-demand queue allowSubsidy [QUEUE] --enable [-h] [-v] [-s] [--mainnetBeta | --cluster
    devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--commitment
    confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value> --ledger] [--priorityFee <value>]
    [--computeUnitLimitMultiple <value>]

ARGUMENTS
  QUEUE  The queue account to configure

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --enable                            (required) enable the subsidy
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with

DESCRIPTION
  Allow or disallow subsidy for a queue
```

_See code: [dist/commands/solana/on-demand/queue/allowSubsidy.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/queue/allowSubsidy.js)_

## `sb solana on-demand queue configure [QUEUE]`

Configure a queue account

```
USAGE
  $ sb solana on-demand queue configure [QUEUE] [-h] [-v] [-s] [--mainnetBeta | --cluster devnet|mainnet-beta|mainnet|localnet] [-u
    <value>] [--programId <value>] [--commitment confirmed|finalized|processed] [-k <value>] [--asProposal]
    [--ledgerPath <value> --ledger] [--priorityFee <value>] [--computeUnitLimitMultiple <value>] [--authority <value>]
    [--reward <value>] [--nodeTimeout <value>]

ARGUMENTS
  QUEUE  The queue account to configure

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --authority=<value>                 new authority for the queue account
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --nodeTimeout=<value>               timeout before oracles can be removed from queue
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with
  --reward=<value>                    new reward for the queue account

DESCRIPTION
  Configure a queue account
```

_See code: [dist/commands/solana/on-demand/queue/configure.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/queue/configure.js)_

## `sb solana on-demand queue init`

Init a queue account

```
USAGE
  $ sb solana on-demand queue init [-h] [-v] [-s] [--mainnetBeta | --cluster devnet|mainnet-beta|mainnet|localnet] [-u <value>]
    [--programId <value>] [--commitment confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value>
    --ledger] [--priorityFee <value>] [--computeUnitLimitMultiple <value>] [--reward <value>] [--nodeTimeout <value>]

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --nodeTimeout=<value>               timeout before oracles can be removed from queue
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with
  --reward=<value>                    reward for the queue account

DESCRIPTION
  Init a queue account
```

_See code: [dist/commands/solana/on-demand/queue/init.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/queue/init.js)_

## `sb solana on-demand queue print QUEUE`

print a queue account

```
USAGE
  $ sb solana on-demand queue print QUEUE [-h] [-v] [-s] [--mainnetBeta | --cluster devnet|mainnet-beta|mainnet|localnet] [-u
    <value>] [--programId <value>] [--commitment confirmed|finalized|processed] [--oracles]

ARGUMENTS
  QUEUE  public key of the queue account

FLAGS
  -h, --help             Show CLI help.
  -s, --silent           suppress cli prompts
  -u, --rpcUrl=<value>   alternate RPC url
  -v, --verbose          log everything
  --cluster=<option>     the solana cluster to connect to
                         <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>  [default: confirmed] commitment level to use with our connection
                         <options: confirmed|finalized|processed>
  --mainnetBeta          WARNING: use mainnet-beta solana cluster
  --oracles              print oracles currently registered on this queue
  --programId=<value>    alternative Switchboard program ID to interact with

DESCRIPTION
  print a queue account
```

_See code: [dist/commands/solana/on-demand/queue/print.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/queue/print.js)_

## `sb solana on-demand queue resetLut`

Reset lut of queue account

```
USAGE
  $ sb solana on-demand queue resetLut --queue <value> [-h] [-v] [-s] [--mainnetBeta | --cluster
    devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--commitment
    confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value> --ledger] [--priorityFee <value>]
    [--computeUnitLimitMultiple <value>]

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with
  --queue=<value>                     (required) public key of the queue account

DESCRIPTION
  Reset lut of queue account
```

_See code: [dist/commands/solana/on-demand/queue/resetLut.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/queue/resetLut.js)_

## `sb solana on-demand queue rmMrEnclave [QUEUE]`

Remove allowed measurement from the queue

```
USAGE
  $ sb solana on-demand queue rmMrEnclave [QUEUE] --mrEnclave <value> [-h] [-v] [-s] [--mainnetBeta | --cluster
    devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--commitment
    confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value> --ledger] [--priorityFee <value>]
    [--computeUnitLimitMultiple <value>]

ARGUMENTS
  QUEUE  The queue account to configure

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --mrEnclave=<value>                 (required) Hex encoded mrEnclave
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with

DESCRIPTION
  Remove allowed measurement from the queue
```

_See code: [dist/commands/solana/on-demand/queue/rmMrEnclave.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/queue/rmMrEnclave.js)_

## `sb solana on-demand queue rmOracle QUEUE`

Add allowed measurement to the queue

```
USAGE
  $ sb solana on-demand queue rmOracle QUEUE --oracle <value> [-h] [-v] [-s] [--mainnetBeta | --cluster
    devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--commitment
    confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value> --ledger] [--priorityFee <value>]
    [--computeUnitLimitMultiple <value>]

ARGUMENTS
  QUEUE  The queue account to configure

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --oracle=<value>                    (required) oracle key
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with

DESCRIPTION
  Add allowed measurement to the queue
```

_See code: [dist/commands/solana/on-demand/queue/rmOracle.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/queue/rmOracle.js)_

## `sb solana on-demand queue setNcn [QUEUE]`

Set ncn for queue account

```
USAGE
  $ sb solana on-demand queue setNcn [QUEUE] [-h] [-v] [-s] [--mainnetBeta | --cluster devnet|mainnet-beta|mainnet|localnet] [-u
    <value>] [--programId <value>] [--commitment confirmed|finalized|processed] [-k <value>] [--asProposal]
    [--ledgerPath <value> --ledger] [--priorityFee <value>] [--computeUnitLimitMultiple <value>] [--ncn <value>]

ARGUMENTS
  QUEUE  The queue account to configure

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --ncn=<value>                       The ncn account to set
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with

DESCRIPTION
  Set ncn for queue account
```

_See code: [dist/commands/solana/on-demand/queue/setNcn.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/queue/setNcn.js)_

## `sb solana on-demand queue setVault [QUEUE]`

Set vault for queue account

```
USAGE
  $ sb solana on-demand queue setVault [QUEUE] --vault <value> [-h] [-v] [-s] [--mainnetBeta | --cluster
    devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--commitment
    confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value> --ledger] [--priorityFee <value>]
    [--computeUnitLimitMultiple <value>] [--enable]

ARGUMENTS
  QUEUE  The queue account to configure

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --enable                            enable the vault
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with
  --vault=<value>                     (required) The vault account to set

DESCRIPTION
  Set vault for queue account
```

_See code: [dist/commands/solana/on-demand/queue/setVault.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/queue/setVault.js)_

## `sb solana on-demand stake unwrap-delegation-pool`

Close the delegation pools WSOL reward account and unwrap SOL to the oracle authority

```
USAGE
  $ sb solana on-demand stake unwrap-delegation-pool --delegationPool <value> [-h] [-v] [-s] [--mainnetBeta | --cluster
    devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--commitment
    confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value> --ledger] [--priorityFee <value>]
    [--computeUnitLimitMultiple <value>] [--solDestination <value>]

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --delegationPool=<value>            (required) The delegation pool address to unwrap rewards from
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with
  --solDestination=<value>            Optional. Destination account to receive unwrapped SOL. Defaults to the payer.

DESCRIPTION
  Close the delegation pools WSOL reward account and unwrap SOL to the oracle authority
```

_See code: [dist/commands/solana/on-demand/stake/unwrap-delegation-pool.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/stake/unwrap-delegation-pool.js)_

## `sb solana on-demand state configure`

Create an oracle account

```
USAGE
  $ sb solana on-demand state configure [-h] [-v] [-s] [--mainnetBeta | --cluster devnet|mainnet-beta|mainnet|localnet] [-u <value>]
    [--programId <value>] [--commitment confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value>
    --ledger] [--priorityFee <value>] [--computeUnitLimitMultiple <value>] [--authority <value>] [--guardianQueue
    <value>] [--switchMint <value>] [--subsidyAmount <value>] [--permitAdvisory <value>] [--denyAdvisory <value>]
    [--testOnlyDisableMrEnclaveCheck] [--addCostWl <value>] [--rmCostWl <value>]

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --addCostWl=<value>                 Feed authority to price whitelist
  --asProposal                        print the transaction as a proposal
  --authority=<value>                 new authority for the state account
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --denyAdvisory=<value>              Adds a new denied advisory for oracles
  --guardianQueue=<value>             guardian queue id
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --permitAdvisory=<value>            Adds a new allowed advisory for oracles
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with
  --rmCostWl=<value>                  Feed authority to remove price whitelist
  --subsidyAmount=<value>             subsidy amount per epoch
  --switchMint=<value>                switchboard mint address
  --testOnlyDisableMrEnclaveCheck     Disables the mr enclave check for testing

DESCRIPTION
  Create an oracle account
```

_See code: [dist/commands/solana/on-demand/state/configure.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/state/configure.js)_

## `sb solana on-demand state price-whitelist`

Create an oracle account

```
USAGE
  $ sb solana on-demand state price-whitelist [-h] [-v] [-s] [--mainnetBeta | --cluster devnet|mainnet-beta|mainnet|localnet] [-u <value>]
    [--programId <value>] [--commitment confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value>
    --ledger] [--priorityFee <value>] [--computeUnitLimitMultiple <value>] [--addAuthority <value>] [--rmAuthority
    <value>]

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --addAuthority=<value>              Feed authority to price whitelist
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with
  --rmAuthority=<value>               Feed authority to remove price whitelist

DESCRIPTION
  Create an oracle account
```

_See code: [dist/commands/solana/on-demand/state/price-whitelist.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/state/price-whitelist.js)_

## `sb solana on-demand state print`

print the state account

```
USAGE
  $ sb solana on-demand state print [-h] [-v] [-s] [--mainnetBeta | --cluster devnet|mainnet-beta|mainnet|localnet] [-u <value>]
    [--programId <value>] [--commitment confirmed|finalized|processed]

FLAGS
  -h, --help             Show CLI help.
  -s, --silent           suppress cli prompts
  -u, --rpcUrl=<value>   alternate RPC url
  -v, --verbose          log everything
  --cluster=<option>     the solana cluster to connect to
                         <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>  [default: confirmed] commitment level to use with our connection
                         <options: confirmed|finalized|processed>
  --mainnetBeta          WARNING: use mainnet-beta solana cluster
  --programId=<value>    alternative Switchboard program ID to interact with

DESCRIPTION
  print the state account
```

_See code: [dist/commands/solana/on-demand/state/print.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/on-demand/state/print.js)_

## `sb solana secrets add-mrenclave`

```
USAGE
  $ sb solana secrets add-mrenclave -m <value> --secret <value> [-h] [-v] [-s] [--mainnetBeta | --cluster
    devnet|mainnet-beta|mainnet|localnet] [-u <value>] [--programId <value>] [--commitment
    confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value> --ledger] [--priorityFee <value>]
    [--computeUnitLimitMultiple <value>]

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -m, --mrEnclave=<value>             (required)
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with
  --secret=<value>...                 (required) name of the secret(s) to add the MrEnclave measurement to

EXAMPLES
  $ sb solana secrets add-mrenclave --mrEnclave a4e00d5ef4d89e046aa134f9930069f261268574b6e7f3e48dad963d86cbbffb --secret FFF_MAINNET_SERVICE_RPC_URL --keypair ~/.config/solana/id.json
```

_See code: [dist/commands/solana/secrets/add-mrenclave.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/secrets/add-mrenclave.js)_

## `sb solana secrets create SECRETNAME`

creates a switchboard secret

```
USAGE
  $ sb solana secrets create SECRETNAME [-h] [-v] [-s] [--mainnetBeta | --cluster devnet|mainnet-beta|mainnet|localnet] [-u
    <value>] [--programId <value>] [--commitment confirmed|finalized|processed] [-k <value>] [--asProposal]
    [--ledgerPath <value> --ledger] [--priorityFee <value>] [--computeUnitLimitMultiple <value>] [-m <value>] [--secret
    <value> | --secretFile <value>]

ARGUMENTS
  SECRETNAME  the name of the secret to create

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -m, --mrEnclave=<value>             optional mrEnclave to add to the secret
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with
  --secret=<value>                    the value of the secret to create
  --secretFile=<value>                the file containing the value of the secret to create

DESCRIPTION
  creates a switchboard secret
```

_See code: [dist/commands/solana/secrets/create.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/secrets/create.js)_

## `sb solana secrets delete SECRETNAME`

delete a switchboard secret for a given user

```
USAGE
  $ sb solana secrets delete SECRETNAME [-h] [-v] [-s] [--mainnetBeta | --cluster devnet|mainnet-beta|mainnet|localnet] [-u
    <value>] [--programId <value>] [--commitment confirmed|finalized|processed] [-k <value>] [--asProposal]
    [--ledgerPath <value> --ledger] [--priorityFee <value>] [--computeUnitLimitMultiple <value>]

ARGUMENTS
  SECRETNAME  the name of the secret to create

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with

DESCRIPTION
  delete a switchboard secret for a given user
```

_See code: [dist/commands/solana/secrets/delete.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/secrets/delete.js)_

## `sb solana secrets print`

print the list of user secrets along with their whitelisted MrEnclaves

```
USAGE
  $ sb solana secrets print [-h] [-v] [-s] [--mainnetBeta | --cluster devnet|mainnet-beta|mainnet|localnet] [-u <value>]
    [--programId <value>] [--commitment confirmed|finalized|processed] [-k <value>] [--asProposal] [--ledgerPath <value>
    --ledger] [--priorityFee <value>] [--computeUnitLimitMultiple <value>]

FLAGS
  -h, --help                          Show CLI help.
  -k, --keypair=<value>               keypair that will pay for onchain transactions. defaults to new account authority
                                      if no alternate authority provided
  -s, --silent                        suppress cli prompts
  -u, --rpcUrl=<value>                alternate RPC url
  -v, --verbose                       log everything
  --asProposal                        print the transaction as a proposal
  --cluster=<option>                  the solana cluster to connect to
                                      <options: devnet|mainnet-beta|mainnet|localnet>
  --commitment=<option>               [default: confirmed] commitment level to use with our connection
                                      <options: confirmed|finalized|processed>
  --computeUnitLimitMultiple=<value>  [default: 1.25] set `computeUnitLimitMultiple` to add some room for on-chain
                                      instructions to be executed
  --ledger                            enable ledger support
  --ledgerPath=<value>                HID path to the ledger
  --mainnetBeta                       WARNING: use mainnet-beta solana cluster
  --priorityFee=<value>               [default: 10000] set `computeUnitPrice` to boost transactions landing chances
                                      ('priority fees')
  --programId=<value>                 alternative Switchboard program ID to interact with

DESCRIPTION
  print the list of user secrets along with their whitelisted MrEnclaves
```

_See code: [dist/commands/solana/secrets/print.js](https://github.com/switchboard-xyz/core-sdk/blob/v3.5.12/dist/commands/solana/secrets/print.js)_

## `sb update [CHANNEL]`

update the sb CLI

```
USAGE
  $ sb update [CHANNEL] [-a] [-v <value> | -i] [--force]

FLAGS
  -a, --available        Install a specific version.
  -i, --interactive      Interactively select version to install. This is ignored if a channel is provided.
  -v, --version=<value>  Install a specific version.
  --force                Force a re-download of the requested version.

DESCRIPTION
  update the sb CLI

EXAMPLES
  Update to the stable channel:

    $ sb update stable

  Update to a specific version:

    $ sb update --version 1.0.0

  Interactively select version:

    $ sb update --interactive

  See available versions:

    $ sb update --available
```

_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/v3.2.4/src/commands/update.ts)_

## `sb version`

```
USAGE
  $ sb version [--json] [--verbose]

FLAGS
  --verbose  Show additional information about the CLI.

GLOBAL FLAGS
  --json  Format output as json.

FLAG DESCRIPTIONS
  --verbose  Show additional information about the CLI.

    Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
```

_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v1.3.10/src/commands/version.ts)_
<!-- commandsstop -->