{"id":13577384,"url":"https://github.com/codeSTACKr/create-10k-nft-collection","last_synced_at":"2025-04-05T11:32:36.284Z","repository":{"id":37350917,"uuid":"436993395","full_name":"codeSTACKr/create-10k-nft-collection","owner":"codeSTACKr","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-13T18:06:20.000Z","size":1690,"stargazers_count":2232,"open_issues_count":114,"forks_count":716,"subscribers_count":36,"default_branch":"main","last_synced_at":"2025-03-30T23:11:30.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeSTACKr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"codeSTACKr","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2021-12-10T13:44:50.000Z","updated_at":"2025-03-24T12:55:57.000Z","dependencies_parsed_at":"2025-01-17T17:08:25.164Z","dependency_job_id":"a16c18f1-9d49-4621-aee7-69856c6b023d","html_url":"https://github.com/codeSTACKr/create-10k-nft-collection","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeSTACKr%2Fcreate-10k-nft-collection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeSTACKr%2Fcreate-10k-nft-collection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeSTACKr%2Fcreate-10k-nft-collection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeSTACKr%2Fcreate-10k-nft-collection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeSTACKr","download_url":"https://codeload.github.com/codeSTACKr/create-10k-nft-collection/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247331668,"owners_count":20921842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:01:20.990Z","updated_at":"2025-04-05T11:32:35.657Z","avatar_url":"https://github.com/codeSTACKr.png","language":"JavaScript","funding_links":["https://github.com/sponsors/codeSTACKr"],"categories":["JavaScript"],"sub_categories":[],"readme":"# Create An ENTIRE NFT Collection (10,000+) \u0026 MINT\n\n## Table of Contents\n\n- [RESOURCES](#resources)\n- [COMMANDS](#commands)\n- [UPDATES \u0026 FIXES](#updates--fixes)\n\n## RESOURCES\n\nOriginal Video: \n\n👴 [How To Create An ENTIRE NFT Collection (10,000+) \u0026 MINT In Under 1 Hour Without Coding Knowledge](https://youtu.be/AaCgydeMu64)\n\n(WATCH THIS ONE!) Updated video for v2.0.0 release: \n\n🌟 [How To Create An ENTIRE NFT Collection (10,000+) \u0026 MINT with ZERO Coding Knowledge v2.0](https://youtu.be/quGdJweadFM)\n\nHow to automate listing for sale on OpenSea: \n\n💰 [How To List \u0026 Reveal An ENTIRE NFT Collection (10,000+) Without Coding Knowledge on OpenSea](https://youtu.be/Iy1n_LxUwZs)\n\nOriginal video code: [v0.1.0-alpha](https://github.com/codeSTACKr/video-source-code-create-nft-collection/releases/tag/v0.1.0-alpha)\n\nBase code is from [hashlips_art_engine](https://github.com/HashLips/hashlips_art_engine)\n\nMinting uses [NFTPort](https://nftport.xyz)\n\nJoin the Discord server for more help from the community: [codeSTACKr Discord](https://discord.gg/A9CnsVzzkZ)\n\nThe macro script from the \"listing for sale\" video: [macro1.mmmacro](macro1.mmmacro)\n\nUPDATE: Added rarity calculator. See this [video](https://youtu.be/Uz1y4j9gvP8) for the walkthrough.\n\n## COMMANDS\n\nGenerate: \n```\n$ npm run generate\n```\n- Generates unique images based on the layers in the `layers` folder.\n- WARNING: This command deletes the `build` folder if it exists!\n\nRarity (Hashlips): \n```\n$ npm run rarity\n```\n- Calculates the rarity of NFT properties based on layer files.\n\nRarity (codeSTACKr): \n```\n$ npm run rarity_md\n```\n\n- Calculates the rarity of NFT properties based on metadata.\n\nRarity Rank (codeSTACKr): \n```\n$ npm run rarity_rank\n```\n\n- Provides ranking details through a user interface after calculating using the codeSTACKr Rarity command.\n\nUpdate Info: \n```\n$ npm run update_info\n```\n\n- Allows you to update `namePrefix`, `description`, and/or `baseUri` for metadata after it was already generated.\n\nCreate Generic Metadata: \n```\n$ npm run create_generic\n```\n\n- Creates generic metadata using the settings from the `src/config.js` file.\n\nUpload Files/Images: \n```\n$ npm run upload_files\n```\n\n- Uploads all files in the `build/images` folder.\n\nUpload Metadata: \n```\n$ npm run upload_metadata\n```\n\n- Uploads all `.json` files in both the `build/json` folder and, if it exists, the `build/genericJson` folder as well. \n\nDeploy Contract: \n```\n$ npm run deploy_contract\n```\n\n- Deploys a contract to the blockchain using the settings from the `src/config.js` file.\n\nGet Contract: \n```\n$ npm run get_contract\n```\n\n- Gets the deployed contract details using the transactions hash from the Deploy Contract command. \n\nMint: \n```\n$ npm run mint\n```\n\n- Running this command with no flags will mint all NFTs\n- `--start=1`\n  - The start flag indicates the edition number to start minting from.\n- `--end=100`\n  - The end flag indicates the edition number to stop at.\n- To start at a number and continue minting all, do not include the end flag.\n- Make both flags the same number to only mint a single NFT.\n- NOTE: The start and end numbers are inclusive.\n\nReveal: \n```\n$ npm run reveal\n```\n\n- Checks the contract owners wallet to see which NFTs have sold and reveals all sold NFTs.\n- Including the `--start=1` and/or `--end=100` flags will reveal only the specified edition or range of editions.\n- Make both flags the same number to only reveal a single NFT.\n\nCheck Transactions: \n```\n$ npm run check_txns --dir=minted\n```\n\n- Verifies the success of mint or reveal transactions.\n- The `--dir` flag is required. Accepted values are `minted` or `revealed`.\n\nRefresh OpenSea: \n```\n$ npm run refresh_os --start=1 --end=100\n```\n\n- Refreshes the listing for the specified editions on OpenSea.\n- Both the `--start` and `--end` flags are required.\n\n## UPDATES \u0026 FIXES\n\n### npm not recognized\n\nYou have not installed [node.js](https://nodejs.org) properly (* and or if you're using a M1 on macs you'll need to downgrade your current version of node.js to v14 for it to work*). Be sure to follow the installation instructions from their download page for your specific operating system. And restart your computer after installation. \n\nFor Mac M1 users, see this issue for more details: [Hashlips Art Engine - Issue 812](https://github.com/HashLips/hashlips_art_engine/issues/812)\n\n### Images not lining up\n\nBe sure that every layer is the same size. If you want the resulting image to be 512x512, then each layer needs to be 512x512. This will ensure that everything lines up properly.\n\n### Only the last image shows up\n\nThis is because you are not using `.png` images. `.jpg` or any other type will not work. `.png` has transparency which means there is no background and things behind it will show through. \n\n### ES Module Error \\[ERR_REQUIRE_ESM\\]\n\nIf you are following along with the tutorial you will run into this issue unfortunately. \n\nWhen the tutorial was created, `node-fetch` was at version 2. It was recently updated to version 3 and no longer supports the `require` syntax. \n\nFortunately, it's an easy fix. Just type these commands into the terminal:\n\n- `npm uninstall node-fetch`\n- `npm install node-fetch@2`\n\n### Any sort of \"path\" error\n\nEnsure that your layer names in the `config.js` file match exactly to your layer folder names. Also, remove any `-` (hyphens) from your file names.\n\n### \"Quota Limit Reached\" or \"Too many requests\" errors\n\nThere have been some changes made to the code from the original video resulting from some errors when uploading files, metadata, and minting using NFTPort. Depending on your plan, Free vs Community, there are rate limits.\n\nTo fix these issues, I've updated the code to include a timeout that will allow the files to be uploaded at a slower rate, instead of all at once, eliminating these errors.\n\nIf you've reached your quota limit, contact NFTPort to upgrade your plan to get more. \n\n**To use this code:**\n\n- Clone this repo or download the latest release zip file.\n- Unzip, if needed, and open the folder in VS Code.\n- From the terminal type: \n  - `npm install`\n- Copy your image layers into the `layers` folder.\n- Use the `src/config.js` file to set up your layers and NFT information.\n\n## Reference the [video](https://youtu.be/quGdJweadFM) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FcodeSTACKr%2Fcreate-10k-nft-collection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FcodeSTACKr%2Fcreate-10k-nft-collection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FcodeSTACKr%2Fcreate-10k-nft-collection/lists"}