{"id":15036388,"url":"https://github.com/codestackr/minter-dapp","last_synced_at":"2025-04-13T00:39:51.685Z","repository":{"id":37032311,"uuid":"468947966","full_name":"codeSTACKr/minter-dapp","owner":"codeSTACKr","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-05T13:47:31.000Z","size":2186,"stargazers_count":2049,"open_issues_count":62,"forks_count":3389,"subscribers_count":24,"default_branch":"main","last_synced_at":"2025-04-13T00:39:44.569Z","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":"2022-03-12T01:25:09.000Z","updated_at":"2025-04-01T03:31:04.000Z","dependencies_parsed_at":"2024-10-15T09:40:32.308Z","dependency_job_id":"a1a67d4b-c4e8-44e3-890a-5d7fce8d6b95","html_url":"https://github.com/codeSTACKr/minter-dapp","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeSTACKr%2Fminter-dapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeSTACKr%2Fminter-dapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeSTACKr%2Fminter-dapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeSTACKr%2Fminter-dapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeSTACKr","download_url":"https://codeload.github.com/codeSTACKr/minter-dapp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650414,"owners_count":21139671,"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-09-24T20:31:00.426Z","updated_at":"2025-04-13T00:39:51.661Z","avatar_url":"https://github.com/codeSTACKr.png","language":"JavaScript","funding_links":["https://github.com/sponsors/codeSTACKr"],"categories":[],"sub_categories":[],"readme":"# Minting DAPP\n\n## Table of Contents\n\n- [RESOURCES](#resources)\n- [INSTALLATION](#installation)\n  - [BACKEND](#backend)\n  - [BACKEND COMMANDS](#backend-commands)\n  - [FRONTEND](#frontend)\n\n## RESOURCES\n\n### Main Video\n\n🌟 [EASY Minting dApp | Whitelisting | Entire Process!! Create an Entire NFT Collection (10,000+)](https://youtu.be/cLB7u0KQFIs)\n\n### Update Video adding Ethereum support!\n\n🚀 [How To Deploy a Smart Contract to Ethereum!! (Updated Minting dApp)](https://youtu.be/-EB2TTQxSWc)\n\nBase art generator code is from [hashlips_art_engine](https://github.com/HashLips/hashlips_art_engine)\n\nContract uses [NFTPort](https://nftport.xyz)\n\nJoin the Discord server for more help from the community: [codeSTACKr Discord](https://discord.gg/A9CnsVzzkZ)\n\n## INSTALLATION\n\n### Backend\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 run: \n```\n cd backend\n npm install\n```\n- Copy your image layers into the `/backend/layers` folder.\n- Use the `/backend/src/config.js` file to set up your layers and NFT information.\n\n### Backend Commands\n\nGenerate: \n```\n$ npm run generate\n```\n- Generates unique images based on the layers in the `/backend/layers` folder.\n- WARNING: This command deletes the `/backend/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 `/backend/src/config.js` file.\n\nUpload Files/Images: \n```\n$ npm run upload_files\n```\n\n- Uploads all files in the `/backend/build/images` folder.\n\nUpload Metadata: \n```\n$ npm run upload_metadata\n```\n\n- Uploads all `.json` files in both the `/backend/build/json` folder and, if it exists, the `/backend/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 `/backend/src/config.js` file.\n\nGet Contract: \n```\n$ npm run get_contract\n```\n\n- Gets the deployed contract details including the contracts ABI using the transactions hash from the Deploy Contract command.\n\nUpdate Contract:\n```\n$ npm run update_public_mint_start_date\n$ npm run update_presale_mint_start_date\n$ npm run update_presale_whitelisted_addresses\n$ npm run update_presale_whitelisted_addresses_remove\n$ npm run update_royalty_share\n$ npm run update_royalty_address\n$ npm run update_base_uri\n$ npm run update_prereveal_token_uri\n```\n\n- Updates specific fields of the contract using the settings from the `/backend/src/config.js` file.\n- Available fields to update:\n  - `prereveal_token_uri` - This will update the pre-reveal token uri for all NFTs. (Hidden image)\n  - `base_uri` - This will update the base uri for all NFTs and reveal all.\n  - `public_mint_start_date` - Eg: 2022-02-08T11:30:48+00:00\n  - `presale_mint_start_date` - Eg: 2022-02-08T11:30:48+00:00\n  - `presale_whitelisted_addresses` - Adds address(es) to the whitelist\n  - `presale_whitelisted_addresses_remove` - Removes address(es) from the whitelist\n  - `royalties_share` - Updates the royalty share\n  - `royalties_address` - Updates the royalty wallet address\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### Frontend\n\n- Update the `frontend/js/abi.js` file with the ABI from `backend/build/contract/_contract_abi.json`.\n- Update your information in the `frontend/js/constants.js` file.\n- Deploy your dApp to Netlify. (Reference the video for full instructions.)\n\n\n## Reference the [main video](https://youtu.be/cLB7u0KQFIs) and [update video](https://youtu.be/-EB2TTQxSWc) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodestackr%2Fminter-dapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodestackr%2Fminter-dapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodestackr%2Fminter-dapp/lists"}