Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
118 views

TypeError: Cannot read properties of undefined (reading 'size')

I want to use idl for the backend, but when initializing it there are some errors, I really tried many ways but can't fix it, thank you everyone for your help. code import { Sleep } from "./Sleep&...
Hiderr Kamado's user avatar
0 votes
1 answer
28 views

anchor build not working for my project [duplicate]

error: not a directory: '/Users/macbook/.local/share/solana/install/releases/1.18.18/solana-release/bin/sdk/sbf/dependencies/platform-tools/rust/bin' The error above is what i get when i run anchor ...
Enya Emmanuel's user avatar
0 votes
0 answers
67 views

Instruction references an unknown account FeBFCyJ26WxmN61bnXB2CyxFaUV2PzGwvqerCJcT5sC4

I have a Rust Anchor program for swapping SPL Tokens. It has three methods: Make, refund and take. Also I have a Next.js frontend app. I want to integrate this Rust Anchor program with Next.js app. ...
Barış Yenigün's user avatar
2 votes
2 answers
372 views

src.toArrayLike is not a function

I am trying to do a dapp on Solona with Next.js and Ancor. I am getting that error Here is my program setup const connection = new Connection(clusterApiUrl("devnet"), "confirmed");...
Berkay Çırak's user avatar
1 vote
1 answer
524 views

Errors when using `@project-serum/anchor` with Next.js v14 using Webpack 5

I am sharing my useWalletHook.tsx file: "use client"; import { Program, AnchorProvider } from "@project-serum/anchor"; import { useConnection, useWallet as useAdapterWallet, ...
sanjeet kumar's user avatar