Labels: soroban, developer-experience
Description
ContractABI.jsx and contractInvoker.js support manual invocation. Advanced devs need spec-driven arg forms (like Stellar CLI contract bindings).
Tasks
Parse contract spec from fetchContractInfo in src/lib/stellar.ts.
Generate dynamic form fields in ContractInteraction.jsx from spec types (ScVal mapping).
Document in docs/api/stellar.md.
Acceptance criteria
Enter contract ID → function list populated from on-chain spec.
Args validated before simulate.
Files
src/lib/stellar.ts (fetchContractInfo, simulateContractCall)
src/lib/contractInvoker.js
src/components/dashboard/ContractInteraction.jsx
src/components/dashboard/ContractABI.jsx
Labels: soroban, developer-experience
Description
ContractABI.jsx and contractInvoker.js support manual invocation. Advanced devs need spec-driven arg forms (like Stellar CLI contract bindings).
Tasks
Parse contract spec from fetchContractInfo in src/lib/stellar.ts.
Generate dynamic form fields in ContractInteraction.jsx from spec types (ScVal mapping).
Document in docs/api/stellar.md.
Acceptance criteria
Enter contract ID → function list populated from on-chain spec.
Args validated before simulate.
Files
src/lib/stellar.ts (fetchContractInfo, simulateContractCall)
src/lib/contractInvoker.js
src/components/dashboard/ContractInteraction.jsx
src/components/dashboard/ContractABI.jsx