ProjectOpenSea / opensea-erc1155

Example semi-fungible collectible, to demonstrate OpenSea integration for an ERC-1155 contract
https://docs.opensea.io
MIT License
605 stars 284 forks source link

Allow non-cached NFTs on OpenSea #55

Open BDANG opened 3 years ago

BDANG commented 3 years ago

Sorry if this is the wrong place to suggest this, figured this is the easiest way to get an opensea engineer to suggest the feature to the business.


I'm currently working on an NFT that is frequently updated (as short as every minute). With opensea's caching and throttling, this means that the underlying NFT is not always reflected accurately on opensea. Even using GET /api/v1/asset/.../.../?force_update=True theres a few minutes of latency before cached images show up on opensea.


Suggestion:

Allow cache: false in the metadata, and opensea serves the image directly from the image: ipfs://<ipfs_cid> field