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

Introduce ERC1155 and token id support in group creation modal. #1740

Closed
rohitmalhotra1420 opened this issue Jul 16, 2024 · 1 comment
Closed
Assignees
Labels
Priority 1 Indicates highest priority

Comments

@rohitmalhotra1420
Copy link
Collaborator

In the Chat page when we create a new group then user can add some criteria to that group.

For adding a new criteria this modal is visible to the user.

We need to add one more option to the gating category dropdown which will be NFT ERC1155 as label and ERC1155 as value

When user selects NFT ERC1155 option then a new text field called Token Id will render below the contract field. It will accept only positive integer values and not negatives and decimal values.

Image

Updated Payload:

 {
                      type: 'PUSH',
                      category: 'ERC1155',
                      subcategory: 'holder',
                      data: {
                        contract:
                          'eip155:11155111:0xaae3dfc6904f0e08caa66ab314f15278e92f440d',
                        amount: 1,
                        tokenId: 2,
                      },
                    }
@rohitmalhotra1420 rohitmalhotra1420 added the Priority 1 Indicates highest priority label Jul 16, 2024
@rohitmalhotra1420
Copy link
Collaborator Author

@kalashshah please connect with Shoaib for this. He is handling the backend for this.

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

No branches or pull requests

2 participants