config
Inspect, edit, and reset the merged CLI configuration with type aware coercion and secure storage.
config
The CLI configuration is a layered object: defaults, then file, then env, then flags. Every command resolves the merged view.
config show
synapse-sap config show
synapse-sap config show --raw # file only, no env or defaultsconfig set <key> <value>
Type aware setter. Values are coerced to boolean, number, or string based on the key.
synapse-sap config set rpcUrl "https://us-1-mainnet.oobeprotocol.ai/rpc?api_key=KEY"
synapse-sap config set retries 3
synapse-sap config set debug trueconfig edit
Open the config file in $EDITOR.
EDITOR=code synapse-sap config editconfig reset
synapse-sap config reset --confirmDrops the file back to defaults. Env and flags still apply.
config path
synapse-sap config path
# /Users/me/.config/synapse-sap/config.jsonUse this when you need to back up or sync the config across machines.
env
Bootstrap, validate, and rotate environment variables and keypairs. Includes vanity generation, secure import, and secret redaction.
Doctor Command
Eight-point diagnostic check covering Node, SDK, env vars, keypair, RPC latency, fallback RPC, SAP program, and disk. Run before deploys and after upgrades. SDK v0.20.0 aligned.