Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

WebXDAO/DEV-NFT

Repository files navigation

DEV-NFT Stake to support us

animated

This project aims for Buidl it & Dev Dapp Starter Grant

Hackathon results

This project won 2 prizes for Buidl it hackathon 🏆 :

Check the project submission here!

Network

We are currently on mumbai testnet. To use DevNFT you need to setup mumbai testnet network on metamask.

image

To mint NFT you need test matic

Tools we are using

  • IPFS infura node
  • Contract templates by Nader Dabit
  • Nextjs for building Client
  • Hardhat for abi generation

Environment Variables

For local development, developers need to create environment variables in .env file. If you are not familiar with environment variables, here is a great article explaining it.

  • To define permanent environment variables in this project, create a file called .env in the root of your project with following variables:
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
NEXTAUTH_URL=http://localhost:3000
  • You need to obtain your own Github Client ID and Secret Key for OAuth authentication for the app which would also be assigned to 'GITHUB_CLIENT_ID' and 'GITHUB_CLIENT_SECRET' variable above. If you want to understand further about client ID and Secret Key, as well as OAuth authentication, please read this document.
    • You need to first register your app to obtain your Client ID and Secret Key. Click here to begin.
    • Fill in the information as shown below and click "Register application" button to proceed. image
    • There you have it. Your client ID and client secret keys come from your application's configuration page. You should never, ever store these values in GitHub or any other public place, for that matter. We recommend storing them as environment variables which is exactly what we've done here.

image

  • Double check .gitignore file and make sure .env is listed as shown below.

image

About

DevNFT aim for Encode x Filecoin Accelerator and Dev Dapp Starter Grant - This project was born on BUIDL IT Hackathon x Polygon.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks