StellarForge uses an optional project-root configuration file named stellarforge.config.json.
{
"version": 1,
"network": "testnet",
"identity": "deployer"
}version is required and must currently be 1.
network is optional and accepts testnet, futurenet, or mainnet. A configured network does not bypass command-specific restrictions: the MVP deploy command still permits Testnet only.
identity is optional and must be the name of an identity already managed by Stellar CLI. StellarForge does not accept raw secret keys, seed phrases, public StrKeys, filesystem paths, tokens, or password-like fields in project configuration.
Where a command exposes a CLI override, the order is:
- explicit CLI option;
- project configuration;
- missing.
StellarForge does not silently default a missing network to Mainnet or any other network.
For example:
{
"version": 1,
"network": "testnet",
"identity": "team-deployer"
}allows:
stellarforge deployto use those project settings, while:
stellarforge deploy --source release-deployeroverrides only the identity.
The file must:
- live at the project root;
- be a regular file rather than a symbolic link;
- be no larger than 64 KiB;
- contain valid JSON;
- contain only supported schema fields.
Validation failures are designed to be actionable without echoing raw file contents or sensitive values.