mattdesl pfp
mattdesl
@mattdesl
Thinking the erc721 JSON metadata standard image field is a bit inadequate for on-chain (non solidity) generative art. still forces you to use a static file (ipfs or a centralized url) for each token ID, which works for pngs but isn’t so suited for generative art.
1 reply
0 recast
0 reaction

Jussa pfp
Jussa
@mouse
is this not what the onchain html people are on about? injecting html/js inside and svg etc
2 replies
0 recast
0 reaction

mattdesl pfp
mattdesl
@mattdesl
Yep! There’s two popular flavours: onchain via solidity (code that draws the token on the fly in tokenUri, usually SVG) or onchain by storing some code in state and having a client render it (Artblocks, Deafbeef)
1 reply
0 recast
0 reaction

mattdesl pfp
mattdesl
@mattdesl
The latter allows you to be more expressive w/o worrying about EVM gas. But for the tokens to appear properly on OpenSea and listing sites, you need metadata that points to a PNG file or HTML file, usually that means a rendering system that generates thumbs and and saves them on a url or ipfs link
1 reply
0 recast
1 reaction

Jussa pfp
Jussa
@mouse
terraforms contract delivers an svg for the "image": that opensea shows in the collection view i believe
0 reply
0 recast
0 reaction