I am having an issue with my deployed contract on Rinkeby testnet, when set cost more then zero it is giving me error while minting, my contract address is as bellow:
When i set cost as:
uint256 public cost = 0 ether;
It is perfectly fine and there is error coming, as soon as i set something like:
uint256 public cost = 0.1 ether;
It start showing me error, can anyone help me where thing goes wrong in the code.
Thanks in advance