Skip to content

SDK: define contract binding generation workflow #597

@Otaiki1

Description

@Otaiki1

Build location

Work primarily in sdk/src/contract. Keep related tests/docs beside that package unless this issue explicitly calls for a cross-package update.

Why this matters

Contract bindings should be reproducible and tied to deployed Soroban contract versions.

What to build

  • Document binding source, generation command, and expected output files.
  • Add version metadata for contract ID/network/schema.
  • Fail tests when bindings and constants are incompatible.

Acceptance criteria

  • README documents how to regenerate bindings.
  • Tests assert supported contract version metadata.

Suggested verification

cd sdk && npm run lint && npm run test && npm run build

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions