We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c27441 commit f50156eCopy full SHA for f50156e
web/netlify/functions/authUser.ts
@@ -78,7 +78,7 @@ const authUser = async (event) => {
78
console.info(`Environment variables: ${envVars}`);
79
80
const alchemyChain = isProductionDeployment() ? "arb-mainnet" : "arb-sepolia";
81
- const alchemyRpcURL = `https://${alchemyChain}.g.alchemy.com/v2/${process.env.ALCHEMY_API_KEY}`;
+ const alchemyRpcURL = `https://${alchemyChain}.g.alchemy.com/v2/${process.env.ALCHEMY_FUNCTIONS_API_KEY}`;
82
const provider = new ethers.providers.JsonRpcProvider(alchemyRpcURL);
83
await siweMessage.verify({ signature, nonce: nonceData.nonce, time: new Date().toISOString() }, { provider });
84
} catch (err) {
0 commit comments