sbv2-solana/website/api/cli/_localnet.md

977 B

create a localnet switchboard environment

sbv2 localnet:env

create a localnet switchboard environment

USAGE
  $ sbv2 localnet:env

OPTIONS
  -h, --help                 show CLI help

  -k, --keypair=keypair      keypair that will pay for onchain transactions. defaults to new account authority if no
                             alternate authority provided

  -o, --outputDir=outputDir  output directory for scripts

  -s, --silent               suppress cli prompts

  -u, --rpcUrl=rpcUrl        alternate RPC url

  -v, --verbose              log everything

  --force                    overwrite output file if existing

  --mainnetBeta              WARNING: use mainnet-beta solana cluster

  --programId=programId      alternative Switchboard program ID to interact with

See code: src/commands/localnet/env.ts