Skip to content

. Add course content hash verification #235

Description

@DeFiVC

What: Add a content hash field to courses for verifying on-chain content matches expected content.

Why: Course content integrity needs verification. Content hash ensures content hasn't been tampered with.

Scope: Add content_hash: Symbol field to Course struct. Add set_course_content_hash admin function. Verify hash in enrollment.

Acceptance criteria:

  • Courses have content hash
  • Hash can be updated
  • Hash is queryable
  • Hash verification is optional

Technical context: contracts/progress-tracker/src/types.rs:4-17 — Course struct.


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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