Quantcast
Channel: Recent Questions - Solana Stack Exchange
Browsing all 7855 articles
Browse latest View live
↧

BTreeMap on Anchor ^0.29.0 stopped working?

Before anchor 0.29.0, BTreeMaps where working correctly in my programs, but now that I'm moving to ^0.29.0 I'm getting the following errors for every BTreeMap when I'm building my program.no associated...

View Article


I want to know how should I send the VesionedTransaction to the user for...

export async function sendWcVerTransaction( signClient: Client, session: any, transaction: VersionedTransaction) { const message = transaction.message; const addressTableLookups =...

View Article


Money stuck, wallet wont sign tx or allow me to get keys

I just opened a new wallet using phantom. Depositing some money to buy a coin, went on raydium, error. tried on jup, error. when i realized it wasnt allowing any transactions to go through citing...

View Article

Image may be NSFW.
Clik here to view.

Why the Phantom wallet does not being recognised trying connnect to the dapps...

I'm encountering an issue when attempting to connect the Phantom wallet from my Chrome Browser in the laptop. The problem is that when someone clicks on "Connect Wallet," the Phantom wallet popup open...

View Article

Error: Property 'all' does not exist on type 'ticket' account in Anchor program

I'm working on a Solana program using Anchor ("^0.30.1") and encountered an error while trying to fetch accounts with the all method. I want to retrieve all tickets for a specific lotteryId and filter...

View Article


todo.js:250 Error marking todo: SendTransactionError: Simulation failed

todo.js:250 Error marking todo: SendTransactionError: Simulation failed. Error marking todo: SendTransactionError: Simulation failed. Message: Transaction simulation failed: Error processing...

View Article

Stream/retrieve *all* native SOL *transfers* above a certain value

I'm trying to stream (or alternatively, repeatedly historically obtain over a short period of time) all native SOL transfers from a single sender wallet to a single receiver wallet. That is to say, I...

View Article

How can we know which pools is a token at?

I need to know if a token is at raydium, meteora, pumpFun etc ...I know we have the updateAuthority that tell us where was the token created, but when a token is created at pumpFun and moved to raydium...

View Article


how to solve this error

{"success": false,"message": "NFT transfer failed.","error": "Signature tnpzxNCD48py66wBQuZJbeqNq5uwe7EcoSx8fxZSbBpf2QMu6CD8C3w3XSvaBLoKJXnDUZ3nGPK8eAwT9rtM1Em has expired: block height exceeded."}

View Article


IDL.json for Voting

Is there an idl.json file for voting? The purpose would be to compile instructions in languages like Golang to do staking and set up voting accounts.

View Article

Where in Solana's codebase are new Geyser transactions notified?

I'm trying to understand the part of Solana's codebase where new transactions for Geyser are notified.I've observed functions in GeyserService like transaction_update_receiver that seem to handle the...

View Article

How to generate a 100 HD wallets, what the proper derivation path would be?

I'm using solana/web3.jsThis derivation phrase is used by TrustWalletm/44'/501'/0'How would I generate a 100 wallets? One would have thought I could add a counter to...

View Article

TypeScript error in ResolvedAccounts for Anchor program

So I've written a small program that builds and deploys correctly. The initialize function also works.But now I'm trying to create a Lottery, and TypeScript keeps repeating type error; the error...

View Article


solana program deploy error

An error message is reported when the following command is used to deploy the program on the devnet network:solana program deploy ./target/deploy/study.soError message:thread 'main' panicked at...

View Article

How to listen and decode all buy raydium swaps

As the title suggests the goal is to listen to all Raydium swaps that happen live, preferably via websockets and be able to decode meaningful info. I have a code snippet that to my understanding does...

View Article


dApp simulate transaction

I have a script which basically does an dapp interaction via the dApp sdk.now the script works, no problem at all, however im trying to simulate the transaction now, (so basically not sending it) and...

View Article

How to verify a token on solana

I've a client who is asking me to verify his token on solana what is said is "Token verification is simply going to register the token with the Solana ecosystem so it shows up as a verified token when...

View Article


A seeds constraint was violated. Can't find matched PDAs

Currently find issue when find PDAs for this code, basically i am using the the 1. static string "version" 2. publickey of PDA of case 3. the latest_version_id of case as elements of seeds to generate....

View Article

Program upgrade "breaks" the other programs calling it

Given the max_invoke_stack_height limiting the maximum number of CPIs to just 4 and the A->B->C->D chain of nested CPIs, what if the implementation of the instruction D changes (via a bytecode...

View Article

Why are just 4 nested CPIs allowed?

What is the motivation behind limiting the maximum number of nested CPIs (max_invoke_stack_height) to just 4?

View Article
Browsing all 7855 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>