Skip to content

Add a stellar contract bindings JSON generation step to CI #37

Description

@P3az3

Problem Statement There is no generated client-side TypeScript / JSON ABI in the repo. Off-chain tooling has to hand-craft the XDR shapes.

Expected Outcome A make bindings target that runs stellar contract bindings json --wasm target/wasm32v1-none/release/milestonex_campaign.wasm --out bindings/. The bindings file bindings/milestonex_campaign.json is committed and updated any time the contract changes (CI check).

Acceptance Criteria

  • make bindings produces bindings/milestonex_campaign.json.
  • A CI check fails if the bindings file is stale.
  • The bindings commit is automatically regenerated by a follow-up CI workflow on contract re-builds.

Implementation Notes

  • stellar contract bindings supports json, rust, and typescript outputs; pick one or maintain all.

Affected Files / Modules

  • Makefile
  • .github/workflows/ci.yml
  • New: bindings/ directory

Dependencies — Issue 14 (correct binary name).

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26ciCI workflow or pipeline change.developer-experienceTooling, scaffolding, contributor workflow.priority/p2Should-do in current quarter.toolingInternal / build / script tooling.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions