Anyone pursue something similar?
tom
tom13.8. klo 09.05
'Inscribing' Images on Octra I inscribed a CryptoPunk on Octra as a sidequest. Being interested in on-chain art, I was involved early on in Ordinals and Ethscriptions. The Ethscriptions protocol utilizes the data:image/png;base64, URI stored in the call data of a transaction to the same wallet. After sending a few Octra transactions, and seeing others experiment with ASCII art in transaction messages, I thought it may be possible to 'inscribe' images, borrowing from the Ethscriptions method. I first attempted to inscribe my Low-Res Milady (great Ethscriptions project by @0xhimark), but quickly realized it exceeded the 1024 message character limit. Recognizing the limit, I inscribed a few pieces of my own 24x24 pixel art and finally one of my favorite CryptoPunks. Here's how I did it: • Converted the CryptoPunks PNG to base64 • Prepared a 0.4269 transaction to another wallet • Pasted the base64 text string to the message • Sent the message off to the validator Couple important items to note: Without an indexer recognizing the data URI, this is pretty useless, but would be interesting if OctraScan recognized the data URI, upscaled and displayed the image. The Ethscriptions protocol indexer only recognized an inscription when the transaction was sent to yourself with the image payload, but Octra doesn't allow for self transactions. I don't know the expected persistence or immutability of message data within an Octra transaction, so this may not be the right fit for inscribing image data on-chain. You can view the CryptoPunk inscription yourself: • Go to the OctraScan transaction linked below • Copy the data URI from the message • Paste the data URI into a new browser tab • Download the PNG image and upscale Through this experiment, I was able to get a little more familiar with Octra and OctraScan. Shoutout to @ac_mist_ and @bluudmg for experimenting with me. If you have any thoughts, alternative suggestions, need help or inscribed an image yourself, let me know. milady (octra)
177