Skip to content

Commit

Permalink
upd: log ccomments #190
Browse files Browse the repository at this point in the history
  • Loading branch information
habdevs committed Sep 6, 2023
1 parent 951c19c commit 506e479
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gameApi/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ import {TGameType} from 'types/game';
import {fetchSigner} from '@wagmi/core';
import {useState} from "react";

const provider = new ethers.providers.AlchemyProvider('matic', process.env.NEXT_PUBLIC_ALCHEMY_API_KEY!);
const provider =
new ethers.providers.AlchemyProvider('matic', process.env.NEXT_PUBLIC_ALCHEMY_API_KEY!);
console.log('ALCHEMY KEY', provider)
console.log('NEXT_PUBLIC_ALCHEMY_API_KEY', process.env.NEXT_PUBLIC_ALCHEMY_API_KEY!)
const getSdk = async () => getPolygonSdk(await getSigner())
const getSdkRead = () => getPolygonSdk(provider);
export const getArbiter = async (): Promise<Arbiter> => (await getSdk()).arbiter;
Expand Down

0 comments on commit 506e479

Please sign in to comment.