Skip to content

Generate TypeScript client bindings for frontend #15

Description

@Divineifed1

Description:
Automate generation of TypeScript client wrappers for all Soroban contracts so the Next.js frontend can interact with them without hand-written RPC calls. Bindings must be committed to the repo and versioned.

Acceptance criteria:

  • soroban-cli contract bindings generated into packages/soroban-clients/src/
  • Each contract has its own module (betting, rewards, player-nft, vault)
  • package.json script: generate:contracts runs stellar contract bindings
  • Generated files pass tsc --noEmit without errors
  • README documents how to regenerate bindings after contract changes

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

Type

No type

Fields

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