Skip to content

cankaytaz/merkle_tree

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A NFT white list dapp using merkle tree

To run this app:

  1. Clone this repository
git clone [email protected]:rizahedayati/merkle_tree.git
  1. Install the dependencies in all directory
cd [directory_name]
npm install
  1. go to merkle_contract directory and create .env file like .envExample
cd merkle_contract
  1. Deploy to localhost or goerli
npx hardhat node //just for local network
npx hardhat run scripts/deploy.js --network localhost
  1. go to merkle_contract directory
cd merkle_contract
  1. go to merkle_server directory and create .env file like .envExample
cd merkle_contract
  1. start mongo db service in your system
service mongod start
  1. copy contract address from merkle_contract/config.js and paste in merkle_client/config.js

  2. copy artifacs directory from merkle_contract and paste in merkle_client

  3. go to merkle_client directory

cd merkle_client
  1. start the client app
npm run dev
  1. open your browser in http://localhost:3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published