New command to fetch network config output as JSON

Open
#1,833 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust
Domain
cli

Research direction

Start by locating the existing common commands and the network-config handling used by quickstart and stellar-core. Compare their shared config format and determine where the current network configuration is available. Done means a new common can fetch the in-use network configuration and emit it as JSON in that established format.

Written by the indexing model from the issue text.

Description

We should add a common that fetches the network config and output as JSON, in the same format that quickstart and stellar-core use for handling the config.

Why:

  • Make it easy to pull the network config in the same common format we already generate it in and use it in some places.
  • Allows folks to interrogate what the config is that's currently in use.

Related conversation: https://stellarfoundation.slack.com/archives/C030Z9EHVQE/p1736893451258769

Dominant language
Rust
Stars
123
Forks
141
Avg merge
2d 21h
Merged PRs (30d)
17

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stellar/stellar-cli

All issues in stellar/stellar-cli

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.