I participated in the Onchain Summer Buildathon hosted by Base. My partner and I recreated the Million Dollar Homepage, a website which sold 10 x 10 pixel plots for $100 ($1 / pixel), on the Base chain.
The pixel data for a 10 x 10 plot is encoded as a string, and this string is stored in the metadata of a user-minted NFT
By storing every aspect of the canvas on-chain, we remove the need for users to trust the publisher of the homepage.
Our frontend facilitates purchasing a new plot after uploading, cropping and scaling an image.
We use thirdweb to scan the blockchain for NFTs minted with our contract, extracting both the (row, col)
coordinates and the pixel data of the 10 x 10 plot from the NFT metadata.
Exported from a markdown vault by EKB's vaultparser