Configure access
Configure access
Select TOML with --config PATH or FOSSA_CONFIG. No file is loaded implicitly. Precedence is flags, environment variables, TOML, then built-in defaults. File-contained paths resolve beside the TOML file; other paths resolve from the working directory.
| Flag | Environment | Purpose |
|---|---|---|
--rpc-url | FOSSA_RPC_URL | Custom chain access. |
--hosted-rpc=true or false | FOSSA_HOSTED_RPC | Select or disable hosted access. |
--api-url | FOSSA_API_URL | Hosted API origin. |
--keypair | FOSSA_KEYPAIR | Authority’s standard Solana JSON keypair. |
--wallet | FOSSA_WALLET | Authority for key-free custom-access reads and plans. |
--payer | FOSSA_PAYER | Optional separate fee payer keypair. |
--program-id | FOSSA_PROGRAM_ID | Router program. |
--market | FOSSA_MARKET | Router market. |
--provider-list | FOSSA_PROVIDER_LIST | Default booking list. |
--usdc-mint | FOSSA_USDC_MINT | Payment mint. |
--journal-dir | FOSSA_JOURNAL_DIR | Durable transaction directory. |
Hosted access defaults on without a custom URL and requires a keypair for authentication. A loaded key must match --wallet. Explicit transport flags override configured transport; conflicting choices at the same source fail. API origins require HTTPS, except loopback development.
--confirmation-seconds bounds confirmation waiting and defaults to 30. config show redacts the custom URL. Keep configuration and keys outside version control.