Closed youngkidwarrior closed 3 years ago
Each time a challenge is finished an accompanying NFT should be minted. The amount that is minted can be chosen by the owner.
Fields from the NFT should include: { address to, string memory _challengeUrl }
Check out Nifty Token for guidance writing the ChallengeToken Contract.
Add the token to the ChallengeRegistry.sol. Check Nifty Registry
Add the logic to Challenges.sol to mint a token when the Challenge status is "Succeed" or "Failed" NiftyInk might help
Each time a challenge is finished an accompanying NFT should be minted. The amount that is minted can be chosen by the owner.
Fields from the NFT should include: { address to, string memory _challengeUrl }
Check out Nifty Token for guidance writing the ChallengeToken Contract.
Add the token to the ChallengeRegistry.sol. Check Nifty Registry
Add the logic to Challenges.sol to mint a token when the Challenge status is "Succeed" or "Failed" NiftyInk might help