bitcoin-nfts / bitcoin-colors

A sample NFT collection that shows the strong connection between Stacks and Bitcoin.
6 stars 2 forks source link

Reserve part of hash for future use #37

Closed whoabuddy closed 1 year ago

whoabuddy commented 1 year ago

After thinking about increasing the size of the resulting hashed string in #34, it might be worth reserving some unique characters for future use.

Consider the sha512 output below:

Address: bc1q962j6tf9hyxeuhj9e3u0zhgn6dqjcrlz9cljmr
Address hash: 3dc5ad652dccbc986add9b41922d578478bca4d4df799ec5f5d70267a9efed64c1c7bc88c8a1ce7e6ee608095bb9dd57651093d1650f78c081af59c6f30ead1f
Substring 0: 3dc5ad652dccbc98 - 0.24129756660640828
...
Substring 7: 81af59c6f30ead1f - 0.5065818892208493

The substrings for 8 trait layers are 16 characters in length. What if we created 2 or more "empty" trait layers that could be filled in later? This could be used for future trait layers (think surprises, evolutions, expansions) or for the client-side trait ideas as well.

whoabuddy commented 1 year ago

Input from 2022/01/05:

whoabuddy commented 1 year ago

Fixed in #41