DEV Community

Discussion on: Deploying Regenerative NFTs on Polygon

 
benm4nn profile image
benm4nn

Thanks Archie, After a few hours of poking around, here's what I'm trying... It overcame the error I had before but there's very little out there about the sell.js and Polygon/Matic except a few comments suggesting that OpenSea's v1 API doesn't support it yet....

So I tried this... network name as Network.Matic....
const seaport = new OpenSeaPort(
providerEngine,
{
networkName: Network.Mumbai //,
// apiKey: API_KEY, /* i dont have (opensea) API_KEY */
},
(arg) => console.log(arg)
);

This got me past the previous error... But now I'm stuck with this new error...

FetchError: request to api.opensea.io/api/v1/asset/0xdbb6...? failed, reason: certificate has expired

Obviously I've checked all my keys (I'm using Alchemy with a key defined specifically for Polygon Mumbai)....
And I don't have the optional OpenSea API but have applied for one...

Ever onward! But really don't want to have to put thousands of Polygon NFTs up for sale individually by hand!

Thread Thread
 
yournewempire profile image
Archie Smyth

Hey Ben, I just got a response from opensea discord:

You should go join OpenSea, Polygon discords if you have not already.

Thanks, Archie