Skip to content

Content License Registry #397

Closed
Closed

Description

@Mkalbani

Location: contracts/content_license
Language: Rust (Soroban)
Labels: smart-contract, soroban, progressive
Estimated Time: 6 hours
Difficulty: Medium
Chain: 03 → 04

Description

Creators register license terms for each puzzle on chain, such as free to play, paid per play, or remix allowed. Terms are immutable once published, with a new version required for changes.

Tasks

  • Define license term structure and types
  • Implement register function for creators only
  • Store terms by puzzle and version
  • Make published terms immutable
  • Implement read function for current terms
  • Write unit tests

Acceptance Criteria

  • Only the puzzle creator can register terms
  • Published terms cannot be edited in place
  • New versions retrievable by puzzle
  • All tests pass

Activity

  1. added
    Stellar Wave
    on Nov 21, 2026
  2. ifnanabdulkhadir-hub commented on Nov 22, 2026

    @ifnanabdulkhadir-hub

    @ifnanabdulkhadir-hub has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

    Hello maintainer,

    I'd like to work on this. In contracts/content_license, I'll define a LicenseTerms contracttype (license kind: free-to-play / paid-per-play with price / remix allowed, plus a revocable flag and refund rule so #398 can build on it) and publish_terms(creator, puzzle_id, terms), which requires the creator's auth and stores the terms under (puzzle_id, version) with an auto-incremented version. Published versions are never overwritten; changes always create a new version. I'll add get_current_terms(puzzle_id) and get_terms(puzzle_id, version), with tests for creator-only registration, immutability, version increments and lookups. How should the contract verify the puzzle creator: through a cross-contract call to the existing puzzle contract, or a creator stored at puzzle registration?

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @ifnanabdulkhadir-hub to this issue.

  3. ykargeee-bit commented on Nov 22, 2026

    @ykargeee-bit
    Contributor

    @ykargeee-bit has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

    Hi Maintainer,

    I’m a full-stack developer, and I’d like to contribute to the task. I’ll implement it carefully and efficiently thoroughly understand requirements and edge cases
    Communicate promptly about suggestions or improvements. And I will provide regular progress updates and address blockers
    Align with project goals through feedback and clarification.

    Thank you,

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @ykargeee-bit to this issue.

  4. drips-wave commented on Nov 22, 2026

    @drips-wave

    Congratulations, @ykargeee-bit! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.

    🧑‍💻 @ykargeee-bit: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  5. grantfox-oss commented on Nov 22, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @ykargeee-bit's PR #417 was approved and merged by @Mkalbani.

    🏆 @ykargeee-bit: You earned 40 FoxPoints for this contribution! Your current tier: Builder (2,065 total points). Track your full progress on GrantFox.

    👏 Great work, @ykargeee-bit! Keep contributing to MindFlowInteractive.

  6. drips-wave commented on Nov 22, 2026

    @drips-wave

    This issue has been completed by @ykargeee-bit as part of the Stellar Wave Program's 11th Wave 🥳

    😎 @ykargeee-bit: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

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

Metadata

Metadata

Assignees

Labels

Stellar Wave

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions