Flow
We will use the MPC generated wallet from Coinbase CDP to sign and interact with contract -> User won't need to connect wallet but can still receive the NFT at the end
NFT Minting flow
Upload image (the exported stats) to Pinata -> return ipfs for image
Craft and upload metadata to Pinata -> return ipfs for JSON metadata
Use cdp/mint API route to mint NFT with the assigned metadata
Demo: Please access /mint route to test the function.
Pre-requisite: Update .env files
Contract Deployment: Simple ERC721 token (please view contract)
Flow We will use the MPC generated wallet from Coinbase CDP to sign and interact with contract -> User won't need to connect wallet but can still receive the NFT at the end
NFT Minting flow
Demo: Please access /mint route to test the function.
Reference: