June Kim's the First NFT app
HipCrypto Dev Week3-4 assignment
-
Clone the repo
-
Create a file named
.env
in the root directory -
Add keys and values
- MASTER_ADDR=xxx
- ALCHEMY_API_KEY=xxx
- ALCHEMY_PRV_KEY=xxx
- ETHERSCAN_API_KEY=xxx
- NFT_STORAGE_API_KEY=xxx
-
Create a file named
.env
in theclient
directory -
Add keys and values
- ALCHEMY_API_KEY=xxx
-
Modify
IMG_AMOUNT
inimggen.js
to the amount you want to create -
Execute the file
node imggen.js
-
This will create image files
N000
in/images/
-
This will upload the created images to NFT.storage
-
This will create metadata file
meta-uri.txt
in/client/public/
-
Compile the contract
yarn compile
-
Deploy to local chain
yarn deploy-local
-
Deploy to Rinkeby Ethereum testnet
yarn deploy-remote yarn verify
-
Change directory to
client
cd client
-
Start dev server
yarn dev
-
Open browser and go to
http://localhost:3000
-
Connect wallet
-
Click
mint
button