Description
Frontend developers manually copy contract IDs and write types, which is error-prone.
Proposed Solution
Use the Soroban CLI (soroban contract bindings typescript) to generate a TypeScript package for the contract, and wire it into the build step.
Acceptance Criteria
Suggested Implementation Areas
package.json, scripts/generate-bindings.sh
Impact
Ensures end-to-end type safety between the Rust smart contract and the Node/React frontend.
Description
Frontend developers manually copy contract IDs and write types, which is error-prone.
Proposed Solution
Use the Soroban CLI (
soroban contract bindings typescript) to generate a TypeScript package for the contract, and wire it into the build step.Acceptance Criteria
packages/typesdirectorySuggested Implementation Areas
package.json,scripts/generate-bindings.shImpact
Ensures end-to-end type safety between the Rust smart contract and the Node/React frontend.