Content pfp
Content
@
https://tezos.com
0 reply
0 recast
0 reaction

JestemZero pfp
JestemZero
@jestemzero
#ZeroContract Feature Highlight #6: ○ Ability to add infinite types of artwork Ever wish you could pack various types of art into a single token? Do you want to let collectors buy multiple versions, multiple aspect ratios, multiple assets all in one package? Bundle together images, audio, video, code nicely all as one piece of art? Most standards only let you add a handful of files, or just one link, and rarely work with on-chain assets. That’s limiting for creators who want to offer more. Introducing extraUri as a new way for artists to attach unlimited types and numbers of files to one token. Think of it as giving your art its own portfolio that can hold and display different files, in any format you want, and you can add as many as you like! I will try not being too technical here, but there is a lot of technical limitations we are pushing thru now with this new mechanism I think should become a future Tezos standard.
1 reply
3 recasts
4 reactions

JestemZero pfp
JestemZero
@jestemzero
Original inspired by the Doppelgänger contract from Transient Labs and @amadon.eth, I was always impressed by the Tezos metadata standards that had a built-in way to allow for multiple files or filetypes within a single artwork. With both the formats[] and assets[] arrays, an artist has the ability to incorporate numerous formats, sizes and options for their art. However, it turns out these are inaccessible to on-chain artists and really truly function only with off-chain storage. (I will skip the packing/unpacking/transaction size discussion here, but feel free to ask me if you are interested.) Tezos also has an externalUri metadata element, but this only allows for a singular additional file to store. So what is an on-chain artist to do you might ask? Build it themselves, of course!
1 reply
0 recast
1 reaction

JestemZero pfp
JestemZero
@jestemzero
A hurdle is nothing more than something to jump over. Or, in the worst-case scenario, something to push right over. Through many iterations, many attempts, many do-overs, I developed a novel mechanism that not only knocks over those hurdles but clears them from the track forever. Why is this a big deal? Because artists deserve options. Artists deserve tools. Artists deserve freedom to explore and experiment. And there are countless uses for bundling multiple files in one artwork token. This new extraUri mechanism gives us this. What is it? How does it work? Will it break marketplace listings? Keep reading to find out.
1 reply
0 recast
0 reaction

JestemZero pfp
JestemZero
@jestemzero
In the simplest breakdown, extraUri is a metadata element, like any other, that stores the on-chain artwork data. On its face it looks like all of the other URI elements such as artifactUri, thumbnailUri, imageUri, etc. But with extraUri we need more than just a storage field. We need the ability to modify, rename, provide details, add, and remove as many pieces of art as we need. In order to accomplish this ability, the metadata element is coupled with a high level tezos-storage element which is responsible for controlling the quantity and information we incorporate. [Technical explanations omitted for pleasantness, but I'm open for questions.] This tezos-storage element acts as a portfolio we can increase, updated and edit. As often as we like. For as many different types of artwork files we want. All stored on-chain.
1 reply
0 recast
0 reaction

JestemZero pfp
JestemZero
@jestemzero
When utilizing the extraUri feature, we provide a unique identifying label so the portfolio always knows where to go for that specific artwork. Accompanying that label is the unique asset's Name and Description so our collectors, marketplaces, and all-around art enthusiasts understand with what we have filled our portfolio. This information could not be part of the metadata (see packing/unpacking note above) so we handle it in a more robust yet simple fashion. This index of information in the portfolio is infinitely extensible, editable, and incredibly useful. It also keeps our metadata super clean and legible.
1 reply
0 recast
0 reaction

JestemZero pfp
JestemZero
@jestemzero
When we create a new label, a new metadata element is created called extrauri_label which stores the actual artwork corresponding to the portfolio information. Just like the Name and Description, this artwork string is editable. It can even be removed if desired. And with the additional feature of infinite file sizes (see the next installment of #ZeroContract features) the freedom artists have is unbounded. The entire mechanism is very simple to use and fairly simple in execution even if it looks a bit complicated. But there are really good reasons for this.
2 replies
0 recast
0 reaction