diff --git a/packages/react-app/src/App.js b/packages/react-app/src/App.js index 86a5dde..2733e7d 100644 --- a/packages/react-app/src/App.js +++ b/packages/react-app/src/App.js @@ -46,7 +46,7 @@ if (process.env.REACT_APP_NETWORK_NAME) { console.log("🎉 XDAINETWORK + 🚀 Mainnet Ethereum"); localProvider = mainnetProvider; kovanProvider = new ethers.providers.StaticJsonRpcProvider( - "https://xdai.poanetwork.dev" //"https://rpc.xdaichain.com/"//"https://dai.poa.network" + "https://rpc.gnosischain.com" //"https://xdai.poanetwork.dev" //"https://rpc.xdaichain.com/"//"https://dai.poa.network" ); } else if (process.env.REACT_APP_NETWORK_NAME === "sokol") { console.log("THIS.IS.SOKOL"); diff --git a/packages/react-app/src/helpers/addToMetamask.js b/packages/react-app/src/helpers/addToMetamask.js index 9f1a16d..bdf8e85 100644 --- a/packages/react-app/src/helpers/addToMetamask.js +++ b/packages/react-app/src/helpers/addToMetamask.js @@ -12,7 +12,13 @@ export async function addXDAItoMetamask(props) { { chainId: "0x64", chainName: "xDAI Chain", - rpcUrls: ["https://rpc.xdaichain.com"], + rpcUrls: [ + "https://rpc.gnosischain.com", + "https://rpc.xdaichain.com", + "https://xdai.poanetwork.dev", + "https://dai.poa.network", + "https://xdai-archive.blockscout.com" + ], iconUrls: [ "https://gblobscdn.gitbook.com/spaces%2F-Lpi9AHj62wscNlQjI-l%2Favatar.png" ], diff --git a/packages/react-app/src/helpers/transactionHandler.js b/packages/react-app/src/helpers/transactionHandler.js index 21dbaff..af4895b 100644 --- a/packages/react-app/src/helpers/transactionHandler.js +++ b/packages/react-app/src/helpers/transactionHandler.js @@ -29,15 +29,15 @@ export async function transactionHandler(c) { content: ( <>

- Nifty Ink is built on xDai: please change your MetaMask Network to - point to the{" "} + Nifty Ink is built on Gnosis chain: please change your MetaMask + Network to point to the{" "} xDai Chain

You will need to create a custom RPC with the following URL:{" "} - https://dai.poa.network + https://rpc.gnosischain.com

) @@ -50,7 +50,7 @@ export async function transactionHandler(c) { content: ( - + Take it to the bridge {" "} (to transfer DAI from mainnet).