Skip to content

feat: add escrow release milestone wrapper#62

Open
MyouzzZ wants to merge 1 commit into
trustflow-protocol:mainfrom
MyouzzZ:task/escrow-release-milestone
Open

feat: add escrow release milestone wrapper#62
MyouzzZ wants to merge 1 commit into
trustflow-protocol:mainfrom
MyouzzZ:task/escrow-release-milestone

Conversation

@MyouzzZ

@MyouzzZ MyouzzZ commented Jun 24, 2026

Copy link
Copy Markdown

Summary

  • add ReleaseMilestoneParams and buildReleaseMilestoneArgs for the Soroban release_milestone call
  • add and export releaseMilestone() with escrow id, milestone id, amount, and caller validation
  • add Jest coverage for the generated ScVal/XDR payload order and invalid release milestone params

Closes #11

Validation

  • npm test -- --runTestsByPath tests/escrow.test.ts
  • npm run build
  • npm run lint exits 0 with existing repository warnings

Notes

  • Local dependency install used npm install --ignore-scripts because the checked-in lockfile is currently missing npm optional platform entries required by npm ci; no lockfile changes are included in this PR.

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.

Implement escrow.releaseMilestone() wrapper

1 participant