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] Opensea Unhide NFTs Script #62

Open
thepeanutgalleryandco opened this issue Apr 27, 2022 · 2 comments
Open

[FEATURE] Opensea Unhide NFTs Script #62

thepeanutgalleryandco opened this issue Apr 27, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@thepeanutgalleryandco
Copy link
Owner

Summary

As a user. I would like to run a script that will automatically unhide my NFTs.

Basic example

Running the script logs in via my private key onto Opensea and then starts unhiding my NFT collection items.

Motivation

It is very time consuming to manually unhide NFTs

@thepeanutgalleryandco
Copy link
Owner Author

The utils/opensea/unhide_nfts.js script allows users to specify a collection in their hidden tab and then auto unhides through X number of iterations the NFTs for that collection.

const MAX_LOOPS = 1; // Set the maximum number of unhide attempts that will be done on the collection if items are found.
const NFT_COLLECTION_NAME = ''; // Set the name of the NFT collection so that it can be found in your hidden tab.
const walletPrivateKey = ''; // Set the private key of the wallet that you would like to import and use. Upon importing a private key, the imported wallet will automatically be chosen.

Example:
const MAX_LOOPS = 1;
const NFT_COLLECTION_NAME = 'Steak Bites';
const walletPrivateKey = '8e51i2n3i2oco3o102k3k2k31k2nifn0139r17213k2hhh1i23p142e1o124ao11';

The reason for the maximum loops value is due to the way that Opensea refreshes their data grid and at times, unhidden NFTs will re-appear in the hidden tab. When this happens, give it some time for Opensea to refresh their data and continue unhiding at a later stage.

@thepeanutgalleryandco
Copy link
Owner Author

This script is still very experimental and changes might be added in the future to make it run smoother.

@thepeanutgalleryandco thepeanutgalleryandco moved this from In Progress to Todo in create-and-mint-nft-collection May 30, 2022
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

No branches or pull requests

1 participant