1

I can't click Deploy, even though my Metamask is connected:

https://imgur.com/a/K8kEyRO

My Metamask currently has 0.2497 SepoliaETh in it.

2 Answers 2

1

Since, the constructor of the contract that you’re trying to deploy is not payable, therefore it’s not allowing the value to be passed while deploying.

Remove the VALUE that you’ve entered as 10 in your Remix IDE:

enter image description here

2
  • Removed it (it is now 0), still have the same error
    – matta
    Commented May 1 at 7:43
  • Can you share the contract code by creating a gist of the same ? Commented May 1 at 8:54
0

I had this same issue and came across this. It was very frustrating and I tried many different changes in the settings and nothing worked. What did work was the following:

  1. Open Metamask
  2. Disconnect Account from Remix
  3. Reconnect account to Remix
  4. Deploy success

If anyone else comes across this issue I hope the above resolves it for you and saves you some time.

1
  • Disconnecting and reconnecting my metamask to remix solved the problem. SpaceTristan's answer did the job Commented Jul 5 at 16:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.