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

Collection Edit: Support Permissions Update #11148

Open
vikiival opened this issue Oct 22, 2024 · 2 comments · May be fixed by #11217
Open

Collection Edit: Support Permissions Update #11148

vikiival opened this issue Oct 22, 2024 · 2 comments · May be fixed by #11217
Assignees
Labels
A-collection work being done collection view enhancement New feature or request
Milestone

Comments

@vikiival
Copy link
Member

vikiival commented Oct 22, 2024

Context

Add functionality to the collection edit modal allowing users to update collection permissions. Ensure that updated permissions are accurately enforced and reflected on-chain (if applicable).

Task

Your task is to call nfts.updateMintSettings(collection, mintSettings) where collection parameter is obvious so I expand the mintSettings

Screenshot 2024-12-03 at 13 12 50

mintSettings has few fields:

  • type - the most important part
  • price - the price that is set to mint
  • startBlock - starting period of minting
  • endBlock - ending period of minting.

For the task I would hide start and endblock

So we have just type and price

we have three types:

  • Issuer - the one that Koda uses classic minting (create at our platform)
  • Public - one we use with drops (along with price :)) - anyone can
  • HolderOf(collection) - we used that In the past at one drop

I will expand after MetaHours

@vikiival vikiival added the enhancement New feature or request label Oct 22, 2024
@vikiival vikiival added the A-collection work being done collection view label Oct 22, 2024
@vikiival vikiival added this to the Atomic Swaps milestone Oct 22, 2024
@Jarsen136
Copy link
Contributor

@vikiival could you provide more input about the permission? Which field or metadata are related to the permission of collection?

@vikiival
Copy link
Member Author

vikiival commented Dec 3, 2024

@Jarsen136 I have updated the description, please check, I will expand the rest

@Jarsen136 Jarsen136 self-assigned this Dec 3, 2024
@Jarsen136 Jarsen136 moved this from Todo to In Progress in Asset Hub - Offers/Atomic Swaps Dec 5, 2024
@Jarsen136 Jarsen136 linked a pull request Dec 5, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-collection work being done collection view enhancement New feature or request
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

4 participants
@vikiival @Jarsen136 and others