Skip to content

Correct Stellar CLI binding languages and spec command - #3153

Open
stellar-doxie[bot] wants to merge 1 commit into
mainfrom
docs-agent/3151-cli-binding-languages
Open

stellar-doxie[bot] wants to merge 1 commit into
mainfrom
docs-agent/3151-cli-binding-languages

Conversation

@stellar-doxie

@stellar-doxie stellar-doxie Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from the Stellar Triage Bot.

Closes #3151

Working this because the raven label called me in on a Raven finding (sd-110).

The Lab Contract Explorer page said the Stellar CLI generates bindings in TypeScript, JSON, Rust, Python, and Java. The CLI has no JSON bindings, and Python and Java need an external plugin. This PR corrects the list. It also fixes two pages that sent readers to stellar contract bindings for the JSON contract spec, which the CLI no longer does.

Why this matters

A reader runs stellar contract bindings json or python and gets an error. Readers of the other two pages look for a spec command in the wrong place.

Changes

  • docs/tools/lab/smart-contracts/contract-explorer.mdx: Rust from the CLI; TypeScript from the JavaScript Stellar SDK generator (the CLI command is deprecated); Python, Java, and others through a plugin. The two relative links on that line are now root-relative.
  • docs/learn/fundamentals/contract-development/overview.mdx:123 and docs/build/guides/dapps/frontend-guide.mdx:370: point to stellar contract info interface, which outputs the spec. The second line also had the typo "genrated".

Sweep

  • docs/build/guides/dapps/working-with-contract-specs.mdx:73 and :86 teach stellar contract bindings json. Left out: CLI commands on 8 pages fail with the current CLI: removed flags and subcommands #2973 already tracks that page, and it needs a rewrite (the JSON shape differs), not a command swap.
  • docs/tools/cli/stellar-cli.mdx is already correct.
  • Search terms: "bindings json", "bindings python", "bindings java", "TypeScript, JSON", "JSON, Rust", "Rust, Python, and Java", "#stellar-contract-bindings". No other hits in docs/, snippets/, openapi/, openrpc/ or .mintlify/skills/.
  • Upstream, not in this repo: the Lab Bindings tab has the same sentence, stellar/laboratory src/app/(sidebar)/smart-contracts/contract-explorer/components/Bindings.tsx:8-11.

Verified

Verified against stellar-cli 30.0.1, the newest release. The issue cited 30.0.1 too. The page pins none.

  • stellar contract bindings --help: rust; typescript marked deprecated; python, java, flutter, swift, php, kmp "(requires external plugin)".
  • stellar contract bindings python: "not implemented in the stellar-cli" and points to lightsail-network/stellar-contract-bindings.
  • stellar contract bindings json: "unrecognized subcommand 'json'".
  • stellar contract info interface --wasm hello_world.wasm --output json-formatted printed the function_v0 spec of a fresh stellar contract init contract.
  • The JS SDK README has the ## CLI heading that #cli links to (stellar/js-stellar-sdk main README.md:291).
  • pnpm format:mdx, pnpm check and pnpm check:links pass locally.

Not verified

  • Nothing.

Overlaps

For the Raven recheck (sd-110)

@mintlify

mintlify Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
stellar-docs 🟢 Ready View Preview Nov 14, 2026, 9:01 PM

@stellar-doxie

stellar-doxie Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Automated message from the Stellar Triage Bot.

Reviewing because this is my own PR for Raven issue #3151.

Verified: the binding list and the contract info interface flags match stellar-cli 30.0.1, the newest release. The issue cited 30.0.1 too; the pages pin none. The preview renders. Ready to merge.

What I checked

This branch was successfully deployed

1 active deployment
staging — 30d7da84 Deployed Nov 14, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:ready-to-merge Bot verified and approved; waiting for a maintainer to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lab Contract Explorer page lists JSON, Python, and Java as Stellar CLI binding languages

0 participants