Highlight code snippet
Integrating the Highlight code snippet into your code gives you access to a suite of utility functions and enables interaction with different Highlight modules.
The hl-gen.js script gives you access to a number of pieces of data from the blockchain, including the transaction hash, block hash, minting wallet address, token ID, edition size, and more. It also provides helper functions to generate deterministic randomness within your project. These helper functions are seeded by a combination of the transaction hash (or a predetermined hash if you choose) and the token ID.