This project aims for Buidl it & Dev Dapp Starter Grant
This project won 2 prizes for Buidl it hackathon ๐ :
Check the project submission here!
We are currently on mumbai testnet. To use DevNFT you need to setup mumbai testnet network on metamask.
- Go to metamask settings > add network >
- NetworkName: Mumbai
- chainId: 80001
- Gas Token: MATIC Token
- Rpc url: https://matic-mumbai.chainstacklabs.com
- blockscan: https://mumbai.polygonscan.com/
To mint NFT you need test matic
- Take them from : https://faucet.polygon.technology/
Tools we are using
- IPFS infura node
- Contract templates by Nader Dabit
- Nextjs for building Client
- Hardhat for abi generation
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.
- 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.
- Double check .gitignore file and make sure .env is listed as shown below.