DEV Community

How to mint 10000 NFTs on Opensea

Emanuel Ferreira on October 28, 2021

Minting to Opensea After creating all your NFTs the more hardest step is to mint so many NFTs to Opensea mostly in large quantities with...
Collapse
 
bikramgyawali profile image
Bikram Gyawali

Hello emanuel . This is a great content ever.
But i am stucked on uploadfile function the error is

TypeError: Cannot read property 'uploadFile' of null

const uploadImage = async (page: Page, file: string) => {
const elementHandle = await page.$("#media");
await elementHandle.uploadFile(images/${file});

return;
};

what do you think the error is ?
Are the api endpoints are changed ?

Collapse
 
emanuelferreira profile image
Emanuel Ferreira

Hello Bikram, maybe the upload image selector was updated , so he dont find the file input, you can try use the dev tools to see the new upload image selector

Collapse
 
bikramgyawali profile image
Bikram Gyawali

Thankyou Emanuel I came to the next error that is not included in this tutorial maybe you can help
so the thing i am doing is to sign the wallet signature of metamask , this step is not included here , So what I did is just made new instance of the metamask sign page

const newpage = await browser.newPage();
await newpage.goto(`chrome-extension://${extensionID}/${extensionEndURL}`);
await pageTimeout(4000, page);

const button = await page.$("body:nth-child(2)"); // problematic selector
await button.click();
Enter fullscreen mode Exit fullscreen mode

Here the second child is the sign button on clicking that our item gets added to the Collection.
I need your help here and this is the only one tutorial all over the internet i can get.Thanks for that also followed you on github.
your help is greatly appreciated

Thread Thread
 
bikramgyawali profile image
Bikram Gyawali

problem solved hahahh my blunder mistake . Thankyou Emanuel for this content
now i will be doing all the selling automation with likes hahahhaha.
I might be back here again for those coming errors hehe.

Collapse
 
iih39354895 profile image
I H • Edited

Hey @emanuelferreira. Thank you very much for the excellent explanation and effective solution.

After I upload/minting the items in to Openea with your scrpt how do I enter the price for them and listing them for sale. Maybe I missed something.

And if the idea is to do it on the interface of Opensea.
Do you know if there an option to list all the items at once (say 10K items)
i checked and i can't find an option like this.
thanks for the help!

Collapse
 
iih39354895 profile image
I H

:) U gave 'like' but what should i do? hhh

Collapse
 
emanuelferreira profile image
Emanuel Ferreira

Sorry, I forgot to send the answer hahaha

I'm searching for time to update the script to put the items to sell automatically and update the post teaching how to do it, you can call me in Twitter and I show to you how to adapt the script to put to sell

twitter.com/manelferreira_

Collapse
 
milanic profile image
Frank Stangenberger

Hi @emanuelferreira ,
All works fine, until a few days ago. Then the sign of login to opensea doesn't work any longer. But I could click myself the sign button.
But now, after all properties are inserted and clicking the 'create' button I get only the error from opensea: [401] Not authorized contract editor.

Can you confirm this. Is there a way to fix this?
Maybe they doesn't support test environments? Puppeteer always starts a browser with the hint 'Chrome is being controlled by automated test software'

Kind regards
Frank

Collapse
 
emanuelferreira profile image
Emanuel Ferreira

Hey Frank can you verify if the url to create the collection is right? opensea.io/assets/collectionName/c... or opensea.io/asset/collectionName/cr...

Collapse
 
milanic profile image
Frank Stangenberger

Shame on me. I've removed my secret phrase for git push and forget to add it again. I'm so sorry!

Collapse
 
milanic profile image
Frank Stangenberger

Yes. The url opensea.io/collection/${collection... is right. It works for a few weeks. :)

Collapse
 
arshinnef profile image
Arshin nefasati

Hi @emanuelferreira. Thank you very much for the explanation and great solution.
I am facing some issues with the script, please can you take a look at the attached screen and kindly let me know what am I missing or doing wrong? dev-to-uploads.s3.amazonaws.com/up...

Collapse
 
emanuelferreira profile image
Emanuel Ferreira

Hi @arshinnef, before run the yarn es you run the yarn install to install the packages?

Collapse
 
arshinnef profile image
Arshin nefasati • Edited

dev-to-uploads.s3.amazonaws.com/up...
dev-to-uploads.s3.amazonaws.com/up...
Thank you for your reply, Yes I installed the package but still i get this error. Can you help to fix the issue please, I'll appreciate your help.

Thread Thread
 
emanuelferreira profile image
Emanuel Ferreira

Hi Arshin, you change the variable collectionName to happyapesub, so only need to back to collectionName

Collapse
 
arbeltal profile image
ArbelTal

Hi, why do i need to enter my phrase? there's no other way?
metamask allready connectend in my pc.

thank you.

Collapse
 
emanuelferreira profile image
Emanuel Ferreira

Hey, it's because in this flow the script need to join on your account in a new browser, so your account is not connected.

You can try to update the script to use your browser which is already logged in Metamask.

Collapse
 
arbeltal profile image
ArbelTal

Hi, thanks for the reply.

I'm new to programing where can i start with solving it?.

Collapse
 
anhnpt profile image
AnhNPT

Hi there, can you add the function "add properties on opensea"?
I think you forget that :D

Collapse
 
souravmaji1 profile image
sourav maji

hi everyone , intead of this method i have made a post regarding uploading bulk nfts let say upto 10k nfts using 1 single with only smart contract and all the nfts will be uploaded in marketplaces in less than 2 minutes

Bulk nfts upload using smart contract in 5 minutes

Collapse
 
ahmedabdrapo profile image
ahmedabdrapo

Hello Emanuel
Thank You for the great one.
I have problem here.
I signed up for NFTPort with Community account with 50K free minting (As they promised)
But once I finished making my NFTs and after I uploaded everything to IPFs I started to mint but after few mints I got that they took my 50K balance because they changed their policy.

Now only 29 NFTs of my collection are showing in Opensea but not the rest.
and I can't even add any NFTs through Opensea because The smart contract was made out of Opensea.
Do you have any guide to resume minting my uploaded NFTs to the same Smart Contract on Opensea??

Thank You

Collapse
 
johncury_ profile image
John

Hello sir,
What if I want to mint and sell my collection on the ethereum blockchain. I haven't sold anything yet but I have a project and I saw some articles like on opensea only in your first list you will pay the gas fee and you can list others without gas.If the system is like this, I will mint and list a random nft with paying gas, and then I will list my project without gas. Can you clarify me if you have information?

Collapse
 
johncury_ profile image
John

@emanuelferreira sir can you help me

Collapse
 
megaevolutionto profile image
mega evolution

i need mint and sell nft its possible?

Collapse
 
emanuelferreira profile image
Emanuel Ferreira

Yeah, you need to adapt the script for this

Collapse
 
souravmaji1 profile image
sourav maji

I have wrote a detailed article regarding how you can upload your upto 10,000 nfts in opensea within 2–3 minute and remember this is 100% true because I am tried this method using smart contract and you will get definitely so try and come back to this post to appreciate me and view this article to do all the steps practically :
Search on google : how to bulk upload 10,000 nfts in opensea using smart contract in 5 minutes you can able to see my article

Website: learntechweb.com/

Collapse
 
zaccaro1980 profile image
zaccaro1980

Hi Emanuel,
what about whitelisting the proxy account of Opensea to let the NFT be automatically displayable and tradable on Opensea without having to do it manually?

really nice solution anyway!

Collapse
 
atakamran profile image
Ata Kamran

Yo can you do a Video for this and show the results. thank you

Collapse
 
hortesanomi profile image
CURSED NFT

sir i have these two issues .please help

Collapse
 
hortesanomi profile image
CURSED NFT

sir i have these two issues.please help me