Hardhat chain 1337 with Metamask - can't import tokens #3539
Unanswered
rick897887
asked this question in
Troubleshooting
Replies: 1 comment 1 reply
-
@rick897887 try changing the chain id of the localhost network to 31337. To do that go to Metamask settings -> Networks -> Select "Localhost 8545" and change the "Chain ID" field. I have that configuration and I was able to import a token I deployed to a local node. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using a chain ID of 1337 with Hardhat. When I try to import a custom ERC20 deployed on my local Hardhat node into Metamask, I get a "TokenService Error: ChainId 0x539 is not supported" error message. Is anyone else getting this? A Google search for this exact error message reveals two results only.
Beta Was this translation helpful? Give feedback.
All reactions