Skip to content

Commit

Permalink
use env
Browse files Browse the repository at this point in the history
  • Loading branch information
zkSoju committed Nov 20, 2022
1 parent 46ae06e commit e4db3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const avalancheChain: Chain = {
const { chains, provider } = configureChains(
[chain.goerli, chain.arbitrumGoerli, chain.polygonMumbai],
[
alchemyProvider({ apiKey: "e7cPXmSM4CN0WoDydp42aBK_SRswrWXU" }),
alchemyProvider({ apiKey: process.env.NEXT_PUBLIC_ALCHEMY_ID ?? "" }),
jsonRpcProvider({
rpc: (chain) => {
if (chain.id !== avalancheChain.id) return null;
Expand Down

0 comments on commit e4db3dd

Please sign in to comment.