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 note for addressGroup in wallet connection #464

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

Prakash-Shelar
Copy link
Contributor

No description provided.

const index = await nftCollection.groupIndex;
```

This code retrieves the group index associated with the contract, confirming the correct `addressGroup`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update!

You can use the function groupOfAddress(contractAddress) from the SDK, which might be easier.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes groupOfAddress(contractAddress) is an easier way to get the group of contract.

@polarker polarker merged commit bd2c70d into alephium:master Oct 25, 2024
1 check passed
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.

2 participants