Skip to content

Document Generating and Using Contract Bindings and SDKs #465

Closed

Description

@codebestia

Document how client developers get typed bindings for the contracts, how to keep them in sync with the deployed WASM, and how the generated types map to the data types reference.

Proposed steps:

  • Create docs/guides/contract-bindings.md.
  • Document generating TypeScript bindings from a built WASM or a deployed contract ID with the Stellar CLI, including the exact commands and output layout.
  • Document how workspace types (i128, BytesN<32>, Vec<T>, custom structs and enums) surface in the generated client, with conversion pitfalls (bigint handling, address formats, enum representation).
  • Provide a minimal working client example: instantiate, read (get_invoice), and write (pay_invoice) with signing.
  • Document versioning: regenerating bindings after an interface change, and how to detect a mismatch between client bindings and the deployed contract.
  • Document network configuration for local, testnet, and mainnet clients.

Acceptance criteria:

  • docs/guides/contract-bindings.md exists.
  • Binding generation commands are verified against the current toolchain.
  • Type mapping pitfalls are documented with examples.
  • A minimal read-and-write client example is included and runnable.

Activity

  1. achebejohnpaul commented on Aug 30, 2026

    @achebejohnpaul

    Am a full-Stack Engineer focused on frontend, backend, APIs, automation, and modern web technologies. Passionate about solving real-world problems, contributing to open source, and delivering clean, scalable, review-ready solutions.

  2. Ranjeet2063 commented on Sep 6, 2026

    @Ranjeet2063

    Hey team, I would love to tackle this issue!

    Execution Plan for Document Generating and Using Contract Bindings and SDKs:

    • Smart Contract Architecture: Implement Document Generating and Using Contract Bindings and SDKs with explicit auth checks (require_auth), clean DataKey storage, and zero-overflow arithmetic.
    • Exhaustive Testing: Add unit tests asserting both happy-path states and unauthorized reverts with exact ContractError variants.
    • Green CI: Verify zero clippy warnings and 100% test coverage locally before opening the PR.

    Why assign me?

    • Proven Proof-of-Work: Setup contribution codebase #1 contributor on Mova Store (28 merged Web3 PRs) and official ElizaOS contributor.
    • Fast Turnaround: Dedicated to shipping a tested, production-grade PR within 12–24 hours.
    • Zero Maintainer Burden: Self-documenting code with green CI and tests included so you don't spend time debugging.

    Happy to pick this up immediately—please assign to me!

  3. guptakumarranjeet150 commented on Sep 9, 2026

    @guptakumarranjeet150

    Hi maintainers,

    I can tackle Document Generating and Using Contract Bindings and SDKs. Proposed implementation roadmap:

    • Analysis: Inspect current behavior and edge cases in ShadeProtocol/shade-stellar-contract
    • Implementation: Implement Document Generating and Using Contract Bindings and SDKs with explicit require_auth checks, clean storage layouts, and robust Soroban contract logic.
    • Testing: Add comprehensive unit tests verifying both happy-path invocations and unauthorized revert scenarios.
    • PR: Atomic commit with clean git hygiene and passing CI

    Excited to work on this—please assign to me and I'll submit a clean PR shortly!

  4. shobhamerabacha-star commented on Sep 9, 2026

    @shobhamerabacha-star

    Hi maintainers,

    I can tackle Document Generating and Using Contract Bindings and SDKs. Proposed implementation roadmap:

    • Analysis: Inspect current behavior and edge cases in ShadeProtocol/shade-stellar-contract
    • Implementation: Implement Document Generating and Using Contract Bindings and SDKs with explicit require_auth checks, clean storage layouts, and robust Soroban contract logic.
    • Testing: Add comprehensive unit tests verifying both happy-path invocations and unauthorized revert scenarios.
    • PR: Atomic commit with clean git hygiene and passing CI

    Excited to work on this—please assign to me and I'll submit a clean PR shortly!

  5. ranjeet150 commented on Sep 12, 2026

    @ranjeet150

    Hi maintainers,

    I can tackle Document Generating and Using Contract Bindings and SDKs. Proposed implementation roadmap:

    • Analysis: Inspect current behavior and edge cases in ShadeProtocol/shade-stellar-contract
    • Implementation: Implement Document Generating and Using Contract Bindings and SDKs with explicit require_auth checks, clean storage layouts, and robust Soroban contract logic.
    • Testing: Add comprehensive unit tests verifying both happy-path invocations and unauthorized revert scenarios.
    • PR: Atomic commit with clean git hygiene and passing CI

    Looking forward to contributing—please feel free to assign!

  6. alexander22-dev commented on Sep 28, 2026

    @alexander22-dev

    @alexander22-dev has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

    Hi, I’d love to take on this issue! With my expertise in Rust, Stellar, and smart contract development, I can implement a clean and efficient solution.

    🚀 Why Me?
    Proven Blockchain Experience – Hands-on work with Stellar, Solidity, and Rust, building secure and optimized smart contracts.
    Open Source Contributor – Actively contributed to 50+ open-source projects, showcasing adaptability and collaboration.
    Efficient & Reliable – I deliver high-quality, production-ready solutions quickly, ensuring security and scalability.
    ⏱ Timeline
    I estimate completing this within 24 hours. Let me know if I can proceed!

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @alexander22-dev to this issue.

  7. temitope-007 commented on Sep 28, 2026

    @temitope-007

    @temitope-007 has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

    Hi maintainer

    I'd like to work on this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @temitope-007 to this issue.

  8. 0xDeon commented on Sep 28, 2026

    @0xDeon
    Contributor

    @0xDeon has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

    Can i work on this?

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @0xDeon to this issue.

  9. drips-wave commented on Sep 28, 2026

    @drips-wave

    Congratulations, @0xDeon! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.

    🧑‍💻 @0xDeon: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  10. drips-wave commented on Sep 29, 2026

    @drips-wave

    This issue has been completed by @0xDeon as part of the Stellar Wave Program's 9th Wave 🥳

    😎 @0xDeon: You earned 200 Points for completing this issue! After the current Wave ends, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

  11. added a commit that references this issue on Nov 10, 2026
    72a2e29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programdocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions