0

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

brivan@0xbrivan:~$ cast chain-id -r http://142.93.32.153:32281/rpc
31337

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.

0

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.