The TEXT is a collection of 1000 NFTs representing 1000 text. This repository includes the frontend and a smart contract that allows you to mint and interact with the NFTs. (Final project for NTU Decentralized Applications Design and Practice 2022, Demo)
- Install the dependencies
npm install
- Run Hardhat Network
npx hardhat node
- Deploy the contract
npx hardhat run .\scripts\deploy.js --network localhost
- Set up the backend url as an environment variable
mkdir .env.local
echo "BACKEND_BASE_URL=YOUR_BACKEND_URL" > .env.local
- Start the dev server
npm run dev
Open the browser and go to http://localhost:10922/ to see the UI.
The 3D model is based on Spline's library and the UI design is highly inspired by Trisha Lim's post.