weird - it says connected and I synced events from terminal
now it is connected, but it doesnât seem to work as expected, for this command:
'{"method": "eth_chainId", "id" : "0"}'
it returns:
{"jsonrpc":"2.0","id":null,"error":{"code":-32600,"message":"Invalid request","data":{"message":"Invalid request"}}}
what local devchain are you using?
I am using hardhatâŚ
Okay do you have any idea how I might solve this?
I donât have an idea now, I didnât see this before
maybe try to restart hardhat
I have tried multiple times
if you try to run locally on your local devchain this, what you get?
curl -X POST RPC_URL_HERE -d '{"method": "eth_chainId", "id" : "0"}'
{âjsonrpcâ:â2.0â,âidâ:null,âerrorâ:{âcodeâ:-32600,âmessageâ:âInvalid requestâ,âdataâ:{âmessageâ:âInvalid requestâ}}}
I donât know what happens, I guess that you can not use ganache
I am using hardhat not ganache
I know, I have more experience with ganache
it looks like an issue on our side specific to hardhat, weâll investigate more
Thank you so much!!!
So what route do you suggest I take in the meanwhile? Straight to testnet?
testnet will work, maybe we fix it today for hardhat
ganache will also work now
okay thank you please let me know when you do
as I am doing a tutorial that uses hardhat and not ganache
yes, I know, we have to fix it for hardhat
can you try to update the server (or create a new server and update it), and try again?