Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Uniqueness Check for nftMetadataHash During IP Registration #106

Closed
sebsadface opened this issue Oct 23, 2024 · 0 comments · Fixed by #108
Closed

Add Uniqueness Check for nftMetadataHash During IP Registration #106

sebsadface opened this issue Oct 23, 2024 · 0 comments · Fixed by #108
Labels
enhancement New feature or request

Comments

@sebsadface
Copy link
Member

Description and Context

Currently, the same external IP can be registered as IP an unlimited number of times. We’ve received a request to implement a mechanism that checks the uniqueness of the content, allowing it to be registered as IP only if it is unique.

Suggested Solution

To address this, we can introduce a check in the existing periphery functions responsible for IP registration. The check will ensure that an IP is only registered if the nftMetadataHash (part of the WorkflowStructs.IPMetadata struct) does not already exist. If the content is not unique, the function will return the ID of the already registered IP.

This check will be disabled by default and can be enabled by passing a boolean flag set to true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant