Skip to content

Add contract bindings subcommand for kmp - #2721

Open
christian-rogobete wants to merge 1 commit into
stellar:mainfrom
Soneso:contract-bindings
Open

Add contract bindings subcommand for kmp#2721
christian-rogobete wants to merge 1 commit into
stellar:mainfrom
Soneso:contract-bindings

Conversation

@christian-rogobete

@christian-rogobete christian-rogobete commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

What

Adds the stellar contract bindings kmp subcommand. Like the python, java, flutter, swift and php subcommands, it displays a link to the stellar-contract-bindings tool.

Why

stellar-contract-bindings 0.6.0b0 generates Kotlin Multiplatform bindings for the KMP Stellar SDK.

Known limitations

The bindings are not generated by the cli. The cli only displays the link to the stellar-contract-bindings tool, like the other subcommands above.

The kmp subcommand mirrors the python, java, flutter, swift, and php
stubs: binding generation is not implemented in the CLI and the
error points at the external stellar-contract-bindings tool.
FULL_HELP_DOCS.md carries the regenerated entries.
Copilot AI balanced review requested due to automatic review settings September 6, 2026 16:47
@github-project-automation github-project-automation Bot moved this to Backlog (Not Ready) in DevX Sep 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the stellar contract bindings kmp command, directing users to the external Kotlin Multiplatform bindings generator.

Changes:

  • Registers and dispatches the new KMP subcommand.
  • Adds its external-tool error message.
  • Updates generated CLI documentation.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
FULL_HELP_DOCS.md Documents KMP bindings usage.
cmd/soroban-cli/src/commands/contract/bindings/kmp.rs Implements the external-tool notice.
cmd/soroban-cli/src/commands/contract/bindings.rs Registers and dispatches the command.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread cmd/soroban-cli/src/commands/contract/bindings.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog (Not Ready)

Development

Successfully merging this pull request may close these issues.

2 participants