Skip to content

A sample NFT minting page and smart contract with whitelist and royalties

Notifications You must be signed in to change notification settings

jacobvanschenck/nft-project-nextjs

Repository files navigation

Welcome to Turbo Runners

Turbo Runners Screenshot

An full NFT project with the NFT contract and full minting site.

Here is the dApp running on the Rinkeby Network Here is the NFT on OpenSea

Features 📼

This project uses an implementation of the ERC-721a standard from Azuki and includes:

  • Whitelisting
  • Royalties on mint and transfer
  • Art reveal date
  • Batch Minting

Tech Stack ⚙️

Whitelisting 📋

Whitelist Gif

  • Smart Contract is created with a 'root' from a Merkle Tree
  • Front-End checks to see if address is on list
  • Front-End uses a Merkle Tree to create the 'proof' that is sent to mint funciton on Contract
  • Smart contract uses OpenZeppelin MerkleProof to verify the proof with the root.

Install 💾

Start off by cloning this repo or downloading the zip file. After that open up your terminal and run these commands:

cd ProjectFolder
npm install

Run Truffle Blockchain 🔗

Next step is to get the Truffle blockchain running locally

cd ProjectFolder
truffle develop

Then inside of the truffle(develop) terminal run:

migrate --reset

Start Client 🌐

Finally get the client site running on localhost. Open a new Terminal window and run:

cd client/
npm run start

Head over to http://localhost:3000 and start using MyDex!

Note: Make sure to add the Ganache network to your Metamask


Feedback 🤝

Do you have any suggestions for code or additional features you'd like to see implemented? Hit me up on Twitter

About

A sample NFT minting page and smart contract with whitelist and royalties

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published