3 ms·
Did you read any of that code? I looked at mooncatparser and it just hardcodes all possible 2-bit art as a big string array constant at the top of the JS file.
by exclipy 5y ago
Did you read any of that code?
I looked at mooncatparser and it just hardcodes all possible 2-bit art as a big string array constant at the top of the JS file. Definitely not "on the blockchain". The part that's stored on the blockchain is the index into the big string array.
- iamwil 5y agoGood job reading the code! It's as you should do when looking at a project. Is there a way where the image can be replaced with another based on the scheme? I didn't see any, which achieves the same result as putting the image on-chain.