How To Launch A Generative PFP Project On FXHash
In this Tezos NFT user guide, Dennis Klicker shows you how to launch a generative PFP project on fxhash.
Please Note: No websites, programs or applications talked about in this tutorial represent endorsements of any kind, thorough research into any applications used on the Internet is to be advised.
This guide represents the author’s own experience ONLY and other users may have different experiences. Users should always undertake their own research and be responsible for their own funds.
This user guide was also previously posted by Dennis here.
How To Launch a Generative PFP Project on fxhash With No Coding
fxhash rules. It’s a marketplace that offers a unique minting experience that only works with generative types of NFTs. Unfortunately, this means that most people lack the skills to take advantage of such a great platform.
The bottleneck for most people is the coding knowledge required, but thanks to @PureSpider and his template we can actually launch an entire generative PFP project for the cost of a single mint on fxhash. Let me show you how.
Please also reference the README.md file for more notes and clarifications. Between the readme file and this guide you should have no problems following along.
- Get Node.js installed
- Download the template from GitHub, unzip it
- The layers (images/traits) for your project, organized into the appropriate folders and named correctly
- fxhash needs to be open for minting. Check the status and schedule here: opening schedule
Download this .zip file and extract it somewhere convenient for you. Inside there’s several folders, all of which we can ignore, except for the one called ‘public’. Inside of there is a ‘layers’ folder. This is where the image files will reside.
If you need help on preparing your layers then you’re probably better off looking at at an article like this, since that’s just a little too far outside of my range to offer up actual advice on it. I will talk about how the rarity percentages work.
Inside the layers folder you should have 1 folder for each category of trait. In our example we have 9 different ones: background, capes, body, dots, eyes, mouth, hair, and two different accessories.
The numbers determine the order, so double zero is first, 01 is second, and so on. That’s all there is to that.
The other thing to note is that the folder for Dots is actually named “03-hide-Dots” – hide is a keyword that will exclude those traits from showing up on the list, but still want to include it.
You know the hide function is working if you don’t see it listed as an attribute on fxhash, like how the capes feature is excluded in the above photo.
How do we determine the rarities of individual traits? We do that by naming the individual files with a number at the beginning. The numbers themselves don’t have to add up to anything specific as they’re all relative to each other.
If you have two traits, 1-White.png and 100-Blue.png, the Blue version will show up (on average) 100 times more often than the White version. The larger the number, the more often it will show up compared to a smaller number. Adjust accordingly.
So now we need to generate the .zip file to upload to fxhash and test it. This is where the magic happens.
All we need to do is run the ‘generate.sh‘ (Mac/Linux) or ‘generate.bat‘ (Windows) script and it should generate you a zipped file in the ‘dist-zipped‘ folder. The whole process should only take a few seconds to have your .zip ready.
You should be able to simply open the .sh file and run it, but I would sometimes run into problems getting it to work. @PureSpider has the fix for that too though, and we just need to run a simple chmod command.
Try this if your generate.sh file is giving you trouble.
If that’s too intimidating you can try downloading my generate.sh that I’ve chmod’d already and uploaded to IPFS. Delete generate.sh, download the linked file, and put it in the same spot.
If you find yourself unable to use the generate.sh file, it’s a very simple fix to run the command ourselves. We just need to navigate to the correct folder in our terminal and run a couple commands.
Note: Please click here if video below takes too long to load.
[I’ve clarified this section a little bit more after some feedback. Please let me know if it requires further tweaks.]
Now you can head over to the sandbox on fxhash and try it out! Upload your .zip file and you can select the “try new hash” button to have it reload with a new iteration. If everything looks good, you’re now ready to mint.
Going through the minting process is pretty similar to a non-fxhash platform outside of a couple things that may throw you off. I would just check the docs on fxhash, specifically the ‘How to publish (mint) a GT‘ section. That whole page is filled with well written information.
I hope this helped remove some of the mystery surrounding fxhash mints. It’s exciting to level the playing field a little bit and allow someone who knows zero code at all to participate on a platform that requires it.
Will we see an influx of PFP projects originating on fxhash now? All I can say with absolute certainty is that myself and @Breez_Blox were able to sell out of our small test drop of 33 and it was a lot of fun. I will continue to explore and plan on releasing another drop soon.
Wabbits Hunting #25 by myself & Breez_Blox
If any of these directions need to be clarified, please let me know so I can tune it. This will be revised as we continue to move through the space and I’ll try to keep it current. Please send some love to @PureSpider for making all of this possible!
I’d love to hear your thoughts/criticisms/compliments/improvements so please let me know with a tweet to @klickdotdev. 🙏
Any content found on this website named xtz.news is an opinion of the author who produced the content and is for information purposes only. Any information, or content found within the website xtz.news is not intended to be investment or financial advice. Find our full disclaimer here.