|
|
|
|
|
by xg15
1609 days ago
|
|
This might have the opposite problem: Suppose you own an NFT of your favourite monkey JPEG. At some point however, browsers drop support for the JPEG image format because it is outdated and has long since been replaced by better formats. Of course you could easily convert the ape JPEG into an ape PNG, except the hash would still only be valid for the JPEG. Suddenly, it starts getting unclear what kind of "ownership" the token really represents: Ownership of the bytes of the JPEG file? The pixels on the screen? The "concept" of an ape with that particular outfit (whatever that should mean)? or just an URL? Maybe you could solve this partially by defining some sort of "transform" operation which is documented on-chain? Something like "If I own token X then I can call external service Y to transform the token - after which, X will be destroyed and I'll own a new, different token Z instead" (i.e. one with the hash of the PNG instead of the JPEG) That still wouldn't solve OP's problem though as that transformation would have to happen off-chain. |
|
So upgrading the image data and format could be possible. They typically use a getImage() method, as part of the NFT standards, a setImage() method could be added with the method being set to OnlyOwner, which is just a member level designation seen in other programming languages like JVMs.
In EVMs, OnlyOwner can be a collective or its own smart contract controlled by a collective.
Depending on the format and size of the image or transformation operation, the transformation could occur onchain. Nodes in a blockchain are just compute instances. I don't see how it matters if such thing occurred onchain or offchain though, as long as the output was written to the setImage method and that fixes the NFT.
This is the kind of stuff developers do everyday in other stacks, I get a feeling many developers (who are a big audience on this forum) just haven't looked at the crypto space on the development side because these conversations make little sense.