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

[FEATURE] Reveal NFTs Functionality Via NFTPort #24

Closed
thepeanutgalleryandco opened this issue Feb 14, 2022 · 1 comment · Fixed by #25
Closed

[FEATURE] Reveal NFTs Functionality Via NFTPort #24

thepeanutgalleryandco opened this issue Feb 14, 2022 · 1 comment · Fixed by #25
Assignees
Labels
enhancement New feature or request

Comments

@thepeanutgalleryandco
Copy link
Owner

Summary

Add the ability to poll every X number of seconds to fetch all NFTs on a specific wallet address. Find all NFTs that belong to a specific contract from these NFTs. Match the NFTs from this new list with the list of NFTs from the original Minting process. If a NFT is in the original minting file, but it is not in the list retrieved, then the NFT should be revealed.

Once a NFT has been revealed, it should be recorded and future checks should not try to reveal the NFT again as it should first check the recorded files to check if it was revealed before or not.

Basic example

As a user, I have minted a 1000 NFT collection to contract ABC against wallet 12345.
Check wallet 12345 and find all NFTs available from contract ABC and add it into a list.
Loop through the minted NFT collection file and check if NFT in the list can be found in the list retrieved in the previous step.

If it can't be found, then reveal the NFT and write out a new reveal json file. If the NFT can be found in both lists, then skip the file as the NFT was not sold or transferred and still belongs to the original owner.

Motivation

Users can deploy a script that they leave running on a pc, laptop, cloud server that will manage their reveal processes. This will give users time to focus on the rest of the work like community building and not be concerned users' NFTs not being revealed once purchased.

@thepeanutgalleryandco thepeanutgalleryandco added the enhancement New feature or request label Feb 14, 2022
@thepeanutgalleryandco thepeanutgalleryandco self-assigned this Feb 14, 2022
@thepeanutgalleryandco
Copy link
Owner Author

The Reveal script has been implemented from the codeSTACKr codebase into this code base. I have not been able to test this on my end as this does not work on Rinkeby network.

Please let me know if you run into any issues.

@thepeanutgalleryandco thepeanutgalleryandco linked a pull request Feb 27, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

1 participant