Joystream / Joystream/joystream
Content directory smart contracts: Channel handle uniqueness
Open
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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