I'm playing Hack The Box blockchain challenges and trying to connect to the custom network chain on Metamask.
Network rpc URL:
I recovered the chain id using the cast command from foundry framework:

brivan@0xbrivan:~$ cast chain-id -r

When filling the necessary information, metamask says: Could not fetch chain ID, Is your RPC URL correct? enter image description here

I'm sure the RPC URL is correct as I used to interact with it using foundry console commands.


Your Answer

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

Browse other questions tagged or ask your own question.