• Stars
    star
    2,043
  • Rank 22,647 (Top 0.5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 2 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Minting DAPP

Table of Contents

RESOURCES

Main Video

🌟 EASY Minting dApp | Whitelisting | Entire Process!! Create an Entire NFT Collection (10,000+)

Update Video adding Ethereum support!

πŸš€ How To Deploy a Smart Contract to Ethereum!! (Updated Minting dApp)

Base art generator code is from hashlips_art_engine

Contract uses NFTPort

Join the Discord server for more help from the community: codeSTACKr Discord

INSTALLATION

Backend

  • Clone this repo or download the latest release zip file.
  • Unzip, if needed, and open the folder in VS Code.
  • From the terminal run:
 cd backend
 npm install
  • Copy your image layers into the /backend/layers folder.
  • Use the /backend/src/config.js file to set up your layers and NFT information.

Backend Commands

Generate:

$ npm run generate
  • Generates unique images based on the layers in the /backend/layers folder.
  • WARNING: This command deletes the /backend/build folder if it exists!

Rarity (Hashlips):

$ npm run rarity
  • Calculates the rarity of NFT properties based on layer files.

Rarity (codeSTACKr):

$ npm run rarity_md
  • Calculates the rarity of NFT properties based on metadata.

Rarity Rank (codeSTACKr):

$ npm run rarity_rank
  • Provides ranking details through a user interface after calculating using the codeSTACKr Rarity command.

Update Info:

$ npm run update_info
  • Allows you to update namePrefix, description, and/or baseUri for metadata after it was already generated.

Create Generic Metadata:

$ npm run create_generic
  • Creates generic metadata using the settings from the /backend/src/config.js file.

Upload Files/Images:

$ npm run upload_files
  • Uploads all files in the /backend/build/images folder.

Upload Metadata:

$ npm run upload_metadata
  • Uploads all .json files in both the /backend/build/json folder and, if it exists, the /backend/build/genericJson folder as well.

Deploy Contract:

$ npm run deploy_contract
  • Deploys a contract to the blockchain using the settings from the /backend/src/config.js file.

Get Contract:

$ npm run get_contract
  • Gets the deployed contract details including the contracts ABI using the transactions hash from the Deploy Contract command.

Update Contract:

$ npm run update_public_mint_start_date
$ npm run update_presale_mint_start_date
$ npm run update_presale_whitelisted_addresses
$ npm run update_presale_whitelisted_addresses_remove
$ npm run update_royalty_share
$ npm run update_royalty_address
$ npm run update_base_uri
$ npm run update_prereveal_token_uri
  • Updates specific fields of the contract using the settings from the /backend/src/config.js file.
  • Available fields to update:
    • prereveal_token_uri - This will update the pre-reveal token uri for all NFTs. (Hidden image)
    • base_uri - This will update the base uri for all NFTs and reveal all.
    • public_mint_start_date - Eg: 2022-02-08T11:30:48+00:00
    • presale_mint_start_date - Eg: 2022-02-08T11:30:48+00:00
    • presale_whitelisted_addresses - Adds address(es) to the whitelist
    • presale_whitelisted_addresses_remove - Removes address(es) from the whitelist
    • royalties_share - Updates the royalty share
    • royalties_address - Updates the royalty wallet address

Refresh OpenSea:

$ npm run refresh_os --start=1 --end=100
  • Refreshes the listing for the specified editions on OpenSea.
  • Both the --start and --end flags are required.

Frontend

  • Update the frontend/js/abi.js file with the ABI from backend/build/contract/_contract_abi.json.
  • Update your information in the frontend/js/constants.js file.
  • Deploy your dApp to Netlify. (Reference the video for full instructions.)

Reference the main video and update video for more details.

More Repositories

1

create-10k-nft-collection

JavaScript
2,209
star
2

codeSTACKr

1,211
star
3

free-developer-resources

Free Developer Resources
866
star
4

portfolio-sass

A modern portfolio using Sass.
SCSS
185
star
5

nft-landing-page

JavaScript
165
star
6

hamburger-animation

From my YouTube video: https://youtu.be/dIyVTjJAkLw
CSS
91
star
7

nft-rarity-calculator

JavaScript
72
star
8

shadcn-nextjs

47
star
9

Face-Detection

From YouTube Tutorial
JavaScript
45
star
10

hangman-react

JavaScript
40
star
11

react-tic-tac-toe-hooks

React Tic Tac Toe Game using Functional Components and Hooks
JavaScript
35
star
12

codestackr-vscode-theme

34
star
13

markdown-crash-course

27
star
14

react-auth0

JavaScript
27
star
15

mega-menu

HTML
21
star
16

login-form

Tutorial from my YouTube Channel.
CSS
20
star
17

gsap-typing-animation

JavaScript
19
star
18

css-grid-tutorial

Tutorial from my YouTube channel. https://youtu.be/0-DY8J_skZ0
CSS
18
star
19

build-responsive-website

CSS
18
star
20

glassmorphism-credit-card

CSS
12
star
21

goal-manager-react

JavaScript
11
star
22

js-fetch

Fetch Tutorial from my YouTube channel - youtube.com/codestackr
JavaScript
11
star
23

Motion-UI

HTML
10
star
24

rock-paper-scissors-video

CSS
9
star
25

vscode-remote-containers

JavaScript
8
star
26

gentree-generator

JavaScript
7
star
27

responsive-navbar

Responsive navbar tutorial from my YouTube channel. https://youtu.be/mEtmJ2xk16g
CSS
7
star
28

ducktube-clone

Testing out Codux!!
TypeScript
7
star
29

css-crash-course

CSS
6
star
30

html-beginners-2019

HTML
6
star
31

social-icons

CSS
4
star
32

superhero-extensions

4
star
33

codux-antd

TypeScript
3
star
34

prestoapi-demo

JavaScript
3
star
35

discord-slash-demo

TypeScript
3
star
36

sanity-gatsby-blog

Blog with Gatsby
JavaScript
3
star
37

sanity-kitchen-sink

Kitchen Sink
JavaScript
3
star
38

codestackr-com

JavaScript
2
star
39

No-JavaScript-Platform-Game

No JavaScript Platform Game
CSS
2
star
40

vercel-integration

JavaScript
2
star
41

Product-Card

Responsive Product Card Tutorial on YouTube
CSS
2
star
42

react-template

JavaScript
2
star
43

coducks

TypeScript
2
star
44

netlify-mongodb-nextjs-ai-chatbot

TypeScript
2
star
45

vite-react

TypeScript
1
star
46

git-tutorial

Git beginners tutorial
HTML
1
star
47

teamseas

HTML
1
star
48

mongodb-nextjs-todo

JavaScript
1
star
49

RapidAPI_Demo

JavaScript
1
star
50

codux-bootstrap-demo

TypeScript
1
star