Integrate Soroban Token Transfers on Fund and Payout
Description
Wire the escrow contract to the Stellar asset contract (SAC) or a compliant token interface so fund, withdrawal, and claim paths move real tokens instead of bookkeeping-only amounts.
Requirements and context
- Must be secure, tested, and documented
- Should be efficient and easy to review
Suggested execution
- Fork the repo and create a branch
git checkout -b feature/escrow-token-transfer-integration
- Implement changes
- Write contract:
escrow/src/lib.rs
- Write comprehensive tests:
escrow/src/test.rs
- Add documentation:
README.md
- Include Rust doc comments for allowance, balance, and transfer invariants
- Validate security assumptions around approval and reentrancy-free patterns
Test and commit
- Run tests
- Cover edge cases
- Include test output and security notes
Example commit message
feat(escrow): integrate SAC token transfers for fund and payout flows
Guidelines
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 96 hours
Integrate Soroban Token Transfers on Fund and Payout
Description
Wire the escrow contract to the Stellar asset contract (SAC) or a compliant token interface so
fund, withdrawal, andclaimpaths move real tokens instead of bookkeeping-only amounts.Requirements and context
Suggested execution
git checkout -b feature/escrow-token-transfer-integrationescrow/src/lib.rsescrow/src/test.rsREADME.mdTest and commit
Example commit message
feat(escrow): integrate SAC token transfers for fund and payout flowsGuidelines