← Back to home

Stackr ERC721

Modular implementation of ERC721 in Stackr deployed on AvailDA

Screenshots

Stackr ERC721 screenshot 1
Stackr ERC721 screenshot 2
Stackr ERC721 screenshot 3

Problem Statement

The general idea was to play with Stackr, a framework to build rollups. For this, I wanted to develop a project that relies on known open standards, namely ERC-721 in this case.The idea was to be able to:Mint a generative NFTHave the sequencer generate said imageHave the sequencer upload the image to some storage or compute a hash for proofBe able to transfer the NFT and whatnot directly in the rollupBe able to burn the NFT with a proof to mint on an EVMHowever, it turns out that Stackr cannot do async transitions, so the image generation part is not quite possible.I thus ended up just playing with Stackr and implementing ERC-721 in a nice and extensible way instead and to deploy the result with Avail as the DA.

Solution

It mostly just uses Stackr's SDK and CLI. The ERC-721 implementation is based on Solmate's, and quite some work went into architecture decisions to be able to easily import the base ERC-721 functions and extend the ones necessary for the application. A lot of thought also went into types.

Hackathon

ETHGlobal San Francisco

2024

Prizes

  • 🏆

    Best custom appchain using any rollup SDK with AvailDA1st place

    Avail

  • 🏆

    Best Innovative use - case built using Micro - Rollups

    Stackr

Contributors