Skip to content

Commit

Permalink
change rpc URLs. dont use alchemy
Browse files Browse the repository at this point in the history
  • Loading branch information
calebtuttle committed Mar 6, 2024
1 parent 377ae99 commit b5c1871
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions src/constants/misc.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,26 @@ export const sessionStatusEnum = {
REFUNDED: "REFUNDED",
};

export const ethereumProvider = new ethers.providers.AlchemyProvider(
"homestead",
process.env.ALCHEMY_APIKEY
// export const ethereumProvider = new ethers.providers.AlchemyProvider(
// "homestead",
// process.env.ALCHEMY_APIKEY
// );
// export const optimismProvider = new ethers.providers.AlchemyProvider(
// "optimism",
// process.env.ALCHEMY_APIKEY
// );
// export const optimismGoerliProvider = new ethers.providers.AlchemyProvider(
// "optimism-goerli",
// process.env.ALCHEMY_APIKEY
// );
export const ethereumProvider = new ethers.providers.JsonRpcProvider(
process.env.ETHEREUM_RPC_URL
);
export const optimismProvider = new ethers.providers.AlchemyProvider(
"optimism",
process.env.ALCHEMY_APIKEY
export const optimismProvider = new ethers.providers.JsonRpcProvider(
process.env.OPTIMISM_RPC_URL
);
export const optimismGoerliProvider = new ethers.providers.AlchemyProvider(
"optimism-goerli",
process.env.ALCHEMY_APIKEY
export const optimismGoerliProvider = new ethers.providers.JsonRpcProvider(
process.env.OPTIMISM_GOERLI_RPC_URL
);
export const fantomProvider = new ethers.providers.JsonRpcProvider(
"https://rpc.ftm.tools"
Expand Down

0 comments on commit b5c1871

Please sign in to comment.