Mika
@100o111
An nft that gets compressed every time its being sold again? Can someone help me do it i am so confused lmao😳
5 replies
1 recast
20 reactions
Kasra Rahjerdi
@jc4p
what kind of compression do you want? drop bits randomly might be easier but there’s def onchain stuff you can do
1 reply
0 recast
4 reactions
Mika
@100o111
Lowkey whatever works
1 reply
0 recast
1 reaction
Kasra Rahjerdi
@jc4p
ok so: 1. technically possible onchain with a BMP that you randomly lose pixels from, vs lossy compression but big gas fees even on Base 2. much much much easier as an image hosted offchain that auto updates each transfer (but i know u r an onchain purist)
1 reply
0 recast
2 reactions
Mika
@100o111
This one doesn’t have to be onchain fully i think, but also cooler if it happens when the transfer happens and i wont have to create compressed versions ahead lol
1 reply
0 recast
1 reaction
Kasra Rahjerdi
@jc4p
oh then absolutely! you can deploy a generic NFT contract, point the token(s) to a URL on a server, have the server listen for Transfer events (via Alchemy or something) and have it call a compressor tool with a quality param that degrades based on the # of transfer events, resave the file
0 reply
0 recast
0 reaction