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 an example that paginate all NFTs of a given wallet #2

Closed
lorisleiva opened this issue May 11, 2022 · 0 comments · Fixed by #7
Closed

Add an example that paginate all NFTs of a given wallet #2

lorisleiva opened this issue May 11, 2022 · 0 comments · Fixed by #7
Labels
fellowship Task ideally reserved for fellowships

Comments

@lorisleiva
Copy link
Contributor

Create a simple React application that paginate NFTs from a given wallet.

  • Add an input text for users to enter the public key of someone's wallet.
  • Use that wallet address to fetch all of its NFTs using the JS SDK.
  • Paginate these NFTs in an efficient way. Pagination is not really a think with getProgramAcccount so we have to be creative. This article help understand how to achieve pagination in Solana. This is abstracted by the SDK but we still need to be clever about how we call its method and load the data.
  • Write a detailed README file that explains the steps to reproduce to achieve the created example. Look at the current READMEs for inspiration. Since this example is not about getting started with a web framework, choose a starting framework from this repository and link to its README as the first first. I recommend Next.js since it has the lowest amount of steps to get started right now.
  • When writing the steps to reproduce, it is fine to add links to larger components or style sheets instead of having to explain them all in the README. Especially if the component is more here for UI proposes than for providing valuable logic.
  • When styling components, try to stay consistent to the neutral style that was created in the existing examples.
@lorisleiva lorisleiva added the fellowship Task ideally reserved for fellowships label May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fellowship Task ideally reserved for fellowships
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant