Skip to content

Add Merkle-proof-based reputation verificationΒ #60

@dDevAhmed

Description

@dDevAhmed

πŸ“š Overview

Contracts currently trust backend/oracle reputation values without verification.


🌊 Drips Context

This violates a core Web3 principle: trust minimization.

Reputation must be cryptographically verifiable.


❗ Problem

  • Direct oracle reads
  • No proof validation

βœ… Expected Behavior

  • Backend submits Merkle root
  • Users provide proof when voting
  • Contract verifies inclusion

🧠 Implementation Guidelines

  • Add root storage
  • Add proof verification function
  • Modify vote function to require proof

βœ… Acceptance Criteria

  • Valid proofs pass
  • Invalid proofs revert
  • Root updates handled safely

⏳ Complexity

High


🏷 Labels

audit, protocol, high-priority, drips-wave

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions