Skip to main content
Share Your Experience: Take the 2024 Developer Survey
8 votes
Accepted

How to properly implement a ContractURI for on-chain NFTs

It seems like my setContractURI function had one encodepacket too much. it looks like it is working now on OpenSea. function setContractURI(string memory contractURI_) public onlyOwner() { ...
Martijn Vissers's user avatar
6 votes
Accepted

What is Project Wyvern Protocol?

Their documentation is at their website https://wyvernprotocol.com/. In order to understand the fundamentals of Wyvern Protocol you'll need a deep understanding of blockchain and smart contracts. If ...
Stevers's user avatar
  • 362
5 votes

Make offer to opensea asset through opensea-js

Few things You cannot use HttpProvider as the opensea-js library should be able to sign the transaction on your behalf. Try using HDWalletProvider or something similar with your mnemonic or private ...
Kunal Jain's user avatar
4 votes
Accepted

Updated token metadata not refreshing on OpenSea

I kind of encountered probably the same metadata update problem. In my case it was because I rushed through the opensea docs didn't use the correct api endpoint for force updating the metadata. ...
Octavian's user avatar
  • 156
4 votes

ERC721 Metadata - TokenURI - Return the full JSON String Instead of URL Pointer?

Yes, it's possible using Data URLs. OpenSea requires the tokenURI method to return a URI of a JSON containing properties such as image (which themselves can also have data URLs as values). Here's a ...
pwagner's user avatar
  • 910
4 votes
Accepted

Burn ERC721 without externally exposed burn function

ERC20 and ERC721 have the same concepts for burning. There are two options: Explicit burn by calling some sort of burn functionality. This has to be included in the code before deployment. Sending ...
Lauri Peltonen's user avatar
4 votes

I Can't Find my Collection on OpenSea Testnet

The OpenSea testnet only supports the Goeril Ethereum test network, not Sepolia.
That_Coder's user avatar
3 votes

Rinkeby testnet with Opensea metadata not showing

I was having a problem with my metadata and this article really helped. https://docs.opensea.io/docs/4-debugging-your-metadata It includes an api endpoint for the testnet that will show you your token-...
farstrider777's user avatar
3 votes
Accepted

How can I register my NFTs on opensea

Opensea did not supports the BSC network. But you can mint the NFTs on Polygon for cheaper fees. Polygon is supported by Opensea platform. Reference: Which blockchains does OpenSea support?
Umair Janjua's user avatar
3 votes
Accepted

Can an NFT be owned by multiple people?

There are two broad standards of tokens trading on OpenSea - ERC721s and ERC1155s ERC721 implements the ownerOf method: function ownerOf(uint256 _tokenId) external view returns (address); This ...
ruvaag's user avatar
  • 354
3 votes
Accepted

where to find the address of the NFT contract I created on opensea

If you are trying to use the browser extension of Metamask you wont be able to visualise your NFTs according to a Metamask article released 7 days ago. You can however view them if you have the ...
Joseph Roccisano's user avatar
3 votes
Accepted

What does msgSender() this code do in the OpenSea repository's example ERC721?

I think it's supposed to be used for meta-transactions. You can find similar examples that OpenZeppelin implemented that was also designed to be used this way. To support native meta transaction, ...
Anton Cheng's user avatar
3 votes
Accepted

What are the risk with creating a collection that does not implement ERC721 Enumerable extension?

Your risk in using a non-ERC721Enumerable contract is as follows: If you only use websites like Twitter, OpenSea and MetaMask to access your NFTs and OpenSea and other commercially available ...
William Entriken's user avatar
3 votes

Mint nft on Testnet

For testnets you can use address https://testnets.opensea.io/
Vladimir Goncharov's user avatar
3 votes

my nft image not showing in opensea testnet

In metadata, you gave image attribute the wrong value (x.png). If you want Opensea to find your image you should provide a public uri to your image as the value. Usually you first upload the image to ...
Nal Luksic's user avatar
  • 1,167
3 votes
Accepted

Why fee basis point is used?

Since we only have integer math operations in Solidity, the basis points notation facilitates calculations allowing for 2 decimal places of precision, during calculations before truncation. Produces ...
prc's user avatar
  • 486
3 votes

How do i prevent users from selling NFTs they earned from my platform to any external marketplaces like openSea

Yeah just disable the transfer functions. If you are using the openzeppelin then you can do something like this Just add this code and transfer functions will always revert. Even if you are not using ...
Zartaj Afser's user avatar
  • 4,221
3 votes

Where does open sea and other website store NFT data?

You are asking about pictures, traits, and transactions. These three are different in terms of storage. This is how: Pictures and traits: It depends on the collection's creator where they have stored ...
Zartaj Afser's user avatar
  • 4,221
2 votes
Accepted

Scam where unsolicited airdrop NFTs, if sold, drains victim's wallet

Looks like you have been following Twitter today. The user in question actually had their private keys compromised by a fake OpenSea email spam. However attack vectors can be launched on smart ...
MyCryptoChris's user avatar
2 votes

Can I list my own smart contract NFT items on other platforms?

Yes, when you deploy the contract and mint your NFTs you will be able to visit the contract address on i.e. OpenSea and all the minted NFTs will be displayed. There is a testnet version of opensea ...
nemo's user avatar
  • 141
2 votes

Random String Appears After Token Symbol on Opensea

This is taken from the token's metadata. You need to call tokenURI on your token, and see what the metadata that is being returned. OpenSea grabs the collection name and token name from there. So the ...
Kenzo Agada's user avatar
  • 1,226
2 votes
Accepted

How to access the price nft asset is being sold for in your NFT contract?

The order matching information -- buy order, sell order -- is not saved or accessible on chain in a way that your contract can be read during transfers. There is some way to do what you are saying, ...
William Entriken's user avatar
2 votes
Accepted

How does OpenSea get Town Star ERC1155 token image?

Interesting question! Town Star token is an ERC1155 token. The tokenURI property is part of the ERC20 token specification. Hence, you won't find it in Town Star's contract. According to the docs, ...
pbsh's user avatar
  • 2,471
2 votes

"Unhandled Rejection (Error): 'args.method' must be a non-empty string" When Creating Opensea-js Buy Order

The ethers.providers.Web3Provider() method wraps the provider inside an ethers.js "Web3Provider". I've not used OpenSeaPort, but it may be because you are not sending it a provider it can ...
Ben's user avatar
  • 21
2 votes
Accepted

OpenSea - get sale price within safeTransferFrom function of NFT contract

Its in the current version of Opensea/WyvernV2/Ethereum not possible. Every call Wyvern Contracts are sending to your contract/NFT are external calls. Within these calls you will only have access to ...
madmadu's user avatar
  • 36
2 votes

What's the best way to create an API that returns NFTs data

How can I build an API that goes through all the NFTs of a collection address and returned them. I know this doesn't 100% directly answer your question, but I'd also recommend checking out the ...
thatguyintech's user avatar
2 votes
Accepted

My transaction is 2 blocks earlier than the competitor, but mine is failed and his successful. Why?

The transaction reverts with the following error 0x6f7eac26 From the 4bytes.directory that value corresponds to InvalidTime(). It is likely the offer wasn't within the time allowed.
Ismael's user avatar
  • 30.5k
2 votes
Accepted

What is ApproveForAll() and what else are we approving exactly?

But the question here is, technically, what exactly are we signing away when we approve a collection contract for listing and trading on OpenSea? Approving "All of your NFT" sounds like ...
Foxxxey's user avatar
  • 4,327
2 votes
Accepted

How to disable selling NFTs on opensea?

You need to block Opensea's contracts from transferring your NFT. You can do it by modifying its solidity source code, so if it's already deployed it's too late. The most straightforward method is ...
0xSanson's user avatar
  • 3,249
2 votes

How do opensea royalties work?

It seems like your confusion here is mostly about how orders actually work. There is no section of Seaport that handles royalties specifically. The "address and amount that came from an external ...
CupOjoseph's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible