Skip to content

feat(frontend): add Soroban contract parameter encoding and integrate - #1058

Merged
ONEONUORA merged 1 commit into
Fracverse:masterfrom
vestor-dev:frontend_builder
Aug 28, 2026
Merged

feat(frontend): add Soroban contract parameter encoding and integrate#1058
ONEONUORA merged 1 commit into
Fracverse:masterfrom
vestor-dev:frontend_builder

Conversation

@vestor-dev

Copy link
Copy Markdown
Contributor

…inheritance plan creation

  • Create new Stellar utility modules for contract parameter encoding, network configuration, and Soroban client initialization
  • Implement contractParams.ts with encoding functions for distribution methods, beneficiaries, and plan parameters matching contract expectations
  • Add network.ts to centralize Soroban RPC endpoint and network configuration via environment variables
  • Implement sorobanClient.ts with SorobanServer initialization and contract invocation utilities
  • Update inheritanceContractService.ts to use new encoding utilities for contract interactions
  • Refactor plan creation components to utilize new contract parameter encoding
  • Update WalletContext.tsx to support contract parameter building and transaction simulation
  • Add comprehensive unit tests for contract parameter encoding with validation coverage
  • Update dependencies to support Soroban contract integration and testing
  • Migrate from manual contract invocation to encoded parameter approach for improved type safety and contract compatibility

closes #1030

… inheritance plan creation

- Create new Stellar utility modules for contract parameter encoding, network configuration, and Soroban client initialization
- Implement `contractParams.ts` with encoding functions for distribution methods, beneficiaries, and plan parameters matching contract expectations
- Add `network.ts` to centralize Soroban RPC endpoint and network configuration via environment variables
- Implement `sorobanClient.ts` with SorobanServer initialization and contract invocation utilities
- Update `inheritanceContractService.ts` to use new encoding utilities for contract interactions
- Refactor plan creation components to utilize new contract parameter encoding
- Update `WalletContext.tsx` to support contract parameter building and transaction simulation
- Add comprehensive unit tests for contract parameter encoding with validation coverage
- Update dependencies to support Soroban contract integration and testing
- Migrate from manual contract invocation to encoded parameter approach for improved type safety and contract compatibility

@ONEONUORA ONEONUORA left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job @vestor-dev

@ONEONUORA
ONEONUORA merged commit 63b53a3 into Fracverse:master Aug 28, 2026
4 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.

frontend: Integrate Soroban On-Chain Plan Creation & Stellar SDK Transaction Builder

2 participants