Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
1
vote
Accepted
How can I check whether an account is holder of a given NFT or not in Anchor?
My approach would be to leverage Anchor Account Structs:
This is assuming your nft is from a certain collection.
Otherwise you can get rid of collection_mint acc and the collection constraints in the …
1
vote
Token_2022 and mpl_token_metadata test issues
Hey the reason its failing its because you didnt dumped the metadata program.
When running locally you need to:
first if you haven't dumped the program you do :
solana program dump -u d metaqbxxUerdq2 …