Joystream / Joystream/joystream

Content directory smart contracts: Channel handle uniqueness

Open
#1,914 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

smart-contract-content-directory
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Add handle to smart contracts Channel struct and include channelByHandle map.

This would allow the smart contracts to:

  • expose a view method to fetch a channel by handle
  • validate the handle uniqueness when new channel is beeing created
  • prevent updating the handle

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the smart contracts containing the Channel struct and inspect how channels are created and updated. Add the handle and channelByHandle behavior described in the issue, including the lookup view, uniqueness validation, and prevention of handle updates; done means all three behaviors work in the contract tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.