All Questions
Tagged with solana-web3js or web3.js
1,199 questions
0 votes
0 answers
28 views
issue with the template web3js-next-tailwind-counter
I tried to deploy the template program located at: https://github.com/solana-foundation/templates/tree/main/web3js/web3js-next-tailwind-counter . This template has been mentioned in tutorials on ...
0 votes
1 answer
49 views
Understanding Real-World Arbitrage Opportunities on Solana: Beyond Theoretical Models
A lot of Solana arbitrage discussions focus on theory — comparing prices across DEXs, simulating swaps, or building “paper” bots. However, most of these models fail in live environments because of ...
1 vote
0 answers
22 views
How to give demo for an solana dapp that is running on a local validator?
I have a pitch meeting soon and for showing the end to end working of my dapp I have to make a lot of mints, wallets and fund them by airdropping and do complex transactions that sometimes fail or don'...
0 votes
0 answers
17 views
How can I use WebSocket subscriptions with more than one Solana RPC and avoid duplicate or missing updates?
I’m trying to build a system that listens to Solana WebSocket subscriptions like onAccountChange or onLogs from several RPC providers at once. The goal is to get faster updates, if one RPC is slow or ...
0 votes
0 answers
54 views
Fetching the ATH Market cap of Pumpfun or Bonk token BwtdHKXTgsyAHq9DX3Yo8QUrRkYLX3firVi9hQ71pump
I used bitquery for fetching the ATH mcap of this token. But the result was different with real ATH mcap. How can I solve this issue?
1 vote
2 answers
732 views
I WAS SCAMMED ON SOLANA'S OFICIAL YOUTUBE CHANNEL
I was browsing YouTube when an ad from the official SOLANA channel appeared — a video (link https://youtu.be/Nq4sClUWlxc?si=CnX-KycrIwhxjgDG ) claiming there is a "Giveaway" of 1,000,000 SOL....
0 votes
1 answer
41 views
Best way to check if provider is supported & user switches wallets
Right now all I'm doing is: const isProviderInjected = window.backpack ?? window.solana; and polling for the wallet address every second . Are there any magic library methods exposed anywhere that I'm ...
1 vote
0 answers
67 views
Switchboard on demand randomness not fulfilling request
I am having troubles with getting oracle fulfillment on my test script and i am not sure why. I am able to commit randomness transaction on step 3 of unit test but i am not able to receive oracle ...
0 votes
0 answers
27 views
Verifying an NFT
How do you verify Solana NFTs Have several NFTs that sat “Not Verified” Is there a way to verify or find out why they are not verified? If it is not possible should the NFT be burned?
0 votes
1 answer
186 views
How Jupiter swap API `tokenLedgerInstruction` works
I tried to use Jupiter's swap API swap-instructions end point. Without useTokenLedger, I can construct the transaction and send/confirm successfully, but with useTokenLedger:true, and the assemble the ...
-2 votes
1 answer
71 views
If you could only join 3 Solana Discord servers in 2025, which ones would you pick? [closed]
I’ve been diving deeper into Solana development recently and have already joined a few great communities like 76 Devs, LamportDAO, and Solana Tech. The discussions and resources there have been super ...
0 votes
1 answer
61 views
a similar path exists: `crate::claim::__client_accounts_claim_struct`
I am trying to build my anchor project, set imports, solve all errors except this one error[E0432]: unresolved import `crate` --> programs/token_launchpad/src/lib.rs:20:1 | 20 | #[program] | ^^^^^^^...
0 votes
2 answers
42 views
Error with "custom attribute panicked", becouse of 'message: Safety checks failed:'
error: custom attribute panicked --> programs/token_launchpad/src/lib.rs:16:1 | 16 | #[program] | ^^^^^^^^^^ | = help: message: Safety checks failed: /mnt/c/Users/...
1 vote
1 answer
70 views
Tx sending succeeds with "Expected the value to satisfy a union of `type | type`, but received: [object Object]" [closed]
We use a paid ironforge endpoint that goes to a paid Triton with QuickNode as a fallback. We also route some high priority txes to Nozomi. Occasionally, when we send a tx, we get the following error. ...
0 votes
1 answer
42 views
getLeaderSchedule issues
I am using @solana/web3.js Trying to get slots a validator had last epoch (830). The code is giving me slots for current epoch. const schedule = await this.connection.getLeaderSchedule(epochFirstSlot, ...