Blockchain//Wallet//Network
- Switching networks in Metamask = changing the RPC endpoint URL + Chain ID.
Switching networks in Metamask = changing the RPC endpoint URL + Chain ID.
Metamask has zero knowledge of Docker networks — it only understands RPC URLs and chainIds.
Connecting to local Besu: add custom network with http://localhost:9999 + the genesis chainId.
DApps like Uniswap fail on local networks: the smart contracts don't exist there (different chain)