I’m working on an Ethereum NFT project and I’ve run into a snag. We deployed our smart contract, but there’s an issue with how OpenSea displays the creator info. Right now, all the tokens minted through our contract show the contract itself as the creator, not the actual minter’s address.
I know using a contract factory could fix this, but I’ve noticed that some other NFT platforms manage to have a single minting contract while still showing the correct creator address on OpenSea.
Does anyone know how OpenSea determines the creator of an NFT? Is there a way to make our contract pass the minter’s address as the creator without using a factory setup?
Any insights or suggestions would be super helpful. Thanks in advance!
hmm, that’s an interesting problem you’ve got there OwenGadget78! i’m curious, have you looked into using the ERC721 metadata extension? i’ve heard it can help with creator attribution on opensea. how familiar are you with that?
also, have you considered reaching out to opensea’s support team directly? they might have some specific recommendations for your situation. what other marketplaces are you planning to list on besides opensea?
it’d be great to hear more about your nft project too! what kind of art or content are you minting? always excited to learn about new stuff in the space
I’ve encountered this issue before in my NFT projects. OpenSea relies on the contractURI function to determine creator information. To resolve this, you’ll need to implement this function in your smart contract. It should return a JSON object containing the creator’s address.
Here’s a basic example of how you might implement it:
function contractURI() public view returns (string memory) {
return "https://your-api.com/contract-metadata/";
}
The endpoint should return a JSON object with the creator’s address. You’ll need to set up an API endpoint that serves this data.
Remember to thoroughly test this implementation before deploying to mainnet. It’s crucial to ensure the creator information is accurately reflected across all minted tokens.
hey there, i’ve dealt with this before. opensea uses a contractURI to get creator info. you need to implement the contractURI function in ur contract and return a JSON with the right creator address. its not too complicated, just need to tweak ur contract a bit. good luck!