Closed ChoyV closed 2 months ago
There is a error in your code when you check whether Profile is minted
minted = await contract.functions.isProfileMinted(self.address).call()
You have to getProfile first and then check isProfileMinted
Like this :
profile= await contract.functions.getProfile(self.address).call(); minted = await contract.functions.isProfileMinted(profile).call()
Thank you so much! I really appreciate your help. I couldn't figure out how it worked. I will fix the code soon.
There is a error in your code when you check whether Profile is minted
You have to getProfile first and then check isProfileMinted
Like this :