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

fix(simpleMintAndRegister.ts) - token id conversio, metadata conversion #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cryptoryda
Copy link

Token ID Conversion:

  • Converted tokenId to a string before passing it to the registerIpAndAttachPilTerms method to prevent type issues.
    Metadata Hash Calculation:

  • Made hash generation more readable and ensured consistent hex formatting.
    Inline Documentation:

  • Added comments for better clarity and understanding of each step.
    Terms Placeholder:

  • Kept the terms array empty but provided a placeholder for future terms.

@cryptoryda
Copy link
Author

@jacob-tucker
Let me know if you have any questions about this PR Thanks

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

Successfully merging this pull request may close these issues.

1 participant