Rarible Clone Part 11/ problem by adding to Item marketplace[SOLVED]

i am glad that it works, I had same problem too , you should have to add web3.utils.toWei(sellItemPriceField, "ether")).send({from: userAddress}) in your main.js code. Have a nice day too :slight_smile:

1 Like

Hi @aliekber1976, where did you add this line

web3.utils.toWei(sellItemPriceField, "ether")).send({from: userAddress})

to main.js?

hello, I put that in createItem. for example this is for me await marketplaceContract.methods.addItemToMarket(nftId, TOKEN_CONTRACT_ADDRESS, web3.utils.toWei(createItemPriceField.value, "ether")).send({from: userAddress });

1 Like

Hi, I am facing issue in addItemToMarket method calling. No issue shown but not adding item to dashboard

Did you try debugging it to see why it doesn’t make it to dashboard? By dashboard you mean your application interface or Moralis dashboard?

Hi everyone,

I have put the same code of rarible cloning in my code but still nft is not getting saved either in Items and Itemsforsale table. And also cloud function is giving null values.