Skip to content

Provenance Hash Question in Art Engine #225

Answered by nftchef
ghost asked this question in Help + Q&A
Discussion options

You must be logged in to vote

hey @0xYorkie Thanks for bringing this up.

tl;dr, I've pushed a fix that solves this issue and allows regular proof through tools like https://emn178.github.io/online-tools/keccak_256_checksum.html

98a37b5

The issues prior to 2022/08/15

The generator was incorrectly hashing the image Buffer after being JSON stringified.
previously

const hashable = typeof input === Buffer ? input : JSON.stringify(input);

For anyone who needs to reverse engineer the hash prior to the latest change, you will need to run it through a script where
A. read the file as a buffer, e.g. readFileSync
B. JSON.stringify the buffer,
C. Return the hash hex

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant