hicetnunc icon indicating copy to clipboard operation
hicetnunc copied to clipboard

Add "owner" parameter to html/svg

Open idflood opened this issue 4 years ago • 12 comments

I would like to create an artwork which would be different for each owners. So when someone collect the piece he doesn't know exactly what it will look like.

Describe the solution you'd like The first step is to add a detail page for artwork by "owner". currently the same detail page is used for everyone. This should be reflected in the "owners" tab below the artwork but also when browsing our own collection. When I click on an item in my collection it should show my "version".

When this is done the creator= query string can be added to the relevant object types (html, svg and maybe others)

Describe alternatives you've considered One solution is to use the viewer parameter, but the effect is quiet different. With the "owner" you could browse different results the existing owners have, and if you collect it you get something different.

idflood avatar Apr 16 '21 14:04 idflood

I see a point on adding a flag to identify the user as an owner or not. But I don't see an advantage on having a separate page for the objkt where the only thing that needs to change is the props we inject. I think "creator", "viewer", "isOwner" and "objktid" are enough for anything you might want to do. I'm thinking about it for an NFT myself, so this is in the works🎉

andrevenancio avatar Apr 19 '21 21:04 andrevenancio

Wow great news 🔥 Sure the detail page by objektid/owner is not necessary for a first version so this would already make me really happy : )

Adding the detail page would allow a collector to send a link to someone to show his version of the objekt : ) Also having the owner param would give viewers the ability to see the different result artworks for all current owners.

idflood avatar Apr 20 '21 06:04 idflood

"With the "owner" you could browse different results the existing owners have, and if you collect it you get something different." This is a great idea. For what it's worth, BeyondNFT has implemented this idea, and it really is fun to view other owner's pieces and compare them to your own. It is perfect for generative pieces, where the "owner" is the generative seed. Here's an example: https://beyondnft.io/explore/0x3a6504feb012cdff702019dd1f03d8cf99c029d9/12/0xf2a841f4025159e5a845de3172384a7bca00ddde . When you click on a holder, you can see their version of the piece.

idlebit1 avatar Apr 20 '21 16:04 idlebit1

Please I would love to have this feature available in the query params for interactive NFTs

I think it would be a nice hat tip to collectors to give them something unique for their collection

I have been wanting to do something like this, but I can't afford / am not on sites like beyond NFT and artblocks.

It seems like a straightforward implementation to add OWNER=XXX to the query params..

ELI7VH avatar Apr 23 '21 15:04 ELI7VH

It seems like a straightforward implementation to add OWNER=XXX to the query params..

It would be worth checking what the max querystring length is supported by the IPFS gateway provider. Lots of owners might cause issues. 500 owners (as recommended in current objkt4objkt promo) x 36 bytes = 18000.

It definitely borks at 20k:

GET https://cloudflare-ipfs.com/ipfs/QmPPjjq6LRjCfkjU6h5zjdAivU6uQAb4vAwFkxMMs3giLn?&o=[KT1Hkg5qeNhfwpKW4fXvq7HGZB9z2EnmCCA9,.......]
400 Bad Request
Request Header Or Cookie Too Large
cloudflare-nginx

skenaja avatar Apr 23 '21 15:04 skenaja

@skenaja What I mean is,

"The person who currently holds the NFT you are looking at" would be what the query param would provide.

ELI7VH avatar Apr 23 '21 18:04 ELI7VH

@skenaja leave it with me. I have a solution for this which I have for a new NFT I will launch. I just need to confirm a few things with crzypatchwork before.

andrevenancio avatar Apr 23 '21 23:04 andrevenancio

Any update on this @andrevenancio?

Toomaie avatar May 07 '21 08:05 Toomaie

@skenaja leave it with me. I have a solution for this which I have for a new NFT I will launch. I just need to confirm a few things with crzypatchwork before.

i'm interrested in this feature too. would love to get some infos. cheers

Coderpille avatar May 08 '21 09:05 Coderpille

Any update on this @andrevenancio?

we're prioritising more pressing issues. once this is done, it will be fixed. you guy can subscribe to notifications but in the mean time, no news

andrevenancio avatar May 16 '21 02:05 andrevenancio

I like the idea of supporting this feature exactly as proposed (owner=tzXXX) in the context of 1/1 OBJKTs where there is always a single owner to any particular token.

dribnet avatar Jun 16 '21 10:06 dribnet

The mint count shouldn't make any difference. The owner can 'easily' be traced from the HEN collection that is "presenting" the OBJKT.

ELI7VH avatar Jun 29 '21 16:06 ELI7VH