Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use html to dynamically pull in sprites in the mint inscription #3

Open
jokie88 opened this issue May 31, 2023 · 2 comments
Open

use html to dynamically pull in sprites in the mint inscription #3

jokie88 opened this issue May 31, 2023 · 2 comments

Comments

@jokie88
Copy link
Contributor

jokie88 commented May 31, 2023

this is an idea from @cbspears and I am just listing it here for the record.

instead of a 'mint' json, inscribe a compact html/javascript file that references the sprite inscription and dynamically pulls in the sprite and renders it inline.

pro: no marketplace support needed
con: external dependency on some hostname/url to get the sprite file from.

@geraldb
Copy link
Member

geraldb commented Jun 1, 2023

thanks for posting the feedback / commentary - if i understand that correctly the idea is a second inscription with html that renders the (dynamic-generated) image via js - love it - might be optional.

@geraldb
Copy link
Member

geraldb commented Aug 8, 2023

@jokie88 a little update on the html/js inscribe idea for on-chain generative images:

now with recursive inscriptions live on (ordinals.com) mainnet if you want to render sprites "inline" the best / easiest way / option looks to be .SVG images / inscriptions - see samples for d.i.y. punks, apes, martians and more here -> https://ordtest.github.io/. tip: right-click and select "show source" in the menu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants