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() {
...
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 ...
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 ...
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.
...
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 ...
4
votes
I Can't Find my Collection on OpenSea Testnet
The OpenSea testnet only supports the Goeril Ethereum test network, not Sepolia.
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-...
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?
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 ...
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 ...
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, ...
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 ...
3
votes
Mint nft on Testnet
For testnets you can use address https://testnets.opensea.io/
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 ...
2
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 ...
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 ...
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 ...
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, ...
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, ...
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 ...
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 ...
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 ...
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.
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 ...
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 ...
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 ...
2
votes
Accepted
How does opensea keep track of which NFTs an address owns?
I believe OpenSea has a database that stores all the NFT of an address, or they use an external API to fetch this information.
OpenSea also could save all the addresses of the ERC721 contract you ...
2
votes
Accepted
How does opensea exactly picks up the base URIs and what happens if I update it?
I believe they index the token uri and image at time of mint, but you should be able to update the metadata of each token on opensea. You can also try an endpoint refresh like alchemy has here: https:/...
2
votes
Accepted
What factors does the opensea NFT origination gas cost depend on?
Yes, one of the factors the opensea NFT origination gas fee depends on is the file size of the NFT, as higher images cost more, but the time this will affect gas prices is when they are minted and ...
2
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
opensea × 228nft × 135
solidity × 60
erc-721 × 60
polygon × 27
erc-1155 × 16
web3js × 14
meta-data × 13
blockchain × 11
metamask × 11
ether × 10
testnets × 9
contract-development × 8
ethers.js × 8
etherscan × 7
openzeppelin × 7
smart-contract-wallets × 7
nodejs × 6
royalties × 6
remix × 5
ethereum-wallet-dapp × 5
mint × 5
seaport × 5
signature × 4
rinkeby × 4