We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When initializing the client, I'm getting Anchor errors. My guess is that there is improper dependencies loaded:
Error fetching stakers profiles: TypeError: anchor_1.Wallet is not a constructor at Generator.next (<anonymous>) at new Promise (<anonymous>) at getGfmClient (src/lib/config/gfm-client.ts:11:33) at getStakersProfile (src/lib/services/get-stakers-profile.ts:20:38) at async GET (src/app/api/stakers/route.ts:11:17)
My code is simply:
export type GFMClient = Awaited<ReturnType<typeof initGoFundMemeSDK>>; export async function getGfmClient(): Promise<GFMClient> { const connection = new Connection('https://api.mainnet-beta.solana.com'); return await initGoFundMemeSDK({ connection }); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When initializing the client, I'm getting Anchor errors. My guess is that there is improper dependencies loaded:
My code is simply:
The text was updated successfully, but these errors were encountered: