Skip to content

nghdavid/NFT-Backend

Repository files navigation

NFT_Backend

Backend and Frontend of NFT whitelist

Main Features

  • Efficient Gas Usage: Save whitelists in a Merkle tree to reduce gas costs.
  • Flexible Whitelist Issuance: Issue whitelists to users with EIP-191 signatures.
  • Tamper-Proof RNG: Utilize ChainLink VRF to prevent manipulation of the random number generator by hackers.

Backend Technique

  • Ethers.js
  • Express.js
  • Openzeppelin/merkle-tree

How to start my project

  • Install Node.js (v20.12.2)
  • Run: npm i
  • Create .env
  • Run utils/generate_merkle_tree.js
  • Move tree.json to main directory
  • Change addressNFT in public/constant.js
  • node app.js or docker-compose up -d

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published