To use xDai with Metamask, you need the xDai RPC. Adding this to Metamask is simple.
1. Goto RPC info
RPC info collates several custom RPCs. All used to connect to blockchains with Metamask.
2. Search for xDai
You’ll need the xDai RPC to connect to xDai. Filter the RPCs by typing “xDai” in the search box.
Make sure you’re using the xDai mainnet, not the test net. Unless you’re looking for the test net.
3. Click Add to Metamask
There’s a handy button on the right. Click it. It’ll take you through some simple approval steps.
Once done, you’ll be able to switch your Metamask network to xDai mainnet.