Modular implementation of ERC721 in Stackr deployed on AvailDA
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:
However, 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.
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.