Squiggly

CREATED

ON-CHAIN STARS

ONCHAINCHECKER

0/5

WEBSITE

https://www.squiggly.wtf/


STORAGE

Squiggly stores each token's seed in contract storage (SSTORE), and the renderer renderFromSeed() is built into the contract; the SVG is read through the contract's own getIdToSVG(). The standard tokenURI points at an off-chain server that wraps the same on-chain SVG in JSON metadata. A few promo pieces have their SVG written directly into contract storage instead.

The creator later deployed a separate SquigglyData contract (November 2023, from the same wallet that deployed Squiggly), which the original contract does not reference. Its tokenURI() builds the full metadata on chain from the same stored seeds and returns it as a JSON data URI with the SVG inside.

REFERENCES AND FURTHER READING

  1. SquigglyWTFwww.squiggly.wtf