diff --git a/packages/dapp/src/utils/connect.js b/packages/dapp/src/utils/connect.js index 3505128b1..11524ee96 100644 --- a/packages/dapp/src/utils/connect.js +++ b/packages/dapp/src/utils/connect.js @@ -20,7 +20,7 @@ export const provider = ({ chainId }) => { if (chainId === 1337) { return new providers.JsonRpcProvider('http://localhost:8545') } - return new providers.CloudflareProvider() + return new providers.JsonRpcProvider('https://eth-mainnet.g.alchemy.com/v2/EPx6hNqYZwrb0hhmr9nsmavrbM8b6wch') } export const connectorStorageKey = 'sign.kernel.community' diff --git a/packages/dapp/src/utils/signatures.js b/packages/dapp/src/utils/signatures.js index 930771a66..d3d2c9fcb 100644 --- a/packages/dapp/src/utils/signatures.js +++ b/packages/dapp/src/utils/signatures.js @@ -59,7 +59,7 @@ const lookupEnsNames = async (data) => { export const lookUpEns = async (account) => { if (!account) return account - const provider = new ethers.providers.CloudflareProvider() // defaults to homestead + const provider = new ethers.providers.JsonRpcProvider('https://eth-mainnet.g.alchemy.com/v2/EPx6hNqYZwrb0hhmr9nsmavrbM8b6wch') const ens = await provider.lookupAddress(account) return ens ?? account }