onflow / freshmint

Apache License 2.0
68 stars 17 forks source link

Update blind edition to show edition IDs at mint time #154

Closed psiemens closed 1 year ago

psiemens commented 1 year ago

This PR updates the BlindEditionNFT contract template to show edition IDs at mint time. Now only the NFT serial numbers are hidden.

It also adds logic to verify revealed serial numbers using on-chain hashing. This was previously missing.

psiemens commented 1 year ago

@bshahid331 I changed the serialNumber fields from number to string.