-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Implement cross-contract calls to enable automated allocation of remittances across different contracts.
Implementation Requirements
Integration Points
-
Remittance Split → Savings Goals:
- Automatically add funds to savings goals based on split percentage
-
Remittance Split → Bill Payments:
- Automatically pay bills from allocated amount
-
Remittance Split → Insurance:
- Automatically pay premiums from allocated amount
-
Family Wallet → All Contracts:
- Check spending limits before operations
- Enforce role-based permissions
Implementation Approach
- Create orchestrator contract or
- Add cross-contract call functions to existing contracts
- Handle errors and rollbacks
- Gas optimization considerations
Technical Specifications
- Use Soroban SDK cross-contract calls
- Handle contract addresses as parameters
- Error handling and rollback logic
- Gas estimation
Acceptance Criteria
- Cross-contract calls implemented
- Error handling works correctly
- Gas costs optimized
- Tests for integration scenarios
- Documentation updated
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed