Code rundown time!
First of all, mad respect to the 🐐
@nicksdjohnson for creating the Amulet contract. To understand how Verselets works, you first need to understand what Amulet does.
Amulet is responsible for two things:
- Check that your amulet is valid (less than 64 bytes and the hash contains at least four consecutive 8s).
- Check that it doesn't already exist.
If both conditions are true, you can register your amulet as an ERC-1155.