Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPIKE - Exploring Attestations with Reclaim Protocol in Trustless Work Escrows #41

Open
techrebelgit opened this issue Feb 20, 2025 · 0 comments

Comments

@techrebelgit
Copy link
Contributor

Issue Overview
The goal of this Spike is to explore how Reclaim Protocol can be integrated into Trustless Work's escrow system to enable attestations of off-chain actions.

Repository
📌 Trustless Work Smart Escrow Contract
https://github.com/Trustless-Work/Trustless-Work-Smart-Escrow
Background & Context
🔹 Reclaim Protocol allows users to prove off-chain actions (such as PayPal transactions, GitHub commits, or email confirmations) and serialize this proof into an on-chain, verifiable format.

🔹 This could be highly valuable for our escrow system. For example:

A Service Provider could attest that they sent a PayPal payment.
A Freelancer could prove they committed code without sharing private repo details.
A P2P exchange could verify that a user made a bank transfer without exposing sensitive data.
🔹 Reclaim Protocol already has an integration with Stellar & Soroban, making it a potential fit for Trustless Work.

What This Spike Aims to Achieve
✅ Understand the Reclaim Protocol SDK and how it interacts with Soroban/Stellar smart contracts.
✅ Determine what is required from our escrow contract to support attestations.
✅ Create a proof-of-concept (PoC) integration demonstrating how Reclaim attestations could be submitted and verified.
✅ Define potential use cases for Trustless Work and how they could enhance the escrow workflow.

Research & Implementation Steps
1️⃣ Review Reclaim Documentation & Stellar SDK

📚 Reclaim Docs - Stellar Integration
📚 Reclaim GitLab - Stellar SDK & Contracts
2️⃣ Explore the Proof Submission Process

How are proofs requested from users?
How is proof data structured for on-chain submission?
How is a proof validated in a smart contract?
3️⃣ Create a Simple PoC Using Reclaim + Soroban

Implement a minimal contract that accepts & verifies a Reclaim attestation.
Ensure compatibility with existing Trustless Work escrows.
4️⃣ Analyze the Required Changes for Our Escrow Contracts

What modifications are needed to store & verify attestations?
Can we attach attestations to milestones?
Should attestations unlock payments under certain conditions?
5️⃣ Document Learnings & Next Steps

Summarize the findings from this Spike.
Define potential roadmap tasks for a full integration.
Expected Deliverables
✅ A PoC contract demonstrating Reclaim attestations on Soroban.
✅ A report summarizing:
How Reclaim works.
How it can be integrated into Trustless Work.
Required modifications to our escrow contract.
Potential future applications.

Tech Stack
Soroban (Stellar smart contracts)
Rust (for contract development)
Reclaim Protocol SDK (for off-chain attestations)

Difficulty Level: ⚡ Intermediate
This task requires familiarity with smart contracts, off-chain attestations, and Soroban/Stellar SDKs.

Additional Notes
This is a Spike, meaning the focus is on research and discovery, not immediate production implementation.
If successful, we can extend this into a fully-fledged feature for Trustless Work.
Open to suggestions and alternative approaches.

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

No branches or pull requests

1 participant