Hey guys 
How is it going?
I have been trying to deploy a contract and it keeps showing gas estimation error
What can I doing
 Mar 14, 2023, 7:32 AM
  Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending?
Returned error: {"jsonrpc":"2.0","error":"Internal JSON-RPC error.","id":6196190448476887}
 Returned error: {"jsonrpc":"2.0","error":"Internal JSON-RPC error.","id":6196190448476887}
Mar 14, 2023, 7:34 AM
  If you have a router address and get this error "Internal JSON... {code: -32000...}" during deployment, probably your are using wrong router address. Always check that the router address is the correct one for your current chain
 Mar 14, 2023, 7:34 AM
  You can increase the gas limit by specifying a higher value in the transaction
 Mar 14, 2023, 7:35 AM
  the gas limit in the metamask transaction right?
i have tried that and it failed
 i have tried that and it failed
Mar 14, 2023, 7:36 AM
  If you have already tried increasing the gas limit and the transaction still failed, then there could be other reasons for the failure.
 Mar 14, 2023, 8:59 AM
  Like what?
 Mar 14, 2023, 9:00 AM
  like insufficient funds, invalid data, network congestion
 Mar 14, 2023, 9:06 AM
  Non of these are popping up as error 
It is just the gas estimation error
 It is just the gas estimation error
Mar 14, 2023, 9:44 AM
  i see
 Mar 14, 2023, 10:21 AM
  I have even tried different test networks and still the same thing
 Mar 14, 2023, 10:35 AM
  @Sokolayam_dev have you tried this?
 Mar 14, 2023, 10:58 AM
  Yes I checked the router address in my code they were all correct
 Mar 14, 2023, 10:59 AM
  Share your code here. Use pastebin or something
 Mar 14, 2023, 11:03 AM
  here is the code
 this is really long
 Mar 14, 2023, 11:06 AM
  use pastebin
 Mar 14, 2023, 11:17 AM
  Okay
 Mar 14, 2023, 11:32 AM
  Which is pancakeswaps mainnet router ig
 Mar 14, 2023, 11:45 AM
  Yes
 Mar 14, 2023, 11:45 AM
  Well that's obviously not gonna work on other networks
 Mar 14, 2023, 11:46 AM
  So I shouldn’t hard code it?
 But some other times I hard code it, it works
 Mar 14, 2023, 11:47 AM
  You didn't even read this whole message, did you
 Mar 14, 2023, 11:48 AM
  I read it
 Mar 14, 2023, 11:49 AM
  And instead of copy pasting shitcoin code, try learning solidity first
 Mar 14, 2023, 11:49 AM
  Okay
 Where can I get we’ll explain teachings
 Mar 14, 2023, 11:50 AM
  cryptozombies for starters
 Browse through the pinned messages as well
 Mar 14, 2023, 11:51 AM
  On YouTube?
 Mar 14, 2023, 11:51 AM
  cryptozombies.io
 Mar 14, 2023, 11:51 AM