Skip to content

feat: generate idiomatic Python client bindings - #1

Open
Rayhab2000 wants to merge 1 commit into
masterfrom
issue-720-python-bindings
Open

Rayhab2000 wants to merge 1 commit into
masterfrom
issue-720-python-bindings

Conversation

@Rayhab2000

Copy link
Copy Markdown
Owner

Summary

Resolves Nanle-code#720.

  • Restore binding-language dispatch so generation works for all supported targets.
  • Generate typed Python 3.10+ clients with sync and async invocation methods.
  • Encode booleans, bytes, dataclasses, and collection arguments deterministically.
  • Raise ContractInvocationError with CLI failure details.
  • Add keyword-safe identifiers, regression tests, checked-in runtime support, and usage documentation.

Validation

  • python -m py_compile client.py
  • git diff --check
  • cargo test utils::bindings --lib was attempted; crates.io dependency fetching did not complete in the local environment.
  • cargo fmt was attempted; rustfmt is not installed for the active toolchain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Advancement] Generate idiomatic Python client bindings for Soroban contracts

1 participant