0

The problem is that when I am clicking a button using the safeMint function, I do not know how to input a value for the cost to mint. So I am essentially minting with air. enter image description hereenter image description here

I have included a mintRate and a require statement to make sure that the transaction has to be at least 1 ether, but in my application I do not know how to include a price. I works without a price but I would like to include a price to mint. enter image description here

This is the code for what I have so far i just need to make it have a value of 1 ether for minting the nft.enter image description here

  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Dec 03 '22 at 03:25

0 Answers0