You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Projects such as Bored Ape Yacht Club have a webpage like this. Picture:
I'm not sure how one would recreate this Bored Ape Yacht Club webpage when using this library. Some questions I have are:
How does one choose a starting index? Is this randomly chosen by us and set here in library as shown here with const startIndex = 0;? Some projects like Invisible Friends seem to do complicated things to get a starting index as shown in link.
Is this formula (tokenId + startingIndex) % 10000 → Initial Sequence Index used at all in this library? Not sure if this is something done somewhere else.
I generated the provenance hash with node utils/provenance.js using sample artwork. However, I don't see the hashes of individual images. Are these provided?
Is the Bored Ape Yacht Club webpage overkill?
The text was updated successfully, but these errors were encountered:
for most projects, yes. Attention to provenance and offset "true randomness" has fallen a bit out of popularity in the last couple of months. It's still a good practice to handle this in the contract from the beginning, but perhaps a page like this is best saved for after minting is closed and if the community asks for it (my opinion)
The start index is usually chosen in a single Chainlink VRF call to get a random number (in the smart contract)
This formula can be used in the smart contract for convenience, but it generally will happen off-chain on your metadata server (so you won't be using IPFS initially)
The generator will output individual hash for each image as long as the option is set to true in config.js. Then, after generation, when running the provenance hash script, it will output provenance.json containing the concatenated string (like BAYC) and the single provenance hash
Hope that helps! I am moving this to a discussion to preserve the conversation for others.
Repository owner
locked and limited conversation to collaborators
Feb 24, 2022
I have a questions about provenance hash.
Projects such as Bored Ape Yacht Club have a webpage like this. Picture:
![154821685-f279004f-7715-493f-8962-c54fffecd05e-1](https://user-images.githubusercontent.com/10701375/155454196-c1efd48b-3340-4207-8304-d47ca09a9088.png)
![Screen Shot 2022-02-23 at 10 58 01 PM](https://user-images.githubusercontent.com/10701375/155455358-5b838408-3035-457e-906c-8f71bf1a360c.png)
I'm not sure how one would recreate this Bored Ape Yacht Club webpage when using this library. Some questions I have are:
const startIndex = 0;
? Some projects like Invisible Friends seem to do complicated things to get a starting index as shown in link.(tokenId + startingIndex) % 10000 → Initial Sequence Index
used at all in this library? Not sure if this is something done somewhere else.node utils/provenance.js
using sample artwork. However, I don't see the hashes of individual images. Are these provided?The text was updated successfully, but these errors were encountered: