also for some reason the NFT still says " this NFT is not for sale". Is it because I am the owner? or another bug possibly?
Can you screenshot this error? This happens after signing the transaction to list the NFT?
this NFT is not for sale
Check your marketplace contract (as well as your Moralis server’s MarketItems
class) to see if there was a listing or market item created for that NFT.
also why is it messing with my metamask?
This looks fine, is it saved in your server MarketItems
class as well? That will be required for the dapp to update the sale status for any NFTs.
Message: new BigNumber() not a number: undefined
Do you still get this error? “also why is it messing with my metamask?” I’m not sure what you mean.
That means you haven’t managed to sync the events to your server. Make sure you follow the instructions here.
When do you get that MetaMask exactly?
ok I switched everything to ropsten. now I have the marketItem table and I can see the event
still the app is saying NFT is not for sale
Yes it looks like that needs to be confirmed before the app will accept that NFT being for sale (sold needs to be false and confirmed needs to be true). How long has it been now?
ok it worked now! you were right just had to wait it out. My metamask problem is still happening however. After I list the NFT whenever I try to open metamask again I get this
I’m not sure what’s causing this error, is your MetaMask extension updated? Which browser? Does this happen after the listing transaction goes through?
yes the metamask is up to date, I am using chrome. it still happens even when the listing goes through
It looks like just a MetaMask issue. If the transactions are going through and the app is working, I wouldn’t worry about that for now.