Skip to content

Rewrite lib/trustless-work.ts to match the real Trustless Work API#324

Open
heymide wants to merge 1 commit into
Kaizenode:mainfrom
heymide:rewrite-work-api
Open

Rewrite lib/trustless-work.ts to match the real Trustless Work API#324
heymide wants to merge 1 commit into
Kaizenode:mainfrom
heymide:rewrite-work-api

Conversation

@heymide

@heymide heymide commented Jul 16, 2026

Copy link
Copy Markdown

Closes #306

📝 Updated trustless-work.ts to use the v2 API:

Changes made:

Authentication: Changed from Authorization: Bearer ${apiKey} to x-api-key: apiKey
Endpoints: Replaced old /escrow/* routes with v2 endpoints:
deploy, fund, changeMilestoneStatus, approveMilestones, releaseFunds, update, dispute, resolveDispute, sendTransaction, getEscrowsBySigner, getMultipleEscrowBalance
The base URL remains https://dev.api.trustlesswork.com (testnet). For mainnet, change to https://api.trustlesswork.com.

🛠️ Issue

📖 Description

✅ Changes made

🖼️ Media (screenshots/videos)

📜 Additional Notes

@heymide

heymide commented Jul 16, 2026

Copy link
Copy Markdown
Author

Done, Close: #324

@diegoTech14

Copy link
Copy Markdown
Contributor

Hello @heymide, could you upload images evidencing the correct functionality please?

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.

Rewrite lib/trustless-work.ts to match the real Trustless Work API

3 participants