Skip to content

Buyer and seller ratings/reputation #580

@nafiuishaaq

Description

@nafiuishaaq

Description:
Allow parties to leave on-chain ratings after successful escrow completion to build a reputation system.

Acceptance Criteria:

rate_counterparty(session_id, rating: u8, comment: String) — callable after Approved.

Rating must be 1–5 stars.

Both buyer and seller can rate each other once per session.

get_user_rating(address) -> (average_rating, total_ratings) view function.

Ratings stored in separate instance storage (not overwriting session).

Emits RatingSubmitted(session_id, from, to, rating) event.

Labels: reputation, social, post-settlement

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions