Crypto Wiz NFT Minting dApp

Overview

Crypto Wiz NFT Minting dApp

This is CryptoWiz NFT minting dApp(BETA). This application describes the CryptoWiz collections and allows the mint of the NFTs.

To see the demo check this link:

vercel

This application is a complete example of fullstack NFT minting dApp inspired by "Udemy The Fullstack Nft Minting Website Course". To better understand this source take thise course:

udemy

Installation

You can use the default CryptoWiz smart contract and play with it or you can also put your own smart contract and make changes as needed. Remember to make .env file with your own variables like this.

 NEXT_PUBLIC_ALCHEMY_RPC_URL=<PERSONAL_NEXT_PUBLIC_ALCHEMY_RPC_URL>
 NEXT_PUBLIC_FORTMATIC_KEY=<PERSONAL_NEXT_PUBLIC_FORTMATIC_KEY>
 NEXT_PUBLIC_DAPP_ID=<PERSONAL_NEXT_PUBLIC_DAPP_ID>
 METAMASK_PRIVATE_KEY=<PERSONAL_METAMASK_PRIVATE_KEY>
 ETHERSCAN_API_KEY=<PERSONAL_ETHERSCAN_API_KEY>

Use the default CryptoWiz Smart Contract:

  # Clone the repository and change directory into it
  git clone https://github.com/codingwithdidem/CryptoWiz-minting-dapp.git
  cd CryptoWiz-nft-minting-dapp

  npm install            # Download packages
  npm run dev            # Run the dev server

Making Changes

First of all change .env variables with yours. And update the dapp.config.js file according to your needs.

If you want to make changes on CryptoWiz smart contract, you can find CryptoWiz.sol inside /contractsfolder. After making changes you need to recompile your smart contract using npx hardhat compile command. It will recompile the smart contract and create & update /artifacts folder. Smart contract ABI is also in this folder.

After making changes you need to update the scripts/whitelist.js with your whitelisted users accounts and deploy & verify your smart contract on ethereum blockchain. Use the scripts I created for you to do that. You can find the deploy & verify scripts inside /scriptsfolder.

  # This command will deploy your smart contract on rinkeby test network
  npx hardhat run scripts/deployContract.js --network rinkeby

  # This command will verify your smart contract on rinkeby etherscan
  npx hardhat run scripts/verifyContract.js --network rinkeby

IMPORTANT

When deploying the contract the state of the presaleM and publicM properties is false. Set at least one of the properties to true with togglePresale and togglePublicSale if no causes fee calculation error.

Client:

** If you want to use a different network you need to pass its name instead of rinkeby. Also make sure you configured it in hardhat.config.js file as a network option.

Finally update the /utils/interact.js file so that it uses the related functions from your updated contract. Also change the contract address and the imported ABI in this file with your newly deployed contract.

Deploying on mainnet

When you are done with making changes and your minting dapp is just as you wanted it is time to deploy on ethereum mainnet. To do that;

  • Make sure you changed all env variables with yours. And also for the network you need to chose ethereum mainnet.
  • Update hardhat.config.js so that as network option you use mainnet not rinkeby. hardhat
  • While deploying your contract with hardhat you need to use mainnet as network-name
  # This command will deploy your smart contract on ethereum mainnet
  npx hardhat run scripts/deployContract.js --network mainnet

  # This command will verify your smart contract on mainnet etherscan
  npx hardhat run scripts/verifyContract.js --network mainnet

Tech Stack

Client: React, TailwindCSS, web3.js

Server: Alchemy, NextJS, Hardhat

Support

Write me on [email protected]

You might also like...
A collection of 14 different React projects like Music Player, Weather App, Crypto Tracker, Chat Room, Currency Converter, COVID Tracker, To-do and Expense App, Color Generator etc.
A collection of 14 different React projects like Music Player, Weather App, Crypto Tracker, Chat Room, Currency Converter, COVID Tracker, To-do and Expense App, Color Generator etc.

Simple React Projects Note: If any project does not work Online download the project and run on your local Storage (Error is coming due to Local Stora

The Next-Gen Crypto Wallet

🅒🅖🅦 Coingrig Mobile Wallet Next-Gen Crypto Wallet. A powerful crypto wallet for everyone, unique features and open source Building Locally The code

A Crypto Dashboard built in React and Nodejs using RapidAPI

Crypto Dashboard in React and Nodejs This project is in support of the tutorial found here To Start This Project npm i Install all the packages you ne

Payment Processor in smart contract and pay with crypto for business

Decentralized Pay With Crypto Implementation Tech Stack Node.js React Solidity S

Template for Crypto Websites. Source code for ElonCatMoon.com
Template for Crypto Websites. Source code for ElonCatMoon.com

Crypto Website Template This is the source code for ElonCatMoon. This website is written with react.js. I have it hosted on Netlify if you have any qu

Ethereum Nft Marketplace Boilerplate With React
Ethereum Nft Marketplace Boilerplate With React

ethereum-boilerplate-NFT-Marketplace This Project is a fork of Ethereum Boilerplate and demostrates how you can build your own NFT Marketplace. This p

A full stack NFT marketplace built using react

Demo NFT Marketplace Goals: Concise code Well typed Modern react code using hook

Eth-time - ETH Time - A new NFT collection created to explore new ways of generating NFTs on-chain

ETH Time ETH Time is a new NFT collection created to explore new ways of generat

Noft - Chrome extension to block NFT profiles on Twitter

TypeScript React Chrome Extension Boilerplate A basic TypeScript React Chrome Ex

ExoBitsNFT-Minting- - A complete NFT website with Minting and Gallery features

nft-minting-website-example ReExoBits A complete NFT website with Minting and Ga

NAJI2329 23 Dec 2, 2022
Web3-nft-dapp-tutorial - A simple web3 app for minting NFTs

Web3 - Full Tutorial The demo contains a basic web3 app and smart contract for m

Fireship 198 Dec 10, 2022
Basic Dapp showing how a React Dapp can connect to Cronos using MetaMask and Crypto.com Defi Wallet

cronos-dapp-basic Basic Dapp showing how a React Dapp can connect to Cronos using MetaMask and Crypto.com Defi Wallet You need to have node version 14

Acclrate 1 Dec 27, 2021
Starter kit for developers who want to build an NFT minting site

NFT Dapp Starter Kit ??️ Ready to bootstrap your own NFT minting site? You're in the right place. This boilerplate repo contains an NFT minting contra

Coinbase 122 Dec 28, 2022
Crypto-price-app - Crypto Price App build using ReactJS

Crypto Price App This crypto-price-app was build using ReactJS. We can find the

null 2 Feb 18, 2022
Nft-marketplace - Reactjs And Smart Contracts Open Source Basic Nft Marketplace App

Open Source Nft Marketplace [Onprogress %1] Reactjs And Smart Contracts Open Sou

Özgür 281 Dec 29, 2022
Braian D. Vaylet 17 Oct 22, 2022
An NFT Marketplace React dApp demo on the Polygon blockchain with basic functionalities such as acquire and mint NFTs using ERC721 Smart Contract and Interplanetary File System IPFS.

Polygon-NFT-marketplace generated from jellydn/dapp-starter Opinionated Dapp Starter Template Homepage - Marketplace NFT Minting Features The React Fr

null 129 Dec 31, 2022
Dapp-core-components - A library that holds the core logic of a dapp on the Elrond Network with an example to get started easily

A library that holds the core logic of a dapp on the Elrond Network with an example to get started easily

Elrond Network 4 Jan 6, 2023
Create-dapp-solana-nextjs - Scaffolding for a Solana dapp using TS, Next.JS, Tailwinds CSS, and Daisy UI

Create Solana Dapp with Next.JS Want to start develop with Solana fetching NFTs

Thug DAO 295 Jan 6, 2023