Skip to content

Integrate Soroban Token Transfers on Fund and Payout #93

@mikewheeleer

Description

@mikewheeleer

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions