# Enhanced Asset Information Specification

**URL:** <https://forums.counterparty.io/t/enhanced-asset-information-specification/6431>\
**Category:** Counterparty\
**Created:** [September 22, 2022, 12:12am UTC](https://forums.counterparty.io/t/enhanced-asset-information-specification/6431 "2022-09-22T00:12:23Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![jdogresorg](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/jdogresorg/32/1349_2.png) [@jdogresorg](https://forums.counterparty.io/u/jdogresorg)\
**Post date:** [October 26, 2022, 4:22pm UTC](https://forums.counterparty.io/t/enhanced-asset-information-specification/6431/16 "2022-10-26T16:22:40Z")

</div>

I have now integrated CIP25 support into [xchain.io](http://xchain.io) and returned the JSON `description` field to a text only field on XChain, and will no longer support displaying HTML in the `description` field after 30 days (giving services a bit of time to migrate to CIP25 with minimal interruption)

Loading user-supplied HTML content is generally an unsafe practice and is frowned upon, as the HTML/javascript code could do nefarious things. (For example, Someone could write up some code to dump a private key from a wallet and make an external call to pass the private key to a server, redirect you to some other site, install a CPU miner on your machine, or worse)

In making these changes to how the `description` field is treated on XChain, it became clear to me that there is a desire in the community to be able to push the limits of what is possible with tokens, and that we should provide some way to safely load/display user-provided HTML content.

Here are a few examples of tokens which are doing unique things by injecting HTML into an iframe

Rare Pepe Puzzle  
[https://xchain.io/asset/FAKEPUZZLE](https://xchain.io/asset/FAKEPUZZLE)

Interactive / Augmented Reality Artwork  
[https://xchain.io/asset/PEPESTREAM](https://xchain.io/asset/PEPESTREAM)  
[https://xchain.io/asset/NEWPEPEDESU](https://xchain.io/asset/NEWPEPEDESU)

Artwork that changes based on the time of day  
[https://xchain.io/asset/FOURPEPAS](https://xchain.io/asset/FOURPEPAS)

I propose we update CIP25 to add a generic `html` field where users can pass a chunk of HTML code to be optionally displayed.

I plan to update XChain to support this new “html” field and will allow loading of user-supplied HTML content after displaying a warning message and clicking a ‘Load’ button.

---

_[View the full topic](https://forums.counterparty.io/t/enhanced-asset-information-specification/6431)._
