PNM( Polygon NFT MarketPlace )
NFT MarketPlace runs on Polygon Mumbai network with "Login With Unstoppable" as a login option.
Login with Unstoppable Demo Video
Working App
Person of Contact
-
Discord ID: soheil#1703
-
UnstoppableDomain registered account email address: soheilrasekh555@gmail.com
Tech Stack
- Typescript
- Nextjs
- Reactjs
- Redux
- Tailwindcss
- solidity
- Hardhat
- IPFS
- OpenZeppelin
Running Locally
-
Clone the project
git clone https://github.com/soheil555/polygon-NFT-marketplace.git cd polygon-NFT-marketplace
-
Installing dependencies and compile contracts
npm install npx hardhat compile
-
Run a local hardhat network
npx hardhat node
-
Deploy contracts on the local network
npx hardhat run scripts/deploy.ts --network localhost
-
create .env file
cp .env.example .env
-
edit .env file and set values for:
MUMBAI_URL= #not required for local network PRIVATE_KEY= #not required for local network NEXT_PUBLIC_NFT_CONTRACT_ADDRESS= #from step 4 NEXT_PUBLIC_NFT_MARKET_CONTRACT_ADDRESS= #from step 4 NEXT_PUBLIC_UAUTH_CLIENT_ID= #get it from https://unstoppabledomains.com/auth NEXT_PUBLIC_UAUTH_CLIENT_SECRET= #get it from https://unstoppabledomains.com/auth NEXT_PUBLIC_UAUTH_REDIRECT_URI= NEXT_PUBLIC_INFURA_ID=
-
Start development server
npm run dev
License
available under the MIT license. See the LICENSE
file for more info.