leather-io / extension

Leather browser extension
https://leather.io
MIT License
305 stars 144 forks source link

Display HTML-based Bitcoin Stamps #4782

Open brandonmarshall-tm opened 10 months ago

brandonmarshall-tm commented 10 months ago

In addition to our support for image-based Stamps, we could extend support for HTML-based Bitcoin Stamps.

I'm thinking this would operate quite similar to our recursive support (#4077) for Ordinals, where it is rendered in an iframe.

Example: https://stampchain.io/stamps/f027372c29f79a180dfb002d2389f84e953db215f7c7195c54ddea7b619ab2fb.html

babalicious-io commented 10 months ago

There's a write up on html on Bitcoin Stamps here: https://github.com/mikeinspace/stamps/issues/7#issuecomment-1845362603

There is the consideration of referencing external stylesheets or scripts in html stamps that actually make them invalid stamps and how to address that. There is also an open question of if/how to support meta tags and title.

Stamped Ninja supports html both on their site and in the wallet - @SN-Noop Rarestamp has supported html from the beginning.

I'm sure both of them will gladly help out if you need any further information - or you can always reach out to @mikeinspace !