Skip to content

feat(soroban): add ContractInteractionBuilder for building contract c… - #225

Merged
Just-Bamford merged 2 commits into
Sorokit:mainfrom
oraimoitel:feat/contract-builder-203
Jul 29, 2026
Merged

feat(soroban): add ContractInteractionBuilder for building contract c…#225
Just-Bamford merged 2 commits into
Sorokit:mainfrom
oraimoitel:feat/contract-builder-203

Conversation

@oraimoitel

Copy link
Copy Markdown
Contributor

…alls

Implement ContractInteractionBuilder class for interactive Soroban contract call construction without writing code.

  • Contract address validation (C/D prefix format)
  • Method loading from contract via getContractMethods
  • Dynamic argument fields based on contract schema
  • Argument validation by type (bool, u32, i32, u64, i128, address, etc.)
  • Code generation (JavaScript, TypeScript, XDR, JSON preview)
  • Event-based state management with subscribe/unsubscribe
  • Reset/resetAll for state management
  • Comprehensive test coverage (23 tests)

Closes #203

…alls

Implement ContractInteractionBuilder class for interactive Soroban
contract call construction without writing code.

- Contract address validation (C/D prefix format)
- Method loading from contract via getContractMethods
- Dynamic argument fields based on contract schema
- Argument validation by type (bool, u32, i32, u64, i128, address, etc.)
- Code generation (JavaScript, TypeScript, XDR, JSON preview)
- Event-based state management with subscribe/unsubscribe
- Reset/resetAll for state management
- Comprehensive test coverage (23 tests)

Closes Sorokit#203
@drips-wave

drips-wave Bot commented Jul 26, 2026

Copy link
Copy Markdown

@oraimoitel Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Just-Bamford
Just-Bamford merged commit 0a55f3e into Sorokit:main Jul 29, 2026
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Build contract interaction builder UI

2 participants